Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 13th, 2005, 10:46 AM
Registered User
Join Date: Oct 2005
Location: jakarta selatan, jakarta, Indonesia.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Crystal Report Logon failed

dear all,

i'm getting error while trying open myreport.aspx.
The problem is “refresh report” doesn’t work when Crystal Report is build under ASP.NET

With connection Window authentication. The error messages shown as below:


here is my code:

        Dim Rpt As New ReportDocument
        Dim Tabels As New TableLogOnInfos
        Dim Tabel As New TableLogOnInfo
        Dim Konek As New ConnectionInfo
        Dim Folder As String

        Folder = Server.MapPath("\reports\myreport.rpt")
        With Konek
            .ServerName = "myserver"
            .DatabaseName = "mydb"
        End With

        Tabel.ConnectionInfo = Konek
        cr.LogOnInfo = Tabels
        cr.ReportSource = Rpt
        cr.RefreshReport() <<-- error line

FYI, i use windows authentication to logon to my ms-sqlserver.

what should i do??? coz i also try this code in VB.NET and it's work!
thanks for help.
  #2 (permalink)  
Old October 13th, 2005, 01:06 PM
Friend of Wrox
Points: 4,332, Level: 27
Points: 4,332, Level: 27 Points: 4,332, Level: 27 Points: 4,332, Level: 27
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Nov 2003
Location: , NJ, USA.
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts

See this thread:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Database logon problem with Crystal Report jaucourt Crystal Reports 6 September 25th, 2009 11:39 AM
logon error while exporting crystal report hotshot_21 Crystal Reports 0 February 28th, 2006 07:37 AM
Crystal Reports ActiveX Designer : Logon failed. thangna BOOK: Professional Crystal Reports for VS.NET 2 November 24th, 2004 06:37 AM
Crystal Reports ActiveX Designer Logon failed thangna Crystal Reports 1 November 11th, 2004 08:40 PM
Logon failed... exporting crystal reports into pdf JerBlur VB.NET 0 July 23rd, 2004 02:00 AM

All times are GMT -4. The time now is 08:22 AM.

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