Hi all.
I am having problem with my ASP code.
I couldnt figure out why the error occur since I am new in web programming.
Can u help me fix this prob?
Why the error occur?
The error is like below:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'USER-LZA0CD0651\IUSR_USER-LZA0CD0651'.
/rekod/frekod.asp, line 137
Below is the portion of my code.
VB Code:
Dim rsrekod Dim rsrekod_numRows Set rsrekod = Server.CreateObject("ADODB.Recordset") rsrekod.ActiveConnection = MM_cuba_STRING 'line 137 rsrekod.Source = "SELECT * FROM dbo.trekod WHERE nokp = '" + Replace(rsrekod__MMColParam, "'", "''") + "'" rsrekod.CursorType = 0 rsrekod.CursorLocation = 2 rsrekod.LockType = 1 rsrekod.Open() rsrekod_numRows = 0
Thanks in advance.




Reply With Quote