B
BradleyWard
I am using Project Server 2007 on a Windows Server 2003 system.
I am doing the following sequence using PSI:
1. LoginWindows.Login()
2. Calendar.ListCalendars()
3. LoginWindows.Logoff()
The LoginWindows.Login() works fine.
But when I call the Calendar.ListCalendars() method the exception shown
below is thrown. The error message in that exception is pretty worthless, but
I have noticed the following error in the Application log in the Windows
Event Viewer on the server where Project Server 2007 runs: PSI Auth: SiteId
63304633-2ebd-4fa9-8900-b822e313e12e was not found in the
ProjectSiteCollection for this SSP.
I've googled this for a couple of hours but not found anything yet.
Help!
Thanks,
Brad
Here is the exception:
System.Net.WebException : The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a
href="http://tpslcpmdev:88/_layouts/1033/...quest failed with HTTP status 404: Not Found.">here</a>.</h2>
</body></html>
--.
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at ProjectCalendar.ProjectServer2007.Calendar.Calendar.ListCalendars() in
C:\Amtrak\Source\Sandbox\ProjectCalendar\Web
References\ProjectServer2007.Calendar\Reference.cs:line 231
at ProjectCalendar.ProjectServerAPI.DumpCalendar() in
C:\Amtrak\Source\Sandbox\ProjectCalendar\ProjectServerAPI.cs:line 69
at ProjectCalendar.ProjectServerAPI.Execute() in
C:\Amtrak\Source\Sandbox\ProjectCalendar\ProjectServerAPI.cs:linA first
chance exception of type 'System.Net.WebException' occurred in
System.Web.Services.dll
e 29
at ProjectCalendar.frmMain.buttonExecute_Click(Object sender, EventArgs
e) in C:\Amtrak\Source\Sandbox\ProjectCalendar\frmMain.cs:line 27
I am doing the following sequence using PSI:
1. LoginWindows.Login()
2. Calendar.ListCalendars()
3. LoginWindows.Logoff()
The LoginWindows.Login() works fine.
But when I call the Calendar.ListCalendars() method the exception shown
below is thrown. The error message in that exception is pretty worthless, but
I have noticed the following error in the Application log in the Windows
Event Viewer on the server where Project Server 2007 runs: PSI Auth: SiteId
63304633-2ebd-4fa9-8900-b822e313e12e was not found in the
ProjectSiteCollection for this SSP.
I've googled this for a couple of hours but not found anything yet.
Help!
Thanks,
Brad
Here is the exception:
System.Net.WebException : The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a
href="http://tpslcpmdev:88/_layouts/1033/...quest failed with HTTP status 404: Not Found.">here</a>.</h2>
</body></html>
--.
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at ProjectCalendar.ProjectServer2007.Calendar.Calendar.ListCalendars() in
C:\Amtrak\Source\Sandbox\ProjectCalendar\Web
References\ProjectServer2007.Calendar\Reference.cs:line 231
at ProjectCalendar.ProjectServerAPI.DumpCalendar() in
C:\Amtrak\Source\Sandbox\ProjectCalendar\ProjectServerAPI.cs:line 69
at ProjectCalendar.ProjectServerAPI.Execute() in
C:\Amtrak\Source\Sandbox\ProjectCalendar\ProjectServerAPI.cs:linA first
chance exception of type 'System.Net.WebException' occurred in
System.Web.Services.dll
e 29
at ProjectCalendar.frmMain.buttonExecute_Click(Object sender, EventArgs
e) in C:\Amtrak\Source\Sandbox\ProjectCalendar\frmMain.cs:line 27