473,738 Members | 3,854 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error with Crystal Reports? Help

I have a page that uses crystal reports to generate reports from a SQl
server database. As of a week ago everything was working fine, but now I am
all of the sudden getting errors. To the best of my knowledge nothing was
changed on the server.

Here is the error:

Error in File C:\DOCUME~1\WEB SERVER\ASPNET\L ocal
Settings\Temp\t emp_57908cf8-dba0-4327-b785-95de5cf6e523.rp t: Invalid export
DLL or export format.
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:
CrystalDecision s.CrystalReport s.Engine.Invali dArgumentExcept ion: Error in
File C:\DOCUME~1\PLU TO\ASPNET\Local
Settings\Temp\t emp_57908cf8-dba0-4327-b785-95de5cf6e523.rp t: Invalid export
DLL or export format.

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:
[InvalidArgument Exception: Error in File C:\DOCUME~1\PLU TO\ASPNET\Local
Settings\Temp\t emp_57908cf8-dba0-4327-b785-95de5cf6e523.rp t:
Invalid export DLL or export format.]
.F(String  , EngineException ErrorID 
) +406
.A(Int16 , Int32 ) +537

CrystalDecision s.CrystalReport s.Engine.Format Engine.internal SetExportOption s
(ExportOptions exportOptions) +3403

CrystalDecision s.CrystalReport s.Engine.Format Engine.Export(E xportRequestCon t
ext reqContext) +262
CrystalDecision s.CrystalReport s.Engine.Format Engine.Export() +107
CrystalDecision s.CrystalReport s.Engine.Report Document.Export () +67
Bonds_Reports.W ebForm1.convert ToPDF() +215
Bonds_Reports.W ebForm1.ddlSort _SelectedIndexC hanged(Object sender,
EventArgs e) +135
System.Web.UI.W ebControls.List Control.OnSelec tedIndexChanged (EventArgs e)
+108

System.Web.UI.W ebControls.Drop DownList.System .Web.UI.IPostBa ckDataHandler.R a
isePostDataChan gedEvent() +26
System.Web.UI.P age.RaiseChange dEvents() +115
System.Web.UI.P age.ProcessRequ estMain() +1081


----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET
Version:1.1.4

Does anyone understand what might be happening?
Nov 18 '05 #1
3 2823
Perhaps someone can see a flaw in my code for exporting the files to pdf:

