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:
  1. Dim rsrekod
  2. Dim rsrekod_numRows
  3.  
  4. Set rsrekod = Server.CreateObject("ADODB.Recordset")
  5. rsrekod.ActiveConnection = MM_cuba_STRING  'line 137
  6. rsrekod.Source = "SELECT * FROM dbo.trekod WHERE nokp = '" + Replace(rsrekod__MMColParam, "'", "''") + "'"
  7. rsrekod.CursorType = 0
  8. rsrekod.CursorLocation = 2
  9. rsrekod.LockType = 1
  10. rsrekod.Open()
  11.  
  12. rsrekod_numRows = 0

Thanks in advance.