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.InteropServ ices.COMEx ception: 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.ReportApp Server.Cli entDoc.Rep ortClientD ocumentCla ss.Open(Ob ject& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportApp Server.Rep ortClientD ocumentWra pper.Open( Object& DocumentPath, Int32 Options) +72
CrystalDecisions.ReportApp Server.Rep ortClientD ocumentWra pper.Ensur eDocumentI sOpened() +218
[Exception: Load report failed.]
CrystalDecisions.ReportApp Server.Rep ortClientD ocumentWra pper.Ensur eDocumentI sOpened() +270
CrystalDecisions.CrystalRe ports.Engi ne.ReportD ocument.Lo ad(String filename, OpenReportMethod openMethod, Int16 parentJob) +857
CrystalDecisions.CrystalRe ports.Engi ne.ReportD ocument.Lo ad(String filename, OpenReportMethod openMethod) +53
PeopleNet.visualizador.Pag e_Load(Obj ect sender, EventArgs e) +127
System.Web.UI.Control.OnLo ad(EventAr gs e) +67
System.Web.UI.Control.Load Recursive( ) +35
System.Web.UI.Page.Process RequestMai n() +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
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.InteropServ
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.ReportApp
CrystalDecisions.ReportApp
CrystalDecisions.ReportApp
[Exception: Load report failed.]
CrystalDecisions.ReportApp
CrystalDecisions.CrystalRe
CrystalDecisions.CrystalRe
PeopleNet.visualizador.Pag
System.Web.UI.Control.OnLo
System.Web.UI.Control.Load
System.Web.UI.Page.Process
--------------------------
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
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
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.
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.
ASKER
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
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
ASKER
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok !
Thanks.
Pablo
Thanks.
Pablo
This may be useful
http://support.businessobjects.com/communityCS/TechnicalPapers/crxi_r2_net_deployment.pdf.asp
http://www.businessobjects.com/products/reporting/crystalreports/compatibility_vs2005.asp
mlmcc