Click here to Skip to main content
15,894,740 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my project I am using Crystal report. I give the following coding for load report

C#
rptdoc = new ReportDocument();    rptdoc.Load(Server.MapPath("LedgerReport.rpt"));    rptdoc.SetDataSource(ds.Tables[0])   rptdoc.ExportToHttpResponse(ExportFormatType.PortableDocFormat, this.Response, false, "LedgerReport.pdf");
CrTables = rptdoc.Database.Tables
connectdatabase1();
CrystalReportViewer1.ReportSource = rptdoc;


It is working correctly on local machine. But in the online the error display's like that
CSS
Error in File c:\temp\LedgerReport {345EA6B4-A400-4A75-A28B-9CBC0715C631}.rpt:
Operation not yet implemented.
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 c:\temp\LedgerReport {345EA6B4-A400-4A75-A28B-9CBC0715C631}.rpt:
Operation not yet implemented.

Line 141:        rptdoc.ExportToHttpResponse(ExportFormatType.PortableDocFormat, this.Response, false, "LedgerReport.pdf");


I had upload aspnet_client folder also. But no use it is not working
Please help anyone for solve this problem.
Posted

According to google, this means the COM dlls "Exportmodeller.dll" and "Tslv.dll" are not registered, or perhaps not present, on your server.
 
Share this answer
 
Comments
devausha 6-Aug-12 5:56am    
Thanks for your reply. I upload that both file to my online bin directory.
But still now the error is displayed like that,the error code is different

c:\temp\LedgerReport {C69CB0D1-FF9C-42A5-AAA1-0C43B72CE4F0}.rpt:
Operation not yet implemented.

devausha 6-Aug-12 6:19am    
Every time I run the file error code is changed why it is ? please help me
i think you will get error due to server.mappath function .it will return physical path.
just change with virtual path like http:\\domainname\\foldertree\\report.rpt
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900