Report Design
 Crystal Reports Forum : Crystal Reports .NET 2003 : Report Design
Message Icon Topic: Crystal Report log on error Post Reply Post New Topic
Author Message
ratul
Newbie
Newbie


Joined: 16 Dec 2009
Online Status: Offline
Posts: 1
Quote ratul Replybullet Topic: Crystal Report log on error
    Posted: 16 Dec 2009 at 5:34am
Hi,

I have crate a crystal Report using 9.1 version. its working properly in Windows Xp. But when I upload in Client machine (Windows 2003) its give "log on failed Error" . I have already gave Network Service, AspNet user etc. permissions to c:\windows\temp folder .And I am also restart the  server. But still the problem not solved. The error is occurred in following line :

crReport.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat,Server.MapPath("pdf/"+s_proposal_id+".pdf"));

Please help me to way out from this problem.

The error  is given bellow :

Server Error in '/' Application.

Logon failed.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

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

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[LogOnException: Logon failed.]
.I(String , EngineExceptionErrorID ) +506
.D(Int16 , Int32 ) +537
CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext) +469
CrystalDecisions.CrystalReports.Engine.FormatEngine.Export() +107
CrystalDecisions.CrystalReports.Engine.ReportDocument.Export() +67

 

Thanks in advance.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.030 seconds.