473,586 Members | 2,681 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unexpected Database Login form - Crystal Report based on DataSet

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.SetDat aSource(myDataS et

This only occurs on some PCs, works perfectly fine on all my PCs (Windows 2000, XP Pro), and work OK on my clients XP Home machines

Problem only occurs on my clients XP Pro machines, these are out of the box Dell machines with XP Preloaded

Can't understand why only these PCs appear to be affected
I've built a Setup project and used this to install application consistently on all PCs
I've even built a simple report that lists just lists "title" from the "titles" table in the "pubs" database. This throws up the Database Login form on these PCs

Here is my code, the message boxes confirm that the dataset is filled and that there is only the one table in the datase

sqlDataAdapter1 .Fill(dsPubs1," titles")
MessageBox.Show (dsPubs1.Tables .Count.ToString ())
MessageBox.Show (dsPubs1.titles .Rows.Count.ToS tring())
rptReportTest rpt = new rptReportTest()
rpt.SetDataSour ce(dsPubs1)
crv.ReportSourc e = rpt

I think this may be a security issue of some sort (but I'm open to other ideas)
Are datasets held in memory or paged to disk
If they are paged to disk could it be that Crystal does not have access to the location of the dataset

Please Help Thank

I'm david.risby and I'm at dsl.pipex.co
Jul 21 '05 #1
1 2332
Post your question at the Crystal Report Forum. You should get your question
answered from there.

"david risby" <an*******@disc ussions.microso ft.com> wrote in message
news:5E******** *************** ***********@mic rosoft.com...
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.SetDat aSource(myDataS et)

This only occurs on some PCs, works perfectly fine on all my PCs (Windows 2000, XP Pro), and work OK on my clients XP Home machines.
Problem only occurs on my clients XP Pro machines, these are out of the box Dell machines with XP Preloaded.
Can't understand why only these PCs appear to be affected.
I've built a Setup project and used this to install application consistently on all PCs. I've even built a simple report that lists just lists "title" from the "titles" table in the "pubs" database. This throws up the Database Login
form on these PCs.
Here is my code, the message boxes confirm that the dataset is filled and that there is only the one table in the dataset
sqlDataAdapter1 .Fill(dsPubs1," titles");
MessageBox.Show (dsPubs1.Tables .Count.ToString ());
MessageBox.Show (dsPubs1.titles .Rows.Count.ToS tring());
rptReportTest rpt = new rptReportTest() ;
rpt.SetDataSour ce(dsPubs1);
crv.ReportSourc e = rpt;

I think this may be a security issue of some sort (but I'm open to other ideas). Are datasets held in memory or paged to disk?
If they are paged to disk could it be that Crystal does not have access to the location of the dataset?
Please Help Thanks

I'm david.risby and I'm at dsl.pipex.com

Jul 21 '05 #2

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

Similar topics

1
603
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 perfectly fine on all my PCs (Windows 2000, XP Pro), and work OK on my clients XP Home machines Problem only occurs on my clients XP Pro machines,...
3
22918
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 say where the database is? Have anywhere a idee how a can fix this? thank you
0
2055
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 application had 2 forms, one with preview button which will call the report from the other form and the other hold the crystal report. The time I get to run...
1
6314
by: Shelby | last post by:
Problem: My company generates its own data export from a propietary database. These (free) tables can be read in C#.NET using a Visual FoxPro driver (vfpoledb). I can read each of the six tables into its own datatable, modify them, and add them to a dataset. It take approximately 15 minutes to pass that dataset to Crystal Reports (45...
0
1621
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 I opened my database as private usage. I determined a database password. Only password, there iso no login ID or user ID. After that, I edited...
7
34772
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 data from ADO.NET Datasets that are pre-populated by other modules of the application. What I need to do is to use these datasets as the datasources...
3
1647
by: Téo | last post by:
I don't see my question with my newsreader, just try to post a last time, sorry if it's (one more...) bug of OE... Hi, I have created a crytal report based on a table of my SQL Server. Everything works fine. I would like now to fill my report with a sql request in the code behind instead of the table in the crystal report. But in the...
2
2439
by: Chris Ashley | last post by:
I have a crystal report using a Dataset which is populated at Runtime. It works fine on my development machine, but when I deploy it to a test machine I get a 'Database Login' box. There shouldn't be a need for it to connect to any database because the dataset is populated with everything I need and passed to the report using SetDataSource......
12
14018
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 the form. Now my problem is when i try to open Crystal report thro VB.net, it will prompt for database login password, which i have already supplied...
4
1915
by: Rodo | last post by:
Hi all, I'm new to this whole thing. I have a bunch of text files that are created by a software at work that keeps info one of our products. Each unit being calibrated gets a "record" (track by serial number) which is a text file with data. The data is almost all the same format. There is header info about the customer, then some more...
0
7912
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
7839
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...
0
8202
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. ...
0
8338
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...
1
7959
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
6614
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...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5390
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
3865
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.