Terkunci Please help - installation error!

  • 18 Mei 2005 10:26
     
     
    Hi,

    I've been trying to install TFS since last week without succeed. I've followed all the guides and requirements such as excluding reports IIS, creating user accounts, but still receive the error below.

    D:\Program Files\Microsoft Visual Studio 2005 Enterprise Server\BISIISDIR\sdk\bin\BisSubscribe.exe" /eventType ArtifactChangedEvent /userid ISTEAMSERVER\TFSService /deliveryType Soap /Address http://ISOFT-TESTER:8080/Currituck/BisService.asmx

    The error is: Unable to connect to  BIS Service.

    Any help would be appreciated.

    Please note that the TFSService account have been added to Administrators and Domain Admins group as required. I've also make sure that the BisService.asmx is accessible by running it in browser.

    Regards,
    James.

Semua Balasan

  • 18 Mei 2005 18:28
     
     
    Can you verify :8080/bisserver/registration.asmx">http://<machinename>:8080/bisserver/registration.asmx and that it returns data via the Invoke method?
  • 19 Mei 2005 0:11
     
     
    Try to run the command from a dos box (as I still like to call them). That usually gives you more errors and hints as to what the problem may be.

    If you are running SQL under a non-system user account, try to grant the dbo.owner role to that user in the BisDB, and the BisDWDB databases.
  • 19 Mei 2005 5:42
     
     

    Hi, thanks for your suggestion. I've tried it in the first place, and the error returned from the command line is "Unable to connect to BIS Service".

    Do you know how we can verify or manually connect the BIS Service?

    FYI, I got this information from event log, wish this helpful:

    Microsoft.VisualStudio.ELead.Common.Exceptions.ELeadException: Unable to connect to BIS service. ---> System.Security.SecurityException: You don't have sufficient permissions to perform this operation. For further information contact the Team Foundation Server administrator.

    at Microsoft.VisualStudio.Bis.Proxy.BisRegistrationProxy.GetRegistrationEntries(String toolId)

    at Microsoft.VisualStudio.Bis.Proxy.BisRegistrationService.RefreshCacheIfNeeded(Boolean direct)

    The Zone of the assembly that failed was:

    MyComputer

    --- End of inner exception stack trace ---

    at Microsoft.VisualStudio.Bis.Proxy.BisRegistrationService.RefreshCacheIfNeeded(Boolean direct)

    at Microsoft.VisualStudio.Bis.Proxy.BisRegistrationService.GetRegistrationEntries(String toolId)

    at Microsoft.VisualStudio.Bis.Server.Scheduler.TaskScheduler.LazyInit()

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



    Regards,
    James.

  • 19 Mei 2005 5:46
     
     
     Bruce Taimana MSFT wrote:
    Can you verify :8080/bisserver/registration.asmx">http://<machinename>:8080/bisserver/registration.asmx and that it returns data via the Invoke method?


    Yes, it is working fine. I tested with browser and here is the output:

    BisRegistrationService


    The following operations are supported. For a formal definition, please review the Service Description.

    Do you have any ideas on the error "Unable to connect to BIS Service"?

    Many thanks for the help.

    Regards,
    James.
  • 20 Mei 2005 18:09
     
     
    It seems that via the web browser you can access the site.  It shouldn't be any different from the command line.

    However, since you got an access denied here are the possibilites:
    1. The user you are running the cmd doesn't have rights
    2. Enhanced Security is requiring that it requires authentication and you had to type your name in the browser
    3. Your machine isn't in the "Local Intranet" site with "Use current user name and password" enabled.

    Can you try to use the same user as the cmd prompt, and if you are prompted for a username/password, try to set the IE settings.
  • 24 Mei 2005 14:08
     
     

    Bruce,

    I had the same error than James :

    At 99% of VSTF Single Server install a messagebox appears :

    ---------------------------
    Visual Studio 2005 Team Foundation App-Data Tier Beta 2 Setup
    ---------------------------
    Error 32000.The Commandline '"C:\Program Files\Microsoft Visual Studio 2005 Enterprise Server\BISIISDIR\sdk\bin\Bisregedit.exe" "http://TEAM-SYSTEM:8080/SCC/public/application/ServiceDefinition.aspx" TEAM-SYSTEM BisDB' returned non-zero value: 1.

    I clicked "Retry", and after a long time a new messagebox appears :

    ---------------------------
    Visual Studio 2005 Team Foundation App-Data Tier Beta 2 Setup
    ---------------------------
    Error 32000.The Commandline '"C:\Program Files\Microsoft Visual Studio 2005 Enterprise Server\BISIISDIR\sdk\bin\BisSubscribe.exe" /eventType ArtifactChangedEvent /userid TEAMSYSTEM\TFSSERVICE /deliveryType Soap /Address http://TEAM-SYSTEM:8080/Currituck/BisService.asmx' returned non-zero value: 1.

    I tried it manually in a cmd prompt and it said "Unable to connect BIS Service". In the Event Log of my Windows I got this error :

    Microsoft.VisualStudio.ELead.Common.Exceptions.ELeadException: Unable to connect to BIS service. ---> System.Security.SecurityException: You don't have sufficient permissions to perform this operation. For further information contact the Team Foundation Server administrator.
       at Microsoft.VisualStudio.Bis.Proxy.BisRegistrationProxy.GetRegistrationEntries(String toolId)
       at Microsoft.VisualStudio.Bis.Proxy.BisRegistrationService.RefreshCacheIfNeeded(Boolean direct)
    The Zone of the assembly that failed was:
    MyComputer
       --- End of inner exception stack trace ---
       at Microsoft.VisualStudio.Bis.Proxy.BisRegistrationService.RefreshCacheIfNeeded(Boolean direct)
       at Microsoft.VisualStudio.Bis.Proxy.BisRegistrationService.GetRegistrationEntries(String toolId)
       at Microsoft.VisualStudio.Bis.Server.Scheduler.TaskScheduler.LazyInit()

    Pour plus d'informations, consultez le centre Aide et support  l'adresse http://go.microsoft.com/fwlink/events.asp.

    Noticed that I was logged in with Domain\TFSSETUP user account registered in the Domain with Administrator rights and the Domain\TFSSERVICE account is in the administrator groups too.

    I tried to access URL of Webservice manually in IE and it works as soon I type the login / pass of TFSSERVICE or TFSSETUP account.

    I use a french version of Windows 2003 and I followed the Team Foundation Installation Guide precisely.

    Have you more information about this error because I lost a lot of time to find a solution and it didn't work for now.

    Thanks

  • 26 Mei 2005 14:23
    Moderator
     
     Jawab
    From the error in the event log, it looks like the user that is running the DOS box does not have access to the system.  If you have to type in a username/password in when you access the web services from a browser, you might need to change the user you are running as.  The best way to do this for the DOS box is to right click on the shortcut that starts the DOS box, and select the run as command.  Then enter the correct username and password.

    There are two ways that you can get more information about what is going on.  They are controlled from the web.config file that the web services use.  In the file, there are instructions for setting the log level, and tracing level.  In this file you can turn on "APPLICATION-LEVEL TRACE LOGGING" and "WEB METHOD LOGGING".  I think that "WEB METHOD LOGGING" will be more helpful.  This records information about every web service request in the application database.  By setting this tracing to "Normal", rows will be added to the HatterasAdmin database.  Since I have the latest version built from sources on my machine, I am not sure of the exact names that where used in Beta 2.  If you have trouble finding things, let me know, and I will dig up a Beta 2 install.

    --Matt Hoover (VSTF)
    Software Design Engineer
  • 27 Mei 2005 7:38
     
     
    Hi, I have the same problem. I have followed the instructions to the point and have read all the posts in this and other related threads over and over and tried all plausible solutions.


    My setup:

    1. One virtual machine running og Virtual Server with 1 3Ghz proc dedicated and 3 GB of ram allocated.
    2. Domainserver w/SP1, SQL 2005 APRIL CTP, Sharepoint services 2.0 SP1

    If any of you have found a solution to this, I would be *very* happy to know!
    (I've preveously installed it successfully with almost no problems on other machines).

    Best regards,

    Jan-Erik Sandberg
    ASP MVP,MCT, MCSD.NET & VB6.0
  • 01 Juni 2005 9:55
     
     

    Matthew,

    What's the HatterasAdmin database you talked about ?
    I just configure my web.config of the currituck WS as this :

    <?xml version="1.0" encoding="UTF-8" ?>

    <configuration>
      <system.diagnostics>
        <switches>
          <!--
                0 = off
                1 = error
                2 = warning (+error)
                3 = info    (+warning, error)
                4 = verbose (+info, warning, error)
                -->
          <add name="traceLevel" value="4" />   
        </switches>
        <!--To enable tracing to a file, un-comment the trace entry below -->
        <trace autoflush="true" indentsize="4">
          <listeners>
            <add name="myListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="C:\Inetpub\trace.log" />
          </listeners>
        </trace>
      </system.diagnostics>
      <system.net>
        <defaultProxy>
          <proxy usesystemdefault = "false"
     bypassonlocal = "true"/>
        </defaultProxy>
      </system.net>
      <appSettings>
        <!-- BisDomainUrl, this allows to find the bis web server address -->
        <add key="BisDomainUrl" value="http://TEAM-SYSTEM:8080" />
        <!-- TFS Name, this allows us to find the BIS location from the registry -->
        <add key="TFS Name" value="" />
        <!-- Turn BIS WorkItem changed events on(true) or off(false) -->
        <add key="WorkItemChangedEvent" value="true" />

        <!--  WEB METHOD LOGGING
              Specify whether web methods are to be logged always, never, or only
              when errors occurs. By default, web methods are never logged. Valid
                  values are:
                  None (web methods are never logged)
                  Normal (log everything, except certain high-frequency web methods)
                  All (log everything, even certain high-frequency web methods)
                  OnError (only log web methods that have errors)

                  Values specified here take precedence over values set administratively via
                  web method.
        -->
        <add key="commandLogging" value="Normal" />

      </appSettings>
      <system.web>
        <authentication mode="Windows" />
        <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
        <httpHandlers>
          <add verb="POST" path="AttachFileHandler.ashx"
             type="Microsoft.VisualStudio.Currituck.Server.DataServices.AttachmentUploadHandler, Microsoft.VisualStudio.Currituck.Server.DataServices" />
          <add verb="GET" path="AttachFileHandler.ashx"
                   type="Microsoft.VisualStudio.Currituck.Server.DataServices.AttachmentDownloadHandler, Microsoft.VisualStudio.Currituck.Server.DataServices" />
            </httpHandlers>
            <httpRuntime executionTimeout="2000"/>
        </system.web>
    </configuration>


    But I have no logs on eventlog and no trace file in c:\Inetpub ?

    Can you help me ?

    Best regards

  • 08 Juni 2005 22:49
     
     
    You may need to give the log file path as the same directory as currituck binaries.