473,386 Members | 1,864 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,386 software developers and data experts.

Login Failed error using Crystal

Hi,
we have a asp (vb) .net www app which use crystal reports to produce
output from a sqlserver 2000 database. The asp pages work fine up to the
point where it is required to generate a crystal report. Before this point
it has queried the database and populated listboxes on an asp .net page so
its not a datbase issue. The error we get is:
===========
Exception Details:
CrystalDecisions.CrystalReports.Engine.LogOnExcept ion:
Logon failed.

(more stuff removed)
===========

IIS & SQLServer are on the same server
If I use the same code but have it on my desktop pc and use the IIS there it
works fine pointing at the SQLServer sitting on the server
Permissions appear to be OK
Server = Windows 2002 Server OS
Desktop = Windows 2000 Pro

Anyone got any ideas?

Thanks in advance
Paul

Nov 18 '05 #1
2 1411
I had heaps of problems with Crystal of a similar nature. How have you
defined your connection string? Do you have the user id/pwd in there, or are
you using integrated and do you have the 'Provider' element in the
connection string for crystal?

--
- Paul Glavich
"Paul M." <pa**@nospam.fsnet.co.uk> wrote in message
news:bu**********@news6.svr.pol.co.uk...
Hi,
we have a asp (vb) .net www app which use crystal reports to produce
output from a sqlserver 2000 database. The asp pages work fine up to the
point where it is required to generate a crystal report. Before this point
it has queried the database and populated listboxes on an asp .net page so
its not a datbase issue. The error we get is:
===========
Exception Details:
CrystalDecisions.CrystalReports.Engine.LogOnExcept ion:
Logon failed.

(more stuff removed)
===========

IIS & SQLServer are on the same server
If I use the same code but have it on my desktop pc and use the IIS there it works fine pointing at the SQLServer sitting on the server
Permissions appear to be OK
Server = Windows 2002 Server OS
Desktop = Windows 2000 Pro

Anyone got any ideas?

Thanks in advance
Paul

Nov 18 '05 #2
My server guy got it to work by putting the admin user/pwd in the
machine.config file, we are using anonymous authentication and all the
details about server,db,usr,pwd are passed at run time when calling the
report. However now we have to "peel" back its permissions as running as
network admin is not a good idea!

Cheers
Paul M

"Paul Glavich" <gl**@aspalliance.com-NOSPAM> wrote in message
news:eu**************@TK2MSFTNGP11.phx.gbl...
I had heaps of problems with Crystal of a similar nature. How have you
defined your connection string? Do you have the user id/pwd in there, or are you using integrated and do you have the 'Provider' element in the
connection string for crystal?

--
- Paul Glavich
"Paul M." <pa**@nospam.fsnet.co.uk> wrote in message
news:bu**********@news6.svr.pol.co.uk...
Hi,
we have a asp (vb) .net www app which use crystal reports to produce
output from a sqlserver 2000 database. The asp pages work fine up to the
point where it is required to generate a crystal report. Before this point it has queried the database and populated listboxes on an asp .net page so its not a datbase issue. The error we get is:
===========
Exception Details:
CrystalDecisions.CrystalReports.Engine.LogOnExcept ion:
Logon failed.

(more stuff removed)
===========

IIS & SQLServer are on the same server
If I use the same code but have it on my desktop pc and use the IIS
there it
works fine pointing at the SQLServer sitting on the server
Permissions appear to be OK
Server = Windows 2002 Server OS
Desktop = Windows 2000 Pro

Anyone got any ideas?

Thanks in advance
Paul


Nov 18 '05 #3

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

Similar topics

0
by: jeremylim2000 | last post by:
Hi! I try to preview a crystal report using asp, it prompt 'CRAXDRT error Occured on server. -2147189176 : login failed Details : IM002: Data sourcename no found and no default driver specified'....
2
by: jeremylim2000 | last post by:
Hi! I try to preview a crystal report using asp, it prompt 'CRAXDRT error Occured on server. -2147189176 : login failed Details : IM002 : Data sourcename not found and n default driver speci...
4
by: rrober07 | last post by:
Hello, My Setup is I have a Web Server machine(Devweb01), Database SQL Machine(Devsql01), a Client Machine(local machine) I have configured the SQL machine as follows: 1) Added local Aspnet...
3
by: Maellic | last post by:
Hi, The website I am working on is built with ASP.NET and connects to a SQL Server 2000 database. The web server and database are on the same machine. I have recently tried to modify the timeout...
3
by: Milan Todorovic | last post by:
Hello, I need help. I have experience in ASP.NET programming, but this is my first dealing with Crystal Reports. I'm trying to make the most basic report purely for testing purposes: connect to...
5
by: Åženol Akbulak | last post by:
Hi, I want to use Crystal Reports in my asp.net application. I get this error: ### CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed. ### I have read this solution and then...
12
by: Michael | last post by:
Please Help me. I've got a .Net 2003 program that attaches to a SQL Server machine and I'm getting the above error when a user tries to log in. The SQL server is setup to use Windows Auth. and I...
0
by: kmercer46 | last post by:
i create crystal reports thru System DSN of Sql Server in vb.net. when i run these reports on the server where sql server installed these works fine but when ever i run these reports on any client...
5
by: Ramtin | last post by:
Hi; when I use sql server connection or ole connection for working with database I receive the login failed for user 'any user that I work'.I've been granted ASPNET user in sql.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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:
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,...

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.