Link to home
Start Free TrialLog in
Avatar of Pablo_Braga
Pablo_Braga

asked on

CR XI x Windows 2003 Server - The request could not be submitted for background processing

Hi,

I have an app developed with VS 2003 (asp.net) and Crystal Reports XI. When I try to view a report on the server machine (Win 2003 Server), I get the following error:


Server Error in '/PeopleNET' Application.
--------------------------------------------------------------------------------

Error in File UNKNOWN.RPT: The request could not be submitted for background processing.
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: System.Runtime.InteropServices.COMException: Error in File UNKNOWN.RPT: The request could not be submitted for background processing.

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:


[COMException (0x800002ad): Error in File UNKNOWN.RPT:
The request could not be submitted for background processing.]
   CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +72
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +218

[Exception: Load report failed.]
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +270
   CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +857
   CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod) +53
   PeopleNet.visualizador.Page_Load(Object sender, EventArgs e) +127
   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.2300; ASP.NET Version:1.1.4322.2300


It's work fine on developer machine (Win XP). I've read the articles on Business Objects's site, but it still not working.
I've read something about permissions on c:\windows\temp directory.

I really don't know what do... I need help !

Thanks.

Pablo Braga
Rio de Janeiro - Brazil
Avatar of Mike McCracken
Mike McCracken

Avatar of Pablo_Braga

ASKER

Hi,

No, I'm using CR XI release 1. I'm using Visual Studio 2003. I've found the following note on the second link:

Note: If you are not using Visual Studio 2005, you don't need Crystal Reports XI Release 2. It's not significantly different from Crystal Reports XI (Release 1).

What you suggest I do ?

Thanks,

Pablo
Going by the error I guess the app doesn't  have the ntfs rights to the report. it fine on xp, since that's still a  pretty normal os, but 2003 is so much more secure. to find out, you could run filemon while the error occurs. filemon creates a log of all file and folder activity (ie read/write) together with an error message should things go wrong. so i suspect you see soemthing like "file access" for the .rpt

Filemon is available free of charge from sysinternals. just search for it on google, i think the first page will already be teh download page. Once on that page you have to go to the very bottom to get the actual download link.
Hi Ewaldl,

I´ve install and run Filemon (actually I'm going to examine over 3000 lines of log...). In one of the lines, the line below (and several others) show your suspect:

10:50:51      w3wp.exe:2260      OPEN      C:\Documents and Settings\Default User\Local Settings\Temporary Internet Files      ACCESS DENIED      NT AUTHORITY\NETWORK SERVICE      

And now ? Let me explain the structure of my server:

1) 2 partitions: C: and E:
2) The default web site isn't c:\inetpub\wwwroot. I create another website on drive e:, named "web" (e:\web)
3) In order to run the app, I need to grant access to the users ASPNET and NETWORK SERVICE to the app folder.

What do you suggest ? I think I need to grant access to NETWORK SERVICE to C:\Documents and Settings.

Thanks,

Pablo
Ewaldl,

Finally it works !!!!!!!!!

I've granted access to NETWORK SERVICE only to C:\Documents and Settings and it didn't work, then I've granted access to NETWORK SERVICE to C: (root direcotory) and the report was showed.

My doubt is: what about security in this case ? I've granted default permissions to NETWORK SERVICE (Read & Execute, List folder contents, Read). Is this secure ?

Thanks for your contribution. I'll be waiting your commnet in order to close this question.

Pablo




ASKER CERTIFIED SOLUTION
Avatar of EwaldL
EwaldL

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok !

Thanks.

Pablo