Login Failed error using Crystal

P

Paul M.

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.LogOnException:
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
 
P

Paul Glavich

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?
 
P

Paul M.

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top