Exception when opening Connector Website

Jun 12, 2007 at 4:00 PM
Hi,
I successfully installed the VSTS Connector in a Dual-Server environment , but when I open the Connector Website (http://tfs/Connector Web Site/Project_List.aspx) I get an exception: http://img19.imageshack.us/my.php?image=error1wo7.jpg.

If I change in the web.config from the "Connector Web Site" from "<customErrors mode="On" defaultRedirect="~/Custom_Error.aspx">" into "<customErrors mode="Off">" I get the following page: http://img260.imageshack.us/my.php?image=error2fy8.jpg.

If i change "<compilation debug="true">" into "<compilation debug="false">" I get a plain-text message that says: "404 NOT FOUND".

When I take a look at the Application-EventLog I get the following entry:
Source: ASP.NET 2.0.50727.0
Category: Web Event
Type: Warning
---------------------------------------------------------------------------------------------------------------
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 6/12/2007 4:38:29 PM
Event time (UTC): 6/12/2007 2:38:29 PM
Event ID: 4e1b754d845d461d884b3a666527e20f
Event sequence: 1
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/Root/Connector Web Site-7-128261327072654327
Trust level: WSS_Minimal
Application Virtual Path: /Connector Web Site
Application Path: C:\Program Files\Microsoft Project Server 2007 Connector\Connector Web Site\
Machine name: TFS

Process information:
Process ID: 4940
Process name: w3wp.exe
Account name: SEDOMAIN\TFSSERVICE

Exception information:
Exception type: HttpException
Exception message: Debugging is not supported under current trust level settings.

Request information:
Request URL: http://tfs/Connector Web Site/Custom_Error.aspx?aspxerrorpath=/Connector Web Site/Project_List.aspx
Request path: /Connector Web Site/Custom_Error.aspx
User host address: 192.1.250.69
User:
Is authenticated: False
Authentication Type:
Thread account name: SEDOMAIN\TFSSERVICE

Thread information:
Thread ID: 1
Thread account name: SEDOMAIN\TFSSERVICE
Is impersonating: False
Stack trace: at System.Web.Compilation.BuildManager.ReportTopLevelCompilationException()
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)


Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
---------------------------------------------------------------------------------------------------------------

Serverconfiguration
Server 1: TFS
Running: SQL Server 2005 Express SP2 / MS Team Foundation Server 2005
Server 2: APPSRV01
Running: SQL Server 2005 Enterprise SP2 / MS Project Server 2007

PSTFS Connector Installation
Server 1: TFS
Microsoft Project Server 2007 Connector Server installation component config: http://img521.imageshack.us/my.php?image=tfsconnector1hk0.jpg
Microsoft Project Server 2007 Connector Team Foundation Server installation component config: http://img525.imageshack.us/my.php?image=tfsconnector3ko4.jpg

Server 2: APPSRV01
Microsoft Project Server 2007 Connector Project Server installation component config: http://img266.imageshack.us/my.php?image=tfsconnector2cb7.jpg

What is the problem?
Coordinator
Jun 12, 2007 at 4:53 PM
Hi Arris,
Thanks for the question. My first instinct tells me that you may be having issues because you installed the Connector Service and Site on port 80 instead of 8080 during a dual-server configuration. By default, you're going to want to install it in 8080 (the same port that the TFS Services run under) so that SharePoint doesn't try to deal with it first. You may be getting issues because SharePoint is intercepting your request and it is never really getting to the Connector at all.

If you cannot install under 8080, then you're probabaly going to need to go into the SharePoint administrator and configure it so that the Connector Site is excluded from the sites that SharePoint manages.

Can you check this out and let me know if it helps you at all?

Thanks,
Lenny
Jun 13, 2007 at 9:45 AM
Hi,
Thanks for your quick reply and the great solution! I changed the "Parent Website for Connector"-value from "Default Web Site" into "Team Foundation Server" and also the references to the "Project Connector Website" in the other installations. Then I opened the "TFS Connector Administration"-page (http://tfs:8080/Connector Web Site/Project_Details.aspx) and it works!

Thanks for the solution!!

Arris
Coordinator
Jun 13, 2007 at 2:10 PM
Glad this worked. Please do not hesitate to let me know if you run into any other issues.

Thanks,
Lenny
Mar 4, 2008 at 2:24 PM
I experienced this same issue and if you don't want to reinstall all of the components you can go to the Sharepoint Admin site and delete the virtual server that points to the Default Web Site. This will remove the sharepoint ISAPI filter and should get you up and running. At least, that's what it did for me :)
Feb 22, 2010 at 7:52 PM

This post took me one step closer to the connector installation. Thanks!