Microsoft Knowledge Base Email Alertz

In Project Server 2007, you cannot access a Web page from Project Web Access

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 947899 - Last Review: May 24, 2012 - Revision: 7.0

In Project Server 2007, you cannot access a webpage from Project Web Access

SYMPTOMS

In Microsoft Office Project Server 2007, you may experience one or more of the following symptoms when you try to access a webpage from Microsoft Office Project Web Access:
  • When you try to view the "Project Center" page, you receive an error message that resembles the following:
    Project Center cannot access the project(s) you are trying to view. It is most likely that you either don’t have the permissions to view the project, another user has deleted this project(s) before you were able to view it or that another user is in the process of publishing the project
  • When you try to view the "Resource Center" page, you receive an error message that resembles the following:
    There was an error loading the page. Please try again by clicking Refresh. If this problem persists, contact your administrator.
  • When you select a user on the "Manage Users" page, you receive an error message that resembles the following:
    An error was encountered in loading the page. Refresh the page, or contact your server administrator if this problem persists.
  • When you try to view an "Edit Custom Field" page, you receive an error message that resembles the following:
    The custom field could not be saved due to the following reason(s):

    An unknown error has occurred

CAUSE

This problem can occur if the following conditions are true:
  • Internet Information Services (IIS) 6.0 or 7.0 is configured to compress application files.
  • The .aspx and .asmx file types are included in the IIS server-wide dynamic compression configuration.

WORKAROUND

To work around this issue, remove the .aspx and .asmx file types from the IIS server-wide dynamic compression configuration.

To do this, follow these steps for IIS 6.0:
  1. Determine which file types are included in the IIS server-wide dynamic compression configuration. To do this, follow these steps:
    1. Click Start, click Run, type cmd, and then click OK.
    2. At the command prompt, type the following command, and then press ENTER:
      cd Drive:\Inetpub\Adminscripts
      Note Drive represents the letter of the drive on which IIS is installed.
    3. At the command prompt, type the following command, and then press ENTER:
      cscript adsutil.vbs get w3svc\Filters\Compression\Deflate\HcScriptFileExtensions
    4. Note the file types that are returned.
    5. At the command prompt, type the following command, and then press ENTER:
      cscript adsutil.vbs get w3svc\Filters\Compression\gzip\HcScriptFileExtensions
    6. Note the file types that are returned.
  2. Remove the .aspx and .asmx file types from the IIS server-wide dynamic compression configuration. To do this, follow these steps:
    1. Click Start, click Run, type cmd, and then click OK.
    2. At the command prompt, type the following command, and then press ENTER:
      cd Drive:\Inetpub\Adminscripts
      Note Drive represents the letter of the drive on which IIS is installed.
    3. At the command prompt, type the following command, and then press ENTER:
      cscript adsutil.vbs set w3svc\Filters\Compression\Deflate\HcScriptFileExtensions "filetype1" "filetype2"
      Note In this command, "filetype1" and "filetype2" are the file types that you want to compress. To remove the .aspx and .asmx file types from the IIS compression configuration, do not include these file types when you run this command.
    4. At the command prompt, type the following command, and then press ENTER:
      cscript adsutil.vbs set w3svc\Filters\Compression\gzip\HcScriptFileExtensions "filetype1" "filetype2"
      Note In this command, "filetype1" and "filetype2" are the file types that you want to compress, To remove the .aspx and .asmx file types from the IIS compression configuration, do not include these file types when you run this command.
  3. At a command prompt, type iisreset /restart.

To do this, follow these steps for IIS 7.0:

  1. Log on to the Project Server as an administrator.
  2. Click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager. 
  3. Single left-click the host name of the project server on the Connections page on the left side.
  4. In the center of the IIS Manager console, double-click the Compression icon.
  5. Click to clear the Enable dynamic content compression and Enable static content compression check boxes.
  6. On the far right side of the IIS Manager console, click Apply.
  7. Click Start, click Run, type cmd, and then click OK.
  8. Type IISRESET.
  9. Verify that the compression is disabled at the IIS site level. To do this, follow these steps:
    1. In the IIS Manager console, expand the node that contains the server host name, and then expand Sites. 
    2. Single left-click the IIS website that is hosting your PWA site. (This is usually the port 80 web application.) 
    3. Double-click the Compression icon in the center of the IIS Manager console.
    4. Click to clear the Enable dynamic content compression and Enable static content compression check boxes. 
    5. On the far right side of the IIS Manager console, click Apply. 
    6. Click Start, click Run, type cmd, and then click OK. 
    7. Type IISRESET.

MORE INFORMATION

For more information about IIS, go to the following Microsoft website:
http://www.iis.net/ (http://www.iis.net/)
For more information about how to enable and customize compression in IIS, go to the following Microsoft website:
http://technet2.microsoft.com/windowsserver/en/library/dde52be3-a66b-4770-80e3-9ff3c2de52f21033.mspx?mfr=true (http://technet2.microsoft.com/windowsserver/en/library/dde52be3-a66b-4770-80e3-9ff3c2de52f21033.mspx?mfr=true)

APPLIES TO
  • Microsoft Office Project Server 2007
Keywords: 
kbtshoot kbprb KB947899
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate