Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 16th, 2005, 05:58 AM
Registered User
 
Join Date: Dec 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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







Similar Threads
Thread Thread Starter Forum Replies Last Post
About Crystal Report 10 Suhas VB How-To 2 April 9th, 2007 11:27 PM
ASP.NET Crystal Report 10.2 jayamohan4u ASP.NET 2.0 Basics 0 February 13th, 2007 07:20 AM
Call Crystal Report 10 in ASP koecrit Classic ASP Professional 1 January 24th, 2007 06:27 AM
VB6 with crystal report 10 pritz VB How-To 31 June 27th, 2006 06:23 AM
Crystal Report 10 Page Break Help mlutzow Crystal Reports 1 March 9th, 2006 10:31 AM





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