473,734 Members | 2,824 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Crystal Report w/ADO.NET dataset - logon failed

Help....

I've created an ADO.NET dataset in Visual Studio (a web
project). I build the project and then try to create a
Crystal Report using the dataset.

When I try to use the ADO.NET dataset in Crystal Report
(selected from Project Data) by double clicking the
dataset name (yes, it does at least show up) I get a
consistent error: Logon failed. Details: Object reference
not set to an instance of an object.

I've tried running a repair installation on VS, I've
researched Crystal knowledge base, nothing.

Thanks,
Bob
Jul 21 '05 #1
1 4408
I might have seen this before. I am assuming this is not a
problem with connecting to your DB because you are passing
your DB to the rpt seperately beforehand, and this error
makes no sense, right?

I had a case where I would get a "Login failed" error like
this and it was because I had changed my dataset and the
report was not aware of the change (e.g. change the name
of a field in the dataset that you are using in the
report, and the report blows up because it can no longer
find the field it wants). The dataset in the report and
the dataset in your app get out of synch. This would not
have been so bad if the error message was meaningful. They
really need to update this error message...

Try updating your dataset in your report. I think you
click on it then right click and refresh or something like
that - cannot remember exactly. Or maybe go to the
database view where you see your dataset or whatever.

Sometimes Crystal run from within VS .NET will not pickup
changes to datasets correctly. You have to close the whole
solution after making changes to your dataset, then open
up visual studio again and find your rpt and then try to
refresh your dataset inside your report.

Hope that helps.

-----Original Message-----
Help....

I've created an ADO.NET dataset in Visual Studio (a web
project). I build the project and then try to create a
Crystal Report using the dataset.

When I try to use the ADO.NET dataset in Crystal Report
(selected from Project Data) by double clicking the
dataset name (yes, it does at least show up) I get a
consistent error: Logon failed. Details: Object reference
not set to an instance of an object.

I've tried running a repair installation on VS, I've
researched Crystal knowledge base, nothing.

Thanks,
Bob
.

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1907
by: Tabo | last post by:
Hi! all, I have a problem. When i created a dataset in ASP.net, then, i tried to push that dataset to crystal report. At the runtime, an error always prompted "logon failed!". How can i solve this problem? Thanks for help!. Tabo
0
2606
by: Max | last post by:
Hi wise people, Has anyone encountered the Crystal Reports problem I describe below? If so, how did you solve it? It seems that every article posted on google regarding CR and logon problems is still unanswered. I think I'm cursed. I originally created a crystal report which connects to a sql server server db on the same dev machine and it worked just fine. I tried to move it to another computer, but now I have to connect to an Oracle...
0
1062
by: vivek | last post by:
I'm trying to create a crystal report by dynamically passing the dataset to the rpt(using dataset.xsd) and save it as PDF format.While dynamically passing the dataset to the crystal report and saving it as PDF format, it shows an error crystaldeisions.crystalreports.engine.loginexception logon failed. Regards Vivek
1
2030
by: andy lim | last post by:
Hello all, I'm developing a web application using ASP.NET/VB. I have problem in viewing my CR reports. It returns following exception when I tried to view any CR report. CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed I found many similar problem in several .NET forums, and no working solution.
3
15034
by: Milan Todorovic | last post by:
Hello, I need help. I have experience in ASP.NET programming, but this is my first dealing with Crystal Reports. I'm trying to make the most basic report purely for testing purposes: connect to the remote SQL DB and create a report on one of the tables. Every time I do it, I get the Logon Failed error (CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed) The internet search shows that this is a common problem,...
3
2881
by: Shawn H. Mesiatowsky | last post by:
I have come across lots of information regarding this, but nothing seems to work. I have created a Crystal Report that access's a SQL server backend for the data, and I want to display the report via a webform and the CrystalViewer Web Component. First of all, I have been using Trusted Connections so far (for data access) and really do not want to have some static login information in my web app. but most of the documents so far have...
3
1682
by: Hugh O | last post by:
Hi, I have been trying to load a Crystal Report newly created via VS.Net 2003. I am using a simply ASP form with only the Crystal Report Viewer. The sample report results display in the WebForm1.aspx, when I have set the databinding Report Source property set at design time. I get the following error message when I try to run the report. CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed. In searching Google, in...
1
445
by: Bob Skutnick | last post by:
Help.... I've created an ADO.NET dataset in Visual Studio (a web project). I build the project and then try to create a Crystal Report using the dataset. When I try to use the ADO.NET dataset in Crystal Report (selected from Project Data) by double clicking the dataset name (yes, it does at least show up) I get a consistent error: Logon failed. Details: Object reference
1
1680
by: vipindev.s | last post by:
hi all i am not much expert in asp.net. i am using crystal rpt for report generation. is any other report generation method is available??? i use push method to creat report, and it is working fine, when i export that report to pdf or xls it generate an error like Logon failure. CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed.
0
8946
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8777
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9452
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9184
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8187
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6033
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4551
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3262
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2729
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.