473,810 Members | 3,102 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 2371
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, these are out of the box Dell machines with XP Preloaded Can't understand why only these PCs...
3
22926
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
2068
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 the application and preview the report by clicking the preview button from the first form I get...
1
6332
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 minutes if the report uses three subreport datasets). Then it takes over 7 hours for Crystal to...
0
1629
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 my crystal report.In the crystal report I changed only jet database password. In the report...
7
34804
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 of my reports. Fine, I know how to do that and it works perfectly on my development box. The...
3
1665
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 following code, the dataset created isn't "used" by the crystal
2
2454
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... I'm using all the correct merge modules (Database_access2003, Managed2003, regwiz2003, CRT71 and...
12
14079
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 in Crystal report and also thro the application.(I am using DSN based connection) Please help me...
4
1928
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 specs about the product then between 5 to 14 rows of calibration data. The software that controls...
0
9722
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9603
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
10644
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...
1
10393
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10124
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
9200
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6882
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4334
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
3
3015
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.