Problem with SharePoint when creating a project in TFS beta3

Hi,

After installation of TFS beta3 and Sharepoint 2.0SP1 I have problems with accessing Sharepoint. During installation there were no problems, as I have reinstalled twice, I especially looked at the sharepoint part. At the end of sharepoint installation the "Configure Administrative..." opens at it should.

After installation of TFS, I try to access the Sharepoint Central Administration from Administrative tools. I'm logged in as TFSSETUP (with administrator privileges). I get a log in window where I write TFSSETUP as user and password. I get the same log in window three times. Then the following appear:

Server Error in '/' Application.


Answer this question

Problem with SharePoint when creating a project in TFS beta3

  • PAF7

    Hi Elisabet,

    I solved it by adding the the TFSSERVICE to the builtin administrators group nevertheless. I noticed that this was a change between Beta 2 and 3. This probably wasn't tested thouroughly.
    From a security point of view it is not advisable, but at least you'll be able to install it TFS. You could also start tweaking by giving this account more rights on the underlaying directories of SharePoint I guess.  

    Regards,
    Edward


  • Murthy Raju

    Thanks, adding TFSSERVICE to the administrators group solved the problem.
    I can create a project and manage my users both in Sharepoint and SQL.

    /Elisabet

  • ANied

    This is not by design and we are still working out the interaction between TFS and sharepoint.

    We are aware of the issue and will have it fixed for RTM.

    Thanks

  • Chipala

    I have tried to edit the web.config in the sharepoint root (central administration, setting customErrors mode="Off" ). Then I see the following errors instead of the Runtime error above.

    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\5176d6e1\5db67314\hash.web" is denied.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.UnauthorizedAccessException: Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\5176d6e1\5db67314\hash.web" is denied.

    ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

    To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

    Stack Trace:


    [UnauthorizedAccessException: Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\5176d6e1\5db67314\hash.web" is denied.]
       System.IO.__Error.WinIOError(Int32 errorCode, String str) +393
       System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) +888
       System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) +44
       System.IO.StreamWriter.CreateFile(String path, Boolean append) +55
       System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) +49
       System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding) +20
       System.Web.Compilation.PreservedAssemblyEntry.WritePreservedSpecialFilesCombinedHash(Int64 hash) +165
       System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext context) +851
       System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext context) +98
       System.Web.HttpRuntime.PreloadAssembliesFromBin(HttpContext context) +153
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +454

    [HttpException (0x80004005): ASP.NET Initialization Error]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +945
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128

     


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300


  • Problem with SharePoint when creating a project in TFS beta3