Home > Crystal Report > Error in File UNKNOWN.RPT

Error in File UNKNOWN.RPT

Crystal Report can be sometimes very tricky. When we faced the following bizarre  error message on a ASP.Net 2 web sites using Crystal 11, we learned that there are unknown undocumented secrets about distributing Crystal object.

Error in File UNKNOWN.RPT: The request could not be submitted for background processing.

We installed a web-application which was working fine on development environment on a Windows 2000 Server and we got following error message:

As far as we know there was no UNKNOWN.RPT in our project so we start searching the web for any hint about the source of the problem. There are number of posts on ASP.Net forum and other web sites about similar problems.

Finally after lots of research, following article turned to be helpful and fixed our problem. Interestingly the error message does not mach the actual addressed issue in the article, also we used Crystal 11, but this article is about Crystal 10.

BusinessObjects: https://boc.sdn.sap.com/node/231%23comment-2457/    (Comment (July 2009)/ this article is no longer available in BusinessObject website.)

Synopsis
A Microsoft Visual Studio .NET application uses Crystal Reports 10 for Visual Studio .NET SDK as the reporting development tool.

When the application is deployed to a computer that does not have a C drive, the following error message appears:
“Load Report Failed”

Why does this error message appear and how can it be resolved?
It is common to not have a C drive on Terminal servers and Citrix servers.

Solution
This error message appears because the application sets registry values that point to the C drive. To resolve the error message, use the following steps to change these registry values in the Registry Editor.

1. On the ‘Start’ menu, click ‘Run’.
2. In the ‘Run’ dialog box, type “Regedit” then click ‘OK’.
3. In the Registry Editor browse to the following subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Crystal Decisions\10.0\Report Application Server\InprocServer\LocalConnectionMgr
4. Right-click the ‘ConnectionDirectoryPath’ string value, then click ‘Modify’.
5. In the ‘Value data’ text box, change “c:\” to the drive letter where the following directory exists (You may need to search your computer to find where this directory exists):
\Program Files\Common Files\Crystal Decisions\2.5\bin
Click ‘OK’.
6. Right-click the ‘LocalConnectionMgr’ subkey, click ‘New’ then click ‘String Value’.
7. Name this String Value “ReportDirectoryPath”.
8. Right-click the ‘ReportDirectoryPath’ string value and click ‘Modify’.
9 In the ‘Value data’ text box, type the same drive letter as you typed in step 5.
====================
NOTE:
After making changes to the registry, restart the affected service or application as required.

Well I will add this solution to my support notes and I guess this is one of those issues that I will face it again on different platforms of windows. The whole problem sounds like a bug and I do not know why BusinessObject hasn’t release any patch to fix it.

Advertisements
Categories: Crystal Report
  1. Ankur Ranpariya
    December 14, 2008 at 6:45 pm

    i got the same error on our local web server, i set all thing as per your blog but it’s not working, we are using ASP.net 2.0 (.net Framework 2.0), IIS 6.0, Pleesk 8.3. and also i checked my registry there is version difference of Crystal report, in our server Crystal Report 10.2 which is bundle in .net 2005,

  2. December 15, 2008 at 9:27 am

    I understand that this error is one of those frustrating problem with Crystal report, but I have no more suggestion rather than searching the BusinessObject forum. In our case the article (https://boc.sdn.sap.com/node/231%23comment-2457/) rectified the problem, but it may be a part of solution and there are some other missing parts.

  3. Prasad
    January 3, 2009 at 10:00 pm

    I am also working with crystal report 9 and vb.net and sql server 2005 as back end.
    Web application is working fine on my company’s web server but it is not working on my clients web server and giving me error as unknown.rpt report cannot be submited to background process. I am really confused, I am not getting why it is happening? Is there any matter of component which might not be installed on clients web server?

  4. January 4, 2009 at 9:08 pm

    In our case fixing the value for LocalConnectionMgr in the registry fixed the problem. I do not think this error caused because of a missing DLL or missing component. It may be a result of a problem in installation of Crystal Report on the server.

  5. January 6, 2009 at 4:19 pm

    Thanks for replying,
    But I don’t have access to their web server. So I can’t re-install crystal report. Is there any other way to solve this problem?

  6. January 6, 2009 at 6:36 pm

    I understand that modifications of registry is not possible by limited access to the server, but I expect every website on the server which uses the crystal report should face this problem. So it make sense to contact the IT support who is in charge of the server and ask for applying the fix to the registry.

    However, I should mention that I tried to replicate this error for further investigation but it did not happen in any other servers. If someone knows how to replicate this problem, I will appreciate to let me know, so we can perform a more thorough investigation.

  7. January 10, 2009 at 2:07 pm

    Thank you sir…
    I also don’t know about how to replicate the error but i will ask my friends and let you know…

  8. Jas Raj Bishnoi
    October 30, 2009 at 1:58 am

    Hi i do work in vs2008 when i use cr then same problem occured ,please solve my problem i am in so so trublem.
    help me
    help me
    Reg. Jas Raj Bishnoi

  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: