| | |
crystal report
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jan 2008
Posts: 9
Reputation:
Solved Threads: 0
hi,
i am using crystal report to prepare reports. my database is in oracle 9i. i am using vb.net 2003. after creating crystal report whenever i am going to view the report in button click event it is asking me to give login id and password. for each and every report and for each time i am loading the report it is asking me to do so. can any one kindly help me, so that it wont ask me again and again. is there any process to do so. Thanks in advance. its very urgent. can any one please guide me to do so.
i am using crystal report to prepare reports. my database is in oracle 9i. i am using vb.net 2003. after creating crystal report whenever i am going to view the report in button click event it is asking me to give login id and password. for each and every report and for each time i am loading the report it is asking me to do so. can any one kindly help me, so that it wont ask me again and again. is there any process to do so. Thanks in advance. its very urgent. can any one please guide me to do so.
•
•
Join Date: Feb 2008
Posts: 2
Reputation:
Solved Threads: 0
Hi there, what version of Crystal are you using?.
it would help if you post the code that you use when you call the report.
I guess that you need to specify the user and password of the oracle database, in the conection string.
if you are using a DSN connection.
CrReport.Connect = "DSN=" & gDSN & ";UID=" & gUser & ";PWD=" & gpwd & ";DSQ=" & gDatabase
(Sorry for my english.)
Uliseshz
it would help if you post the code that you use when you call the report.
I guess that you need to specify the user and password of the oracle database, in the conection string.
if you are using a DSN connection.
CrReport.Connect = "DSN=" & gDSN & ";UID=" & gUser & ";PWD=" & gpwd & ";DSQ=" & gDatabase
(Sorry for my english.)
Uliseshz
•
•
Join Date: Jan 2008
Posts: 9
Reputation:
Solved Threads: 0
hi
thnx for the valuable suggestion. i am not using dsn and more over i am providing user id and password in connection string. after that when i m loding my report at runtime then it is asking me to provide user id and password. i am using the inbuild version of vb.net 2003 (Crystal Report). Hope you can help me. thanx once again and also in advance.
hava nice day sir.
thnx for the valuable suggestion. i am not using dsn and more over i am providing user id and password in connection string. after that when i m loding my report at runtime then it is asking me to provide user id and password. i am using the inbuild version of vb.net 2003 (Crystal Report). Hope you can help me. thanx once again and also in advance.
hava nice day sir.
•
•
•
•
hi
thnx for the valuable suggestion. i am not using dsn and more over i am providing user id and password in connection string. after that when i m loding my report at runtime then it is asking me to provide user id and password. i am using the inbuild version of vb.net 2003 (Crystal Report). Hope you can help me. thanx once again and also in advance.
hava nice day sir.
That means u r using Crystal report viewer. right?
and assigning a report created to it. i hope following code will be helpful to solve ur problem.
CrystalReportViewer1.Refresh()
CrystalReportViewer1.ReportSource = report1
report1.SetDatabaseLogon("UserName", "Password")
Best Luck...
![]() |
Similar Threads
- How add Crystal Report Version 11 in VB6 (Visual Basic 4 / 5 / 6)
- Crystal report in vb.net, printing problems (VB.NET)
- Problem with Crystal Report in ASP.NET (ASP.NET)
- How can I call Crystal Report from VB 6.0 ? (Visual Basic 4 / 5 / 6)
- Help me with Crystal Report (ASP.NET)
- Error while declaring Crystal Report Object (ASP.NET)
- Problems on making Crystal Report (VB.NET)
Other Threads in the VB.NET Forum
- Previous Thread: Help with nested sql statements
- Next Thread: Xml & Ado.net
| Thread Tools | Search this Thread |
"crystal .net .net2005 30minutes 2005 2008 access account arithmetic array basic binary bing button buttons center check code combobox component connectionstring convert crystalreport data database databasesearch datagrid datagridview design dissertation dissertations dissertationthesis dosconsolevb.net dropdownlist excel file-dialog firewall folder ftp google hardcopy image images insert listview login math memory mobile ms navigate net networking opacity output passingparameters peertopeervideostreaming picturebox picturebox1 plugin port print problemwithinstallation project reports" save savedialog searchbox serial server soap sql string table tcp temp text textbox timer toolbox trim update updown upload useraccounts usercontrol vb vb.net vb.netcode vb.netformclosing()eventpictureboxmessagebox vb.nettoolboxvisualbasic2008sidebar vb2008 vbnet view visual visualbasic visualbasic.net visualstudio web wpf





