"load report faild" on a win2003 with VS 2003

Hi

Non report works on win2003 , I use win2003 + vs2003 for developing proccess.

I've read the articules about in this site about given permissions to IIS_WPG to the c:\windows\temp folder, I've done but it doesn't work

I have "impersonate="true" " on my webconfig, I can not change that because I use windows autentication

I've create a report on a XP machine and works fine but when I try to run it on a win2003 I got the error listed below

HELPPPPPPPP PLEASEEEEEEEEEEEEEEEEEEEEE
=)============================================

Load report 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.LoadSaveReportException: Load report failed.

Source Error:

Line 341: Me.SqlDataAdapter1.Fill(Me.DataSet11) Line 342: crReportDocument = New ByAWebApp.CrystalReport1Line 343: crReportDocument.SetDataSource(Me.DataSet11)Line 344: Line 345: ''Pass the populated dataset to the report

Source File:C:\Inetpub\wwwroot\ByAWebApp\Ventas\wfLibroVentas.aspx.vb Line:343

Stack Trace:

[LoadSaveReportException: Load report failed.] . F(String , EngineExceptionErrorID ) +272 . B(String , Int32 ) +57 CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob) +1191 CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob) +469 CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(Object value) +266 ByAWebApp.wfLibroVentas.subGeneraRpt() in C:\Inetpub\wwwroot\ByAWebApp\Ventas\wfLibroVentas.aspx.vb:343 ByAWebApp.wfLibroVentas.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\ByAWebApp\Ventas\wfLibroVentas.aspx.vb:315 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +750


Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

[4051 byte] By [SergioT] at [2007-12-16]
# 1
Hello,

Are you referring to this article:

http://support.businessobjects.com/library/kbase/articles/c2017413.asp

If you need to keep the impersonation on, then you will have to make sure that the NT user being impersonated must have the necessary permissions granted. This would be for the %temp% folder as well as any folder the report engine will need to access ie: you are loading the report from a directory on the server.

As a test you could try turning impersonation off to see if the report will load properly.

You can also check out:

http://support.businessobjects.com/library/kbase/articles/c2011621.asp

http://support.businessobjects.com/library/kbase/articles/c2014070.asp

Keith - Business Objects

KeithThomson at 2007-9-9 > top of Msdn Tech,Visual Studio,Crystal Reports for Visual Studio...
# 2
Hi and thanks for your awnser

Can you please explain me who is "user being impersonated " It is the who loged in into the domain or it is an IIS acount? I don't really understand these concept.

Anyway I've found the solution to these problem by giving write-permissions to the "NetworkService" group over the c:\windows\temp folder. It Works

Thanks for your time

Sergio

SergioT at 2007-9-9 > top of Msdn Tech,Visual Studio,Crystal Reports for Visual Studio...

Visual Studio

Site Classified