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.