Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
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 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 April 4th, 2005, 04:16 AM
Authorized User
 
Join Date: Feb 2004
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)?


 
Old April 8th, 2005, 06:05 AM
Registered User
 
Join Date: Apr 2005
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.
 
Old April 18th, 2005, 09:15 AM
Registered User
 
Join Date: Apr 2005
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.





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 [email protected] 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





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