private void convertToPDF()
{

CrystalDecision s.Shared.DiskFi leDestinationOp tions DiskOpts = new
CrystalDecision s.Shared.DiskFi leDestinationOp tions();
sqlSelectComman d1.Parameters["@date1"].Value =
DateTime.Parse( TextBox1.Text);
sqlSelectComman d1.Parameters["@date2"].Value =
DateTime.Parse( TextBox2.Text);
BondExpiration oRpt = new BondExpiration( );
oRpt.SetDataSou rce(dsBondExpir ation1);
oRpt.ExportOpti ons.ExportDesti nationType =
CrystalDecision s.Shared.Export DestinationType .DiskFile;
oRpt.ExportOpti ons.ExportForma tType =
CrystalDecision s.Shared.Export FormatType.Port ableDocFormat;
string FilePath = Server.MapPath( @".\Report\" ) + "BondExpiration .pdf";
DiskOpts.DiskFi leName = FilePath;
oRpt.ExportOpti ons.Destination Options = DiskOpts;
oRpt.Export();
CrystalReportVi ewer1.ReportSou rce = oRpt;
CrystalReportVi ewer1.Visible = true;
CrystalReportVi ewer1.DataBind( );
}

Like I said, it used to work on my production server and still works on my
development machine. The only major difference between the 2 machines is
the production server is running Window 2000 Server and production is
Windows XP Pro.
"Russ" <ru**@NOSPAMaco rdiamn.com> wrote in message
news:uw******** ******@TK2MSFTN GP10.phx.gbl...
I have a page that uses crystal reports to generate reports from a SQl
server database. As of a week ago everything was working fine, but now I am all of the sudden getting errors. To the best of my knowledge nothing was
changed on the server.

Here is the error:

Error in File C:\DOCUME~1\WEB SERVER\ASPNET\L ocal
Settings\Temp\t emp_57908cf8-dba0-4327-b785-95de5cf6e523.rp t: Invalid export DLL or export format.
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:
CrystalDecision s.CrystalReport s.Engine.Invali dArgumentExcept ion: Error in
File C:\DOCUME~1\PLU TO\ASPNET\Local
Settings\Temp\t emp_57908cf8-dba0-4327-b785-95de5cf6e523.rp t: Invalid export DLL or export format.

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:
[InvalidArgument Exception: Error in File C:\DOCUME~1\PLU TO\ASPNET\Local
Settings\Temp\t emp_57908cf8-dba0-4327-b785-95de5cf6e523.rp t:
Invalid export DLL or export format.]
.F(String  , EngineException ErrorID 
) +406
.A(Int16 , Int32 ) +537

CrystalDecision s.CrystalReport s.Engine.Format Engine.internal SetExportOption s (ExportOptions exportOptions) +3403

CrystalDecision s.CrystalReport s.Engine.Format Engine.Export(E xportRequestCon t ext reqContext) +262
CrystalDecision s.CrystalReport s.Engine.Format Engine.Export() +107
CrystalDecision s.CrystalReport s.Engine.Report Document.Export () +67
Bonds_Reports.W ebForm1.convert ToPDF() +215
Bonds_Reports.W ebForm1.ddlSort _SelectedIndexC hanged(Object sender,
EventArgs e) +135
System.Web.UI.W ebControls.List Control.OnSelec tedIndexChanged (EventArgs e) +108

System.Web.UI.W ebControls.Drop DownList.System .Web.UI.IPostBa ckDataHandler.R a isePostDataChan gedEvent() +26
System.Web.UI.P age.RaiseChange dEvents() +115
System.Web.UI.P age.ProcessRequ estMain() +1081


-------------------------------------------------------------------------- -- ----
Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET Version:1.1.4

Does anyone understand what might be happening?

Nov 18 '05 #2
Hi
http://support.crystaldecisions.com/...s/c2007034.asp

"Russ" <ru**@NOSPAMaco rdiamn.com> wrote in message news:<e#******* *******@TK2MSFT NGP11.phx.gbl>. ..
Perhaps someone can see a flaw in my code for exporting the files to pdf:

private void convertToPDF()
{

CrystalDecision s.Shared.DiskFi leDestinationOp tions DiskOpts = new
CrystalDecision s.Shared.DiskFi leDestinationOp tions();
sqlSelectComman d1.Parameters["@date1"].Value =
DateTime.Parse( TextBox1.Text);
sqlSelectComman d1.Parameters["@date2"].Value =
DateTime.Parse( TextBox2.Text);
BondExpiration oRpt = new BondExpiration( );
oRpt.SetDataSou rce(dsBondExpir ation1);
oRpt.ExportOpti ons.ExportDesti nationType =
CrystalDecision s.Shared.Export DestinationType .DiskFile;
oRpt.ExportOpti ons.ExportForma tType =
CrystalDecision s.Shared.Export FormatType.Port ableDocFormat;
string FilePath = Server.MapPath( @".\Report\" ) + "BondExpiration .pdf";
DiskOpts.DiskFi leName = FilePath;
oRpt.ExportOpti ons.Destination Options = DiskOpts;
oRpt.Export();
CrystalReportVi ewer1.ReportSou rce = oRpt;
CrystalReportVi ewer1.Visible = true;
CrystalReportVi ewer1.DataBind( );
}

Like I said, it used to work on my production server and still works on my
development machine. The only major difference between the 2 machines is
the production server is running Window 2000 Server and production is
Windows XP Pro.
"Russ" <ru**@NOSPAMaco rdiamn.com> wrote in message
news:uw******** ******@TK2MSFTN GP10.phx.gbl...
I have a page that uses crystal reports to generate reports from a SQl
server database. As of a week ago everything was working fine, but now I

am
all of the sudden getting errors. To the best of my knowledge nothing was
changed on the server.

Here is the error:

Error in File C:\DOCUME~1\WEB SERVER\ASPNET\L ocal
Settings\Temp\t emp_57908cf8-dba0-4327-b785-95de5cf6e523.rp t: Invalid

export
DLL or export format.
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:
CrystalDecision s.CrystalReport s.Engine.Invali dArgumentExcept ion: Error in
File C:\DOCUME~1\PLU TO\ASPNET\Local
Settings\Temp\t emp_57908cf8-dba0-4327-b785-95de5cf6e523.rp t: Invalid

export
DLL or export format.

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:
[InvalidArgument Exception: Error in File C:\DOCUME~1\PLU TO\ASPNET\Local
Settings\Temp\t emp_57908cf8-dba0-4327-b785-95de5cf6e523.rp t:
Invalid export DLL or export format.]
. F(String , EngineException ErrorID
) +406
. A(Int16 , Int32 ) +537

CrystalDecision s.CrystalReport s.Engine.Format Engine.internal SetExportOption s
(ExportOptions exportOptions) +3403

CrystalDecision s.CrystalReport s.Engine.Format Engine.Export(E xportRequestCon t
ext reqContext) +262
CrystalDecision s.CrystalReport s.Engine.Format Engine.Export() +107
CrystalDecision s.CrystalReport s.Engine.Report Document.Export () +67
Bonds_Reports.W ebForm1.convert ToPDF() +215
Bonds_Reports.W ebForm1.ddlSort _SelectedIndexC hanged(Object sender,
EventArgs e) +135
System.Web.UI.W ebControls.List Control.OnSelec tedIndexChanged (EventArgs

e)
+108

System.Web.UI.W ebControls.Drop DownList.System .Web.UI.IPostBa ckDataHandler.R a
isePostDataChan gedEvent() +26
System.Web.UI.P age.RaiseChange dEvents() +115
System.Web.UI.P age.ProcessRequ estMain() +1081


--------------------------------------------------------------------------

--
----
Version Information: Microsoft .NET Framework Version:1.1.432 2.573;

ASP.NET
Version:1.1.4

Does anyone understand what might be happening?

Nov 18 '05 #3
Hi...

Pl. make sure the cystal report for .Net is installed on your production
server.

Which model have you used in your crystal report? Push or pull???

Do you have the same database name in bothe developement and production
server...

Are you deleteing the temp files generated after each export?...

pl. try that....
"A.Hadi" <ah****@hotmail .com> wrote in message
news:59******** *************** ***@posting.goo gle.com...
Hi
http://support.crystaldecisions.com/...s/c2007034.asp

"Russ" <ru**@NOSPAMaco rdiamn.com> wrote in message

news:<e#******* *******@TK2MSFT NGP11.phx.gbl>. ..
Perhaps someone can see a flaw in my code for exporting the files to pdf:

private void convertToPDF()
{

CrystalDecision s.Shared.DiskFi leDestinationOp tions DiskOpts = new
CrystalDecision s.Shared.DiskFi leDestinationOp tions();
sqlSelectComman d1.Parameters["@date1"].Value =
DateTime.Parse( TextBox1.Text);
sqlSelectComman d1.Parameters["@date2"].Value =
DateTime.Parse( TextBox2.Text);
BondExpiration oRpt = new BondExpiration( );
oRpt.SetDataSou rce(dsBondExpir ation1);
oRpt.ExportOpti ons.ExportDesti nationType =
CrystalDecision s.Shared.Export DestinationType .DiskFile;
oRpt.ExportOpti ons.ExportForma tType =
CrystalDecision s.Shared.Export FormatType.Port ableDocFormat;
string FilePath = Server.MapPath( @".\Report\" ) + "BondExpiration .pdf"; DiskOpts.DiskFi leName = FilePath;
oRpt.ExportOpti ons.Destination Options = DiskOpts;
oRpt.Export();
CrystalReportVi ewer1.ReportSou rce = oRpt;
CrystalReportVi ewer1.Visible = true;
CrystalReportVi ewer1.DataBind( );
}

Like I said, it used to work on my production server and still works on my development machine. The only major difference between the 2 machines is the production server is running Window 2000 Server and production is
Windows XP Pro.
"Russ" <ru**@NOSPAMaco rdiamn.com> wrote in message
news:uw******** ******@TK2MSFTN GP10.phx.gbl...
I have a page that uses crystal reports to generate reports from a SQl
server database. As of a week ago everything was working fine, but now I
am
all of the sudden getting errors. To the best of my knowledge nothing
was changed on the server.

Here is the error:

Error in File C:\DOCUME~1\WEB SERVER\ASPNET\L ocal
Settings\Temp\t emp_57908cf8-dba0-4327-b785-95de5cf6e523.rp t: Invalid

export
DLL or export format.
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:
CrystalDecision s.CrystalReport s.Engine.Invali dArgumentExcept ion: Error in File C:\DOCUME~1\PLU TO\ASPNET\Local
Settings\Temp\t emp_57908cf8-dba0-4327-b785-95de5cf6e523.rp t: Invalid

export
DLL or export format.

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:
[InvalidArgument Exception: Error in File
C:\DOCUME~1\PLU TO\ASPNET\Local Settings\Temp\t emp_57908cf8-dba0-4327-b785-95de5cf6e523.rp t:
Invalid export DLL or export format.]
. F(String , EngineException ErrorID
) +406
. A(Int16 , Int32 ) +537

CrystalDecision s.CrystalReport s.Engine.Format Engine.internal SetExportOption s
(ExportOptions exportOptions) +3403

CrystalDecision s.CrystalReport s.Engine.Format Engine.Export(E xportRequestCon t
ext reqContext) +262
CrystalDecision s.CrystalReport s.Engine.Format Engine.Export() +107
CrystalDecision s.CrystalReport s.Engine.Report Document.Export () +67
Bonds_Reports.W ebForm1.convert ToPDF() +215
Bonds_Reports.W ebForm1.ddlSort _SelectedIndexC hanged(Object sender,
EventArgs e) +135
System.Web.UI.W ebControls.List Control.OnSelec tedIndexChanged (EventArgs e)
+108

System.Web.UI.W ebControls.Drop DownList.System .Web.UI.IPostBa ckDataHandler.R a isePostDataChan gedEvent() +26
System.Web.UI.P age.RaiseChange dEvents() +115
System.Web.UI.P age.ProcessRequ estMain() +1081

--------------------------------------------------------------------------
--
----
Version Information: Microsoft .NET Framework Version:1.1.432 2.573;

ASP.NET
Version:1.1.4

Does anyone understand what might be happening?

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5836
by: Ron Holmes | last post by:
I posted this question on the Crystal Reports Support site and I am still waiting for an answer. Using Crystal Reports 9.0 Developer Full edition: My Crystal report .RPT file has a Picture box which is an OLE Object located in the Page Header section of my .RPT file. This is the call which works perfectly in VB6 to format the crystal reports Page Header section of my report file EquipLst.rpt.
6
1166
by: mf_sina | last post by:
Hi all! Why programs i have designed on my PC using MS visual studio .Net runs on my computer but can't run on other computers? now i have installed .net framework on them but crystal reports still return error? What is wrong with me and also i need to know if there is a fully functional version of .net framework? Best wishes.
2
2060
by: Volkan Karaboða | last post by:
I have an aspx that contains a report prepared with crystal report, when I try to run myapp. on another server which has no crystal report tool installed on it. I receive following error code even I copid crystal's dll files bin directory of myapp. Error:"CrystalDecisions.CrystalReports.Engine.InternalException: Cannot find KeycodeV2.dll, or invalid keycode." What is the matter?? Could you help me please!
7
5016
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying. I created the websetup and built the MSI, have the bundled version. Copied to webserver and ran Websetup.msi. Said I had to remove old version, which I did, then reran WebSetup.msi and keeps giving me this error. "The installer was interrupted...
7
8752
by: mrwoopey | last post by:
I have a asp.net application that uses the crystal report viewer control. It displays all of my reports but all of a sudden it started giving me the following error on ONLY two reports: "Fail to render the page" I can view the reports with within Crystal Reports. The same issue was posted here with no solution:
0
1705
by: T.J. | last post by:
I have gotten great help here in the past, and after searching and researching this error, I felt I would turn to the board and see if I could come across any further assistance. Any advice will be greatly appreciated. I have a VB.Net project that has a List Box Control that lists out all Crystal Reports stored in the project's /bin folder (all .rpt files). Once one of the report names are double clicked the Crystal Report Viewer...
2
8689
by: matt | last post by:
hello, i have an .RPT file that i am using to load a report via the ASP.NET CrystalReportViewer control. i dont include my .RPTs as embedded resources...instead i load the absolute path of the .rpt (on the file system) to the control's ".ReportSource" property. i do this because i like to move new versions of the reports w/o having to rebuild the site. then i pass in filter criteria to the control's ".SelectionFormula"
6
4894
by: Miro | last post by:
I can run an exe ( and its install ) i have created on my machine. The exe has a button that populates a dataset and then shoots it to a crystal report. But... Installing the setup.exe on my other pc, and running it I get an error. The Dataset loads properly, but when the button is pushed to view the report I get this error: ************** Exception Text **************
4
3313
by: Miro | last post by:
<i have also added this reply to the other newsgroup - now that I have realizd ( and assuming ) it is not a localized error directly to vb.> I have found this link on the website: https://www.sdn.sap.com/irj/sdn/businessobjects-downloads ..NET Utility CR 2008 Merge Modules for the .NET Framework ZIP 74.716 Windows English 12.03.2008 and it states:
1
8144
by: =?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?= | last post by:
On reflection, you could possibly make the app a self extracting zip file which extracts the EXE and a settings file and then starts the app, then when you app closes, it can repack the settings file and itself into the exe. You would probably want a tool for this bit which could be in the zip too. So the app isnt single exe when running but when not running, it is. Just an idea for you to think about. Another option would possibly be to...
0
9334
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9259
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9208
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8208
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6750
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4569
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4824
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3279
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.