Wrox Programmer Forums
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 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, 03:18 AM
Registered User
 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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







Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Call Crystal report 10.0.0.533 in ASP murtu123 Classic ASP Professional 0 June 22nd, 2007 07:39 AM
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
Crystal Report ver.10 with ASP.NET alrazapk@gmail.com Classic ASP Basics 0 November 6th, 2004 01:32 AM
ASP & Crystal Report 10 samik_tanik Classic ASP Basics 1 August 20th, 2004 12:27 AM





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