on 12-18-2014 9:26 AM
Hello,
I've built a .Net application using crystal reports. The application runs fine on my Windows 7 development machine, and runs fine on 6 of our clients Windows XP machines.
The issue is with only 1of our clients XP machines. Every time crystal runs, a database login prompt appears.
On all of the XP machines I've installed the .Net 4 framework, CRRuntime_32bit_13_0_8.msi, and sqlncli.msi (32 bit).
There is no issues connecting to the database on the offending machine.
I'm absolutely stumpted,and would appreciate any help or input.
Many thanks.
Hi Brian
You're getting some fantastic help in all of these replies. All apply, all are correct (including the non support of WIN XP), all are great. One thing I don't see is the db connection method. As Janos mentioned this is more than likely an issue with the machine or with the connection between the machine and the server. One way to test that is as follows:
If using OLE DB, use a UDL, see if you can connect to the database via the UDL.
If using ODBC, see if you can connect using sqlconn32.
If the above fail, it is just a confirmation that this is an environmental issue and unfortunately, you'll have to work that a bit.
Umm, one other thing to do; compare the runtimes between a PC with WIN XP that works to the one that does not. Use the Modules utility for that. Do check everything (CR runtime, db client, MS C++ runtime files as well as any and all system files).
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brian,
It looks like you have a .NET Windows Application installed on all of the machine.
I would like to know, how is the particular application compiled?(x86,x64 or ANY CPU). If its 64bit machine use x64, if 32bit use x86, avoid using ANY CPU.
Please check for the permissions to the TEMP Directory. Make sure you have full control permissions on it.
NOTE:
Windows XP Operating System is not supported as Microsoft no longer provide support for Windows XP.
So it may work or it may not, as the CRRuntime_32bit_13_0_8.msi is not tested on Windows XP OS.
Regards,
Vinit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you mentioned the database credentials in the code? Or in the web.config file?
I mean when you are querying the database and fetching the result, you have been mentioning the credentials?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tyagi,
Yes, I have mentioned the database credentials. The same application is running without issues on 6 other client XP machines, all pointing to the same database.
I put some logging around the crystal calls, and the connection string is as it should be. I'm really baffled.
Thanks for your help.
Hello,
try to reinstall the database driver you are using on your machine where the prompt opens.
Thanks,
János
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, the db connection is fine, as the main application is pointing and connecting to the same db, using the same credentials as my crystal.
There are identical xp machines, physically sitting beside the xp machine giving me this issue, that are running the same application and pointing to the same db, with no issues.
Appreciate your help Janos
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.