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
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