Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VSS object in ASP

1 view
Skip to first unread message

cwa...@my-deja.com

unread,
Oct 3, 2000, 3:00:00 AM10/3/00
to
I am trying to use the VSS object in an ASP file and I get the following
error when I try to open the VSS database
"Out of Memory"

I made a very simple page

<%
dim ssdb

set ssdb = server.CreateObject("SourceSafe")

ssdb.Open "D:\VSS\SrcSafe.ini","cwarren",""


%>

I made a VB app with the exact same code and it works fine on the same
machine.


Private Sub Form_Load()
Dim ssdb As New SourceSafeTypeLib.VSSDatabase
On Error GoTo ErrExit

ssdb.Open "d:\vss\srcsafe.ini", "cwarren", ""

ErrExit:

If Err Then
MsgBox "Error " & Err.Description
End
Else
MsgBox "No error"
End If
End Sub

I've used this VSS object before and it worked fine in ASP. We just
moved to Win2000 and IIS 5.0 that is really the only difference that I
can tell. Anybody have any ideas? Thanks in advance

Craig Warren
cwa...@horsepower.com
www.horsepower.com


Sent via Deja.com http://www.deja.com/
Before you buy.

0 new messages