Program against VSS2005 db from AS.NET page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Moistly

    Program against VSS2005 db from AS.NET page

    Hi All,

    I am wanting to automate adding files to VSS from an ASP.NET page,
    without any luck.

    I have tried SourceSafeTypeL ib dll with no luck.

    I have managed to created a VssWebService on a local development
    server, which I can view in a browser http://myWebsite/vssservice.asmx.
    I have also added the service as a Web Reference to a Visual Studio
    2005 Project OK.

    But I am having trouble using this service this is part of the code I
    am using

    Dim ci As New ConnectionInfo
    ci.Username = "xxxxx"
    ci.Password = ""
    Dim Vss As New VssWebService
    Dim err As New ErrorInfo
    Vss.CreateFolde r(ci, "test", ItemInfoRequest .All, err)

    I keep getting the same error no matter what I try

    System.Web.Serv ices.Protocols. SoapException: Server was unable to
    process request. ---System.NullRefe renceException: Object reference
    not set to an instance of an object.
    at
    Microsoft.Visua lSourceSafe.Rem oteAccess.VssWe bService.Argume ntChecker.Verif y(ConnectionInf o
    ci)
    at
    Microsoft.Visua lSourceSafe.Rem oteAccess.VssWe bService.Enumer ateItems(Connec tionInfo
    ci, EnumerateItemsR equest[] enumItemsReques ts, ErrorInfo& err)

    Has anybody got any ideas/ hints or tips

    Thanks in advance

Working...