473,395 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Database Login In Crystal

I have created a report in Crystal and it runs fine and comes up in the
viewer and everything is great in my little world, EXCEPT:

It always prompts me for a password to the database, even after I extended
my code to include:

Private Sub frmReportViewer_Load(ByVal Sender as System.Object, ByVal e as
System.EventArgs) Handles MyBase.Load

Dim MyReport as New rptFinishedGoods
MyReport.SetDatabaseLogin("tryingtofind","theanswe r","CSISQL","CSI")
Me.CrystalReportViewer1.ReportSource = MyReport
End Sub
What in the world am I doing wrong?

Nov 20 '05 #1
3 1110
Try Brian Bischof's book, especially the chapter on Database Connectivity.

http://www.crystalreportsbook.com

"Atley" <at*****@hotmail.com> wrote in message
news:eZ**************@TK2MSFTNGP11.phx.gbl...
I have created a report in Crystal and it runs fine and comes up in the
viewer and everything is great in my little world, EXCEPT:

It always prompts me for a password to the database, even after I extended
my code to include:

Private Sub frmReportViewer_Load(ByVal Sender as System.Object, ByVal e as
System.EventArgs) Handles MyBase.Load

Dim MyReport as New rptFinishedGoods
MyReport.SetDatabaseLogin("tryingtofind","theanswe r","CSISQL","CSI")
Me.CrystalReportViewer1.ReportSource = MyReport
End Sub
What in the world am I doing wrong?


Nov 20 '05 #2
I did not find anything in that book that helped me with this issue, any
other suggestions?
"Ken Onweller (.NET MCSD)" <an*******@discussions.microsoft.com> wrote in
message news:ee*************@TK2MSFTNGP09.phx.gbl...
Try Brian Bischof's book, especially the chapter on Database Connectivity.

http://www.crystalreportsbook.com

"Atley" <at*****@hotmail.com> wrote in message
news:eZ**************@TK2MSFTNGP11.phx.gbl...
I have created a report in Crystal and it runs fine and comes up in the
viewer and everything is great in my little world, EXCEPT:

It always prompts me for a password to the database, even after I extended my code to include:

Private Sub frmReportViewer_Load(ByVal Sender as System.Object, ByVal e as System.EventArgs) Handles MyBase.Load

Dim MyReport as New rptFinishedGoods
MyReport.SetDatabaseLogin("tryingtofind","theanswe r","CSISQL","CSI")
Me.CrystalReportViewer1.ReportSource = MyReport
End Sub
What in the world am I doing wrong?



Nov 20 '05 #3
Yes.

Don't use crystal.
Use Word Automation.

"Atley" <at*****@hotmail.com> wrote in message
news:uX****************@TK2MSFTNGP09.phx.gbl...
I did not find anything in that book that helped me with this issue, any
other suggestions?
"Ken Onweller (.NET MCSD)" <an*******@discussions.microsoft.com> wrote in
message news:ee*************@TK2MSFTNGP09.phx.gbl...
Try Brian Bischof's book, especially the chapter on Database Connectivity.

http://www.crystalreportsbook.com

"Atley" <at*****@hotmail.com> wrote in message
news:eZ**************@TK2MSFTNGP11.phx.gbl...
I have created a report in Crystal and it runs fine and comes up in the viewer and everything is great in my little world, EXCEPT:

It always prompts me for a password to the database, even after I
extended my code to include:

Private Sub frmReportViewer_Load(ByVal Sender as System.Object, ByVal e as
System.EventArgs) Handles MyBase.Load

Dim MyReport as New rptFinishedGoods

MyReport.SetDatabaseLogin("tryingtofind","theanswe r","CSISQL","CSI") Me.CrystalReportViewer1.ReportSource = MyReport
End Sub
What in the world am I doing wrong?




Nov 20 '05 #4

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

Similar topics

1
by: Kevin | last post by:
I'm at the end of my rope. We have been trying to deploy Crystal Reports over our website. We have tried every report configuration we can think of and cannot seem to resolve this issue. Here is...
1
by: david risby | last post by:
I'm getting an unwanted database login form appearing when I set the Data Source of a Crystal report to a .Net dataset e.g. myReport.SetDataSource(myDataSet This only occurs on some PCs, works...
3
by: Michael S | last post by:
only my server get the report whitout the dialogue database login. I think it is where the database is localhost and the crystal report know not the connection string. how I can crystal reports...
0
by: Bassem | last post by:
Hi All, I had problem when using Crystal Report in C# windows application. I create report depend upon dataset using table from SQL 2000 and add it in a C# windows application. NP: The...
2
by: fatboy | last post by:
I'm trying to change the database and server on a report that was created using integrated security e.g. report was created pointing to the server 'testserver' and database 'testdb' and at runtime...
0
by: Brenny | last post by:
Hi I'm developing a project and in the project, I used crystal report. Firstly my database isn't protected with password. After finishing project I determined a password for my database. Firstly...
7
by: TJoker .NET | last post by:
I'm developing an VB.NET Windows Forms application that uses CR for VS.NET (original version shipped with VS.NET 2002 - my VS.NET has the latest SP installed, no SPs for CR). My reports get their...
3
by: route_coder | last post by:
I am using access database to create a crystal report in VB.NET Everything works fine when I run on my machine. But when I am deploying it other windows machines. It is asking for database server...
12
by: Murali via DotNetMonster.com | last post by:
Hi All I am new to .net, as i worked majorily on VB6.0 & Crystal reports, I have developed an Window application in VB.net/SQL Server2000 and using Crystal reports8.5, I have used the CRViewer in...
2
by: deegee | last post by:
hi, I'm trying to display a simple crystal report from within a web application but I keep getting prompted to enter login details for the database (oracle). Entering the correct information...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
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...

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.