, , , ,

I ran into an ‘File Not Found ‘ error when clicking on a risk or issue in Sharepoint Project 2010 workspace.

On investigation in the ULS logs, the actual error is:

System.IO.FileNotFoundException: The Web application at http://servername:99000/pwa could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.

When project workspaces are restored from a different machine it is necessary to repoint them at the new PWA instance under the covers. (in our case we migrated from Dev to prod). Fixing the problem is relatively easy thanks to Project Server’s Bulk Update Project Sites.

To run the Bulk Update Project Sites tool, navigate to Server Settings > Bulk Update Project Sites.  Once in the screen select Previous Site Path (this should be populated with all the relevant options), in our case http://servername:port#/ and http://servername:port#. Enter the site URL, in our case PWA (not there is no proceeding /, this is added automatically. Then in the new site path, choose the relevant web application (Alternale Access Mapping), in our case http://AAM_Name and the site path, PWA.

Bulk update Project sites

The really important option is the Update Content Types section that says:

“When migrating content to a farm that did not contain Project Server, the content types of Project Issues, Risks, and Documents may be altered such that item links are broken. If you notice that item links are broken after migration, you should update content types.”

This is what is causing our error, so it’s important it is checked. Once this is all done, click update

Finally, all that is required is to test the risk or issue list again… The image above (from google search) is for illustration purposes only, make sure that right web applications are selected and correct sit paths are mentioned. we had to use our new AAM path as new site.

Please let me know, if it helped you.