Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

crytal report logon error with a dataset?

Status
Not open for further replies.

ashstampede

Programmer
Aug 30, 2004
104
GB
I posted this message in the asp.net board before i found this one, no answer there so i hope i have more success here.

my problem is, i am attempting to PUSH a dataset to a STRONG TYPE crystal report and show it in the crystal report viewer in my asp.net page.
I created a dataset via visual studio.net(2003) and then my strong type crystal report and added both to my project, i then pointed the report to this dataset.

In my code behind page(VB.net) where my crystal report viewer is located. i create an instance of my report and a instance of my dataset.
I connect to the database(MS server 2000) via ado.net i call my sql query get the data and fill the dataset.
I step through and debug and all data is return correctly no errors occur during step through.(i have a try catch all block)

but then after its finish the page load sub, it breaks before anything is displayed and says

crystaldecisions.crystalreports.engine.LogonException: logon failed

i googled this error message and found tons of results, but they all state you must make a connection to the database be for binding the data to the report viewer.

so this doesn't apply to me correct? since i am pushing the data. I've already connected and got the data, so why am i getting a log on error?

businessobjects(maker of crystal reports) says its a error in cr10, download latest servics pack to solve;
well i downloaded the latest sp for my version of CR and that didn't work.
went back to the site then downloaded the latest hotfix, still didn't work.

please help
 
AshStampede, were you able to fix this? I am having the same problem?

-lucyv
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top