call crystal 10 thru ASP
when i run the sample code eg. Begin Here , it works fine.
No sooner i replace the default report with my report it throws an error:
Error Occurred Reading Records: Logon failed. Details: 28000:[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'UTIB-ELGQLD74Y3\IUSR_UTIB-ELGQLD74Y3'
i am using crystal 10, sql server 2000 and asp code
on running the rpt without code it works fine...but if i put it in the asp code it throws the above mentioned error.
i have connected by report thru odbc with NT authentication..
line where error occurs is
If Err.Number <> 0 Then
***(error is here) Response.Write "Error Occurred Reading Records: " & Err.Description
Set Session("oRpt") = nothing
Set Session("oApp") = nothing
Session.Abandon
Response.End
Else
If IsObject(session("oPageEngine")) Then
set session("oPageEngine") = nothing
End If
set session("oPageEngine") = session("oRpt").PageEngine
End If
|