Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 4th, 2005, 04:16 AM
Authorized User
 
Join Date: Feb 2004
Location: , , .
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Log In error on another machine

I made application to automaticly export data from crystal reports to excel.
Reports have access to data source (MSSQL and Northwind database)and
trough code I set to crystal viewer report source ( I load one by one report and export data to excel file)
also I provide neccesery log in data for MSSQL (Server ,data base ,username and password)

Everything work fine......but when I distribute application to another machine and set relevant data for log in to server I get log in error message?!? But when I load report that was created on that machine its work OK?

So my question is: Is Crystal report need some more parametar to connect to data sorce (in my case MSSQL)?


Reply With Quote
  #2 (permalink)  
Old April 8th, 2005, 06:05 AM
Registered User
 
Join Date: Apr 2005
Location: Lahore, NA, Pakistan.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to secrets Send a message via Yahoo to secrets
Default

please show the code which passes the login information to crystal report.
Reply With Quote
  #3 (permalink)  
Old April 18th, 2005, 09:15 AM
Registered User
 
Join Date: Apr 2005
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to cbrknight1
Default

Hi i have simular problem , I created report in vs.net called report.rpt
in web.aspx page i set <CR:CrystalReportViewer id="CrystalReportViewer1"
                runat="server" Width="1030px" Height="1077px" ReportSource='<%# "c:\inetpub\wwwroot\dohroot\CrystalHELP\report.rpt " %>'>
                </CR:CrystalReportViewer>
When Using this line.
CrystalReportViewer1.DataBind()
I get CrystalDecisions.CrystalReports.Engine.LogOnExcept ion: Logon failed.

report already has all the ids and password and db connerction

Can you help.

--Alex Z.
Reply With Quote
Reply


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
Retore Db from a remote machine to a local machine srkvellanki BOOK: Beginning SQL 0 October 3rd, 2008 05:17 PM
Transaction Log Error hugh@kmcnetwork.com SQL Server 2000 1 June 4th, 2008 09:26 PM
Log in page error zhugeliang ASP.NET 2.0 Basics 0 July 16th, 2006 04:14 PM
"An error log is being created"... where? MelissaEvans Beginning VB 6 5 January 14th, 2005 06:39 AM
AppException Class -Log Error to Event Log bekim BOOK: ASP.NET Website Programming Problem-Design-Solution 7 December 7th, 2004 01:01 PM



All times are GMT -4. The time now is 10:51 PM.


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