p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Classic ASP Professional (http://p2p.wrox.com/forumdisplay.php?f=63)
-   -   crystal report 10 (http://p2p.wrox.com/showthread.php?t=36186)

santwan December 16th, 2005 05:58 AM

crystal report 10
 
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





All times are GMT -4. The time now is 01:00 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.