473,526 Members | 2,791 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Exception Details: CrystalDecisions.CrystalReports.Engine.LogOnExcept ion: Logon failed. What's wrong ?????

cw
Hi all,
I'm trying to generate some crystal report using ASP.NET. However, i
stucked on the avove error.. below is the code for web form 1:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

'Put user code to initialize the page here
Dim tbCurrent As CrystalDecisions.CrystalReports.Engine.Table
Dim tliCurrent As CrystalDecisions.Shared.TableLogOnInfo

For Each tbCurrent In cbsMain.CreateReport.Database.Tables
tliCurrent = tbCurrent.LogOnInfo
With tliCurrent.ConnectionInfo
.ServerName = "localhost"
.UserID = "UID"
.Password = "PASSWORD"
.DatabaseName = "DB_NAME"
End With
Next

tbCurrent.ApplyLogOnInfo(tliCurrent)

Me.cvwMain.ReportSource = cbsMain
End Sub


Nov 17 '05 #1
0 2455

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

Similar topics

1
352
by: OzSoft | last post by:
I am receiving the following exception randomly when printing crystal reports via a print server application. The server will successfullky print a random number of identical files and then for some reason, the following exception is logged. System.InvalidOperationException: Stack empty. at System.Collections.Stack.Pop() at...
0
1078
by: Ann Marinas | last post by:
Hi, All! I'm developing an application using Crystal Reports. I keep on getting this error whenever I set my report documents to dynamically connect to my data source: ================================ An unhandled exception of type 'CrystalDecisions.CrystalReports.Engine.InternalException' occurred in...
0
1526
by: Manu | last post by:
whenever i set the CrystalReports ReportsDocument Objects SetDataSource() method.. I recieve this error. What might be the reason???? Please help System.Runtime.InteropServices.SEHException: External component has thrown an exception.
6
17946
by: Selen | last post by:
I am using asp.net c#...I am adding a field to cystal report but I get error Exception of type System.Exception was thrown. How can I solve this error...When I insert a field from another table I dont get error... Thanks...
0
891
by: Ethorsen | last post by:
Hello, is there a way to use a crystal report version 10 with the modules that comes with framework v1.1 When i try to open the crystal, it always tell me: .F(String  , EngineExceptionErrorID  ) +272
1
2297
by: Tim_Mac | last post by:
hi, i am encountering a sporadic exception using crystal reports that is causing me grief, I can't 'handle' it... my code is loading a typed report, and loading a DataSet to it. unfortunately crystal reports customer support is very poor and their 'case management' tool refuses to function. i'm posting here in the hope that someone may...
0
1001
by: PerumalSamy | last post by:
Hi, the following code is what i created for crystal report.I am using ACCESS database and vb.net coding. While i running the program i am getting error as CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed. any idea? Private sub pageload() dim crrptdoc as crystalreport1=new crystalreport1 ...
6
4873
by: Miro | last post by:
I can run an exe ( and its install ) i have created on my machine. The exe has a button that populates a dataset and then shoots it to a crystal report. But... Installing the setup.exe on my other pc, and running it I get an error. The Dataset loads properly, but when the button is pushed to view the report I get this error: ...
4
3286
by: Miro | last post by:
<i have also added this reply to the other newsgroup - now that I have realizd ( and assuming ) it is not a localized error directly to vb.> I have found this link on the website: https://www.sdn.sap.com/irj/sdn/businessobjects-downloads ..NET Utility CR 2008 Merge Modules for the .NET Framework ZIP 74.716 Windows English 12.03.2008...
0
7328
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...
0
7251
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...
1
7231
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7600
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...
0
5776
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...
0
4812
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...
0
3310
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...
0
3310
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1700
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

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.