This blog focuses on customizations and programming for Project Web App, Project Server, Project Professional and Project Standard. Includes User Interface (UI) customizations, Project Server Interface (PSI) and Visual Basic for Applications (VBA) Programming. It also covers Business Intelligence.
Larry Duff will be conducting online Office Project Server 2007 Developer Training:
For more information, visit: www.msepmu.com
Even though Boris has moved on to another team in Microsoft, he still wanted me to share the following with you:
Microsoft Office Project Server 2007 is built on top of Windows SharePoint Services, so you might think you can develop AJAX Web Parts as you do in Windows SharePoint Services, right?
Unfortunately it’s not that easy. Actually the Web Part development process is the same, but you need to configure Project Server 2007 for AJAX support.
Here’s what you need to do:
You must configure the Project Web application and the Shared Services Provider Web Application to support calling Web services from script. In the Web.config file for the application, you must register the ScriptHandlerFactory HTTP handler, which processes calls made from script to .asmx Web services. For Web service calls that are not issued from ASP.NET AJAX script, the handler delegates the call to the default handler.
You need to add the following lines to the web.config located in:
[C:\Program Files]\Microsoft Office Servers\12.0\WebServices\root
<remove verb="*" path="*.asmx" />
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=188.8.131.52, Culture=neutral,PublicKeyToken=31bf3856ad364e35"/>
You also need to add the following line to the web.config of your project server installation which can be found here:
C:\Inetpub\wwwroot\wss\VirtualDirectories\[PSweb app directory]
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=184.108.40.206, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
After making those changes to the config files the client runtime is now enabled for AJAX and you can start building AJAX Web Parts.