473,659 Members | 3,553 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Exception Details: CrystalDecision s.CrystalReport s.Engine.LogOnE xception: 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.EventArg s) Handles MyBase.Load

'Put user code to initialize the page here
Dim tbCurrent As CrystalDecision s.CrystalReport s.Engine.Table
Dim tliCurrent As CrystalDecision s.Shared.TableL ogOnInfo

For Each tbCurrent In cbsMain.CreateR eport.Database. Tables
tliCurrent = tbCurrent.LogOn Info
With tliCurrent.Conn ectionInfo
.ServerName = "localhost"
.UserID = "UID"
.Password = "PASSWORD"
.DatabaseName = "DB_NAME"
End With
Next

tbCurrent.Apply LogOnInfo(tliCu rrent)

Me.cvwMain.Repo rtSource = cbsMain
End Sub


Nov 17 '05 #1
0 2462

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 SCRStartup.Leave() at CrystalDecisions.CrystalReports.Engine.ReportObjects..ctor(SCRPrintJob
0
1082
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 crystaldecisions.crystalreports.engine.dll
0
1529
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
17955
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
900
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
2308
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 have seen it before and worked around it. first of all, here is the exception:
0
1006
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 crrptdoc.setDatabaseLogon("sa","") crystalreportviewer1.displaygrouptree=false crystalreportviewer1.reportsource=crrptdoc...
6
4887
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: ************** Exception Text **************
4
3298
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 and it states:
0
8337
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
8851
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
8748
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8628
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
4175
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...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2754
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
1978
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1739
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.