codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  crystal report - Logon failed.  eshwar_gp at 07:07 on Thursday, January 06, 2005
 

Hi i am getting this error after running my program

Server Error in '/crystalReport1' Application.
--------------------------------------------------------------------------------

Logon failed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed.

Please solve it.

Regards,
eshwar_gp





  Re: crystal report - Logon failed.  eshwar_gp at 06:57 on Friday, January 07, 2005
 

Hi, I solved my problem myself. :))

My database server is in remote system. That is why i get that problem.

Given code will work if the database server is in your system

Customers custReport1 = new Customers();
CrystalReportViewer1.ReportSource = custReport1;


for remote database server we have to add
-----------------------------------------

custReport1.SetDatabaseLogon ("username", "password");

in between those 2 lines.


Thank you.
eshwar_gp




  Re: crystal report - Logon failed.  amalaravind at 20:09 on Friday, March 04, 2005
 

hi,
i have the same problem with crystalreports in asp using c#.
im using windows 2000 pro, sql2k devoloper and .net 2002.
im not getting the qReport.SetDatabaseLogon() method at all. i get a compile time error that says it does not contain a definition for SetDatabaseLogon.
please help.

  Re: crystal report - Logon failed.  iemandar at 20:44 on Thursday, March 17, 2005
 

Dont try anything other than installing service pack for Crystal reports for visual studio .net.
Mandar

  Re: crystal report - Logon failed.  babu_p_s at 13:00 on Thursday, March 31, 2005
 

I was troubling with the same problem. Thanks for the posting.



  Re: crystal report - Logon failed.  sandyfromcuba at 13:00 on Tuesday, April 24, 2007
 

Hello,

First of all sorry my bad english.

I have a problem, i am working with asp.net 1.1 and crystal 11.

When I try to show the report with the form that you say, only show me 4 colunms of 6, show the columns 1, 2, 3, 6.
The columns 4 and 5 don't appear...

When I show the report in the preview of crystal report, its work fine, show all the colunms...

Sandy

  Re: crystal report - Logon failed.  nn2006 at 07:08 on Monday, June 04, 2007
 

Hello there This is due to different type of dataset you are passing to report its better to use xml schema as a dataset Like Dim oDataset as new dataset oDataset.Writexmlschema(path as string) now rebind your report from the that XML file. That would resolved your problem Thanks Regard Muhammad Adil Software Engineer Itlinksolutions.com








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  China Cheap Shoes Store Sale Cheap Air Jordans Shoes, Cheap Jordans, Cheap Nike Shoes & Nike Sneakers
•  "The best Method Along with Golf suggestions
•  What is the important of coding standard?
•  How to use two sorting methods for a product list?
•  www.Echeapjackets4moncler.com
•  What is the important of PHP include file?
•  What is JAVA socket?
•  What is the important of AJAX tools?
•  Documentation Script (fixed)


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2012