URGENT Installation Issue

Jan 21, 2009 at 10:43 AM
Hi all,

We got such a problem installing the connector. Apparently the installation progress run ok but when I tried to browse to the default connector site I just got this message: "This operation could not be successfully performed. Please contact the administrator and refer to HandlingInstanceID: 7af2e888-eb3c-4589-a5a0-23a3b6678831 "

If I take a look of the event viewer, I noticed some messages like this:

"

Event Type: Error
Event Source: Enterprise Library Logging
Event Category: None
Event ID: 100
Date:  21/01/2009
Time:  12:34:05
User:  N/A
Computer: DESCASTFS01
Description:
Timestamp: 21/01/2009 11:34:05
Message: HandlingInstanceID: bf116b6b-edf3-4397-b404-43b36744a594
An exception of type 'System.Web.HttpException' occurred and was caught.
------------------------------------------------------------------------
01/21/2009 12:34:05
Type : System.Web.HttpException, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Message : Error executing child request for /Connector Web Site/Project_List.aspx.
Source : System.Web
Help link :
ErrorCode : -2147467259
Data : System.Collections.ListDictionaryInternal
TargetSite : Void ExecuteInternal(System.Web.IHttpHandler, System.IO.TextWriter, Boolean, Boolean, System.Web.VirtualPath, System.Web.VirtualPath, System.String, System.Exception, System.String)
Stack Trace :    at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
   at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)
   at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
   at System.Web.HttpServerUtility.Transfer(String path)
   at Microsoft.Vsts.Ranger.Connector.WebUI.Default.Page_Load(Object sender, EventArgs e)
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.default_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\connector web site\d764be1f\8b9fe472\App_Web_default.aspx.cdcab7d2.ck1gla6r.0.cs:line 0
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Additional Info:

MachineName : DESCASTFS01
TimeStamp : 21/01/2009 11:34:05
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
AppDomainName : /LM/W3SVC/1/Root/Connector Web Site-2-128770110221919131
ThreadIdentity : REALEDESARROLLO\des.setup
WindowsIdentity : REALEDESARROLLO\des.setup
 Inner Exception
 ---------------
 Type : System.Web.HttpUnhandledException, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 Message : Exception of type 'System.Web.HttpUnhandledException' was thrown.
 Source : System.Web
 Help link :
 ErrorCode : -2147467259
 Data : System.Collections.ListDictionaryInternal
 TargetSite : Boolean HandleError(System.Exception)
 Stack Trace :    at System.Web.UI.Page.HandleError(Exception e)
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest()
    at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
    at System.Web.UI.Page.ProcessRequest(HttpContext context)
    at ASP._project_list_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\connector web site\d764be1f\8b9fe472\App_Web_project_list.aspx.cdcab7d2.3xvflxlq.0.cs:line 0
    at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)

  Inner Exception
  ---------------
  Type : System.Reflection.TargetInvocationException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
  Message : Exception has been thrown by the target of an invocation.
  Source : mscorlib
  Help link :
  Data : System.Collections.ListDictionaryInternal
  TargetSite : System.Object _InvokeMethodFast(System.Object, System.Object[], System.SignatureStruct ByRef, System.Reflection.MethodAttributes, System.RuntimeTypeHandle)
  Stack Trace :    at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
     at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
     at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance)
     at System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments)
     at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
     at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
     at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
     at System.Web.UI.WebControls.GridView.DataBind()
     at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
     at System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
     at System.Web.UI.Control.EnsureChildControls()
     at System.Web.UI.Control.PreRenderRecursiveInternal()
     at System.Web.UI.Control.PreRenderRecursiveInternal()
     at System.Web.UI.Control.PreRenderRecursiveInternal()
     at System.Web.UI.Control.PreRenderRecursiveInternal()
     at System.Web.UI.Control.PreRenderRecursiveInternal()
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

   Inner Exception
   ---------------
   Type : System.Web.Services.Protocols.SoapException, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
   Message : Server was unable to process request. ---> That assembly does not allow partially trusted callers.
   Source : System.Web.Services
   Help link :
   Actor :
   Code : http://schemas.xmlsoap.org/soap/envelope/:Server
   Detail : System.Xml.XmlElement
   Lang :
   Node :
   Role :
   SubCode :
   Data : System.Collections.ListDictionaryInternal
   TargetSite : System.Object[] ReadResponse(System.Web.Services.Protocols.SoapClientMessage, System.Net.WebResponse, System.IO.Stream, Boolean)
   Stack Trace :    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 PS2007ProviderAdministration.GetPublishedPSProjects()
      at Microsoft.Vsts.Ranger.Connector.WebUI.BLL.ProjectsManager.GetDetailedProjectAssociations()

Category: General
Priority: 0
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: DESCASTFS01
Application Domain: /LM/W3SVC/1/Root/Connector Web Site-2-128770110221919131
Process Id: 3112
Process Name: c:\windows\system32\inetsrv\w3wp.exe
Win32 Thread Id: 3488
Thread Name:
Extended Properties: ASPIMPERSONATING -

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

"

I'd be very grateful with any clue to solve it.

Regards.
Feb 19, 2009 at 10:11 AM
 Dear Sir
            I have installed TFS server 2005 at one machine and I have MS Project Server 2007 another machine. Now I want to connect Project server with TFS. I got the one link (http://www.codeplex.com/pstfsconnector/Wiki/View.aspx?title=Setup%20Guide), here I got the VSTS connector for MS Project Server 2007 and TFS 2005 integration. TFS2005 software is working very well before this connectore installation. When I installed the connector by following the proper guideline which are present at given link. After complete installation, When I start the TFS Server and open the TFS Explorer then I got following error.

"TFS31001: Team Foundation cannot retrieve the list of team projects from Team Foundation Server ss01-cpu-118. The TEam Foundation Server returned the following error: The request failed with HTTP status 404:."

I was installing this connector on TFS Machine as per guideline which are given on website(http://www.codeplex.com/pstfsconnector/Wiki/View.aspx?title=Setup%20Guide). I was login with TFSSETUP on TFS machine. Although I have installed TFS server 2005 with this Login. While on installation I used the TFSSERVICE account for TFS installation.

Please if any one have any solution about this problem. Please let me know ASAP.


Thanks

Best Regards

Muhammad Waseem Alvi

May 25, 2009 at 2:32 PM

You have to change the trust level to Full for both" Connector Web Site" and "Connector Web Service"

I added this block of configuration in both web.config and it is working now.

    <securityPolicy>
      <trustLevel name="Full" policyFile="internal" />
      <trustLevel name="High" policyFile="web_hightrust.config" />
      <trustLevel name="Medium" policyFile="web_mediumtrust.config" />
      <trustLevel name="Low" policyFile="web_lowtrust.config" />
      <trustLevel name="Minimal" policyFile="web_minimaltrust.config"/>
    </securityPolicy>

    <trust level="Full" originUrl="" processRequestInApplicationTrust="true"/>