all groups > dotnet academic > november 2003 >
You're in the

dotnet academic

group:

Crystal Reports and .NET


Crystal Reports and .NET Tiger
11/21/2003 3:29:26 PM
dotnet academic:
Hi,

I am using a Crystal Report (8.5) report in a crystal
report viewer in a web form.

I am able to run the report in the crystal environment.

I am getting a logon error information. Logon failed

Exception Details:
CrystalDecisions.CrystalReports.Engine.LogOnException:
Logon failed.

How do I correct this problem. For information:
I attach this report to the CrystalReport viewer using
the Crystalreportviewer1.Reportsource = "...."

Please somebody help me here.

Re: Crystal Reports and .NET Giacomo
11/23/2003 10:02:17 AM
Tiger,
I had to upgrade to 9 to get the environment to show up in .NET. I think
..NET comes with a basic 9 package. I also think that if you need to use 8.5
that Crystal can sell you what they call a "downgrade" package so that you
can continue to use 8.5. I can't verify that any of this is valid, but I
went through a similar phase. We decided simply to upgrade to 9 and worry
about what would happen as we hit each problem. The downgrade is $25. So
far we haven't needed it. Crystal sells the downgrade because they no
longer distribute 8.5. So I'm guessing you need to upgrade to 9. All this
is predicated on your woning a developer edition and not standard edition of
8.5.
Giac
[quoted text, click to view]

Crystal Reports and .NET Tiger
11/24/2003 1:22:19 PM
Thanks Giac.

I figured out the problem there. The problem was with
respect to Authentication. I used a NT Authentication in
the report and was trying to use a SQL Authentication in
the code. For some reasons it doesnt like an NT
Authenticated report to be Authenticated by an SA
authentication. I used SA Authentication in my report
and it solved my problem.

Hope if anyone undercomes this type of issue please make
sure you are using the proper authentications.

Crystal Reports and .NET Muyoyeta
12/6/2003 6:49:05 PM
Hello,
I used to get the same type of error when running the CR
in Crystal Enterprise. For some reason, the database login
must be the same in CR and Crystal Enterprise, otherwise
connection to the ODBC will fail. Set the connection
properly in CR first as well as the server, database and
logon and make sure they are the same in CE.
Good luck!
[quoted text, click to view]
Re: Crystal Reports and .NET Giacomo
12/14/2003 12:14:07 PM
I ran into yet another authentication problem.
I was using the

Dim CrRep As New CRAXDRT.Report
Dim CRApp As New CRAXDRT.Application

apparently something about the way CrRep reads the CRApp,
there is a licensing limitation so this must be changed to

Dim CrRep As CRAXDRT.Report
Dim CRApp As New CRAXDRT.Application

Giacomo

[quoted text, click to view]

AddThis Social Bookmark Button