Program against VSS2005 db from AS.NET page

M

Moistly

Hi All,

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

I have tried SourceSafeTypeLib 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.CreateFolder(ci, "test", ItemInfoRequest.All, err)

I keep getting the same error no matter what I try

System.Web.Services.Protocols.SoapException: Server was unable to
process request. ---> System.NullReferenceException: Object reference
not set to an instance of an object.
at
Microsoft.VisualSourceSafe.RemoteAccess.VssWebService.ArgumentChecker.Verify(ConnectionInfo
ci)
at
Microsoft.VisualSourceSafe.RemoteAccess.VssWebService.EnumerateItems(ConnectionInfo
ci, EnumerateItemsRequest[] enumItemsRequests, ErrorInfo& err)

Has anybody got any ideas/ hints or tips

Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top