cancel
Showing results for 
Search instead for 
Did you mean: 

Export PDF Error - Operation Not Yet Implemented

Former Member
0 Kudos

Dear All,

i am trying to export a crystal report to pdf and it is ending in following error:

Error

Error in File CrystalReportTestBlankReport {D781AF0B-642B-4FB5-BC4B-F05D5934DA2F}.rpt: Operation not yet implemented.

You may test yourself at here : [http://esolutionscurry.co.in/crystalreporttestpage.aspx|http://esolutionscurry.co.in/crystalreporttestpage.aspx]

Please note there are no issues in opening report and exporting to word, rtf and excel. Just PDF export is not working.

My Server Configuration is : windows server 2008 R2 Standard, Dot Net Framework 4 and Plesk Parallel 10.3

I have installed Crystal report 13 (the one that is available for use with Visual Studio 2010)

I am able to export the report from within the Visual Studio Localhost, but this fails in IIS.

Please help.. this issue is killing me everyday.

Thanks in advance..

Regards,

Ankit Singhal

Accepted Solutions (1)

Accepted Solutions (1)

former_member188030
Active Contributor
0 Kudos

Hi,

See if below search helps,

[http://www.sdn.sap.com/irj/scn/advancedsearch?query=operationnotyetimplemented|http://www.sdn.sap.com/irj/scn/advancedsearch?query=operationnotyetimplemented]

Thanks,

Bhushan.

Former Member
0 Kudos

Hi,

Sorry! i am unable to find a relevant / similar problem using the link provided by you.

It looks like nobody has encountered this issue ever before.

May be you can be helpful.

Regards,

Ankit Singhal

former_member188030
Active Contributor
0 Kudos

Does the application target the 64 bit or 32 bit platform? Try installing the appropriate [CR for VS 2010 SP1 runtimes|http://www.sdn.sap.com/irj/sdn/crystal-xcelsius-support?rid=/webcontent/uuid/d01fdad8-44e5-2d10-61ad-9d2d4158f3a8].

Try exporting the report from code, see if it works from the server.

Bhushan.

former_member183750
Active Contributor
0 Kudos

You do not mention if you are using the viewer export button or code to do the export?

My suggestion would be to use [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx]. Filter for your process (else you get insanely huge log files). Then look for file load problems on crxf_pdf.dll, exportmodeller.dlll and crtslv.dll. Also, look for any "Access Denied" errors.

Try a simple one line win app;

CrystalReportViewer1.repoprtSource = <path to report>

You can use saved data report, or let the report prompt for db logon. Then export using the viewer.

- Ludek

Former Member
0 Kudos

You do not mention if you are using the viewer export button or code to do the export?

@ Yes i am using viewer export button. But for your information, from code as well the problem exists.

My suggestion would be to use Process Monitor. Filter for your process (else you get insanely huge log files). Then look for file load problems on crxf_pdf.dll, exportmodeller.dlll and crtslv.dll. Also, look for any "Access Denied" errors.

@ I am unable to find any such errors on "Access Denied"

Try a simple one line win app;

CrystalReportViewer1.repoprtSource = <path to report>

@ This also does not resolves my issue

You can use saved data report, or let the report prompt for db logon. Then export using the viewer.

- Ludek

Former Member
0 Kudos

i tried installing runtimes to latest Service pack from the link given by you. But i got no luck.

still problem is there.

former_member183750
Active Contributor
0 Kudos

Look for crxf_pdf.dll in C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86

is it there?

Add a report to your project, preview the report in the CR designer of the .NET IDE. Preview and export. Does this work?

In ProcMon, do you see exportmodeller.dll, crtslv.dll and crxf_pdf.dll loading?

- Ludek

Former Member
0 Kudos

yes crxf_pdf.dll is at the path your specified.

I am able to run and export the report from Visual Studio IDE

Also, note that i am also able to run the report and export it to all other formats except PDF even from IIS.

You may try yourself here : [http://esolutionscurry.co.in/crystalreporttestpage.aspx|http://esolutionscurry.co.in/crystalreporttestpage.aspx]

When you will click this link the report will be in front of you.

I happened to solve this problem on my previous old server an year back by installing latest version of VC++ runtime. But that time i was using Crystal Report Basic for Visual Studio 2008.

Now since this is an higher and upgraded version, i am unsure which VC++ runtime as required. I tried installing all from microsoft site and windows update, but no luck.

I do not see anything wrong with dll loading.

former_member183750
Active Contributor
0 Kudos

I hit the website - weird...

Now that you mention dependencies, see the KB [1544708 - What are the runtime dependencies for CRVS2010?|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533343334333733303338%7D.do].

But I have my doubts that this is the issue. The symptoms don't add up...

This being a web app, as test, can you try a win app? A simple one line app will do;

CrystalReportViewer1.ReportSource = <path to report>

If you use a saved data report, then you do not need to login to a database. If not, the report will prompt for the db login. I'm just after a possibly different error message or something...

- Ludek

Former Member
0 Kudos

i have tested on windows application and crystal report export to pdf is working with absolutely no issue.

It just worked well....

but still problems is there on website...

what next can be done to rectify the issue?

I am very thankful as you guys are helping...

Cheers!

former_member183750
Active Contributor
0 Kudos

When a Win app works and a Web app fails, 99% of the time it's some sort of a permissions issue. [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] should help there.

You may be even looking at some sort of HTTP issue and in that case an HTTP sniffing utility like [Charles|http://www.charlesproxy.com/download.php] or [Fiddler|http://www.fiddlertool.com/fiddler/] may help.

Wish I could tell you what to look for... it's potentially going to be a tough slog. But I don't have the bandwidth this week to accept any logs to look at these my self. Creating phone case so you get a dedicated engineer on this may be something to consider;

http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyV...

- Ludek

Former Member
0 Kudos

I think you are right about permission issue.

Following your idea, i found that

When i export the report to pdf there exists multiple access denied events and when same report is export to rtf/doc there are no suchevents.

when i gazed into access denied log stack trave, i found crxf_pdf.dll at the bottom in the list.

Also i noticed that a ctm file is trying to gain write access to c: drive and unable to obtain one (in case of pdf export)...

and a similar ctm is trying access to c:\windows\temp with write access and is able to obtain one (in case of rtf/doc)..

so i believe that there is a permission issue.

Also, i have no idea on how to fix this permission issue. Please see following to see more about this trace.

ProcMon Snapshot : [http://iamsonline.co.in/reports/crystal_error.png|http://iamsonline.co.in/reports/crystal_error.png]

Log File (2MB) : [http://iamsonline.co.in/reports/logfile.csv|http://iamsonline.co.in/reports/logfile.csv]

It would be great if you can help me out.

- Ankit

former_member183750
Active Contributor
0 Kudos

Do these reports include some sort of a graphic \ image?

Can you try a report with no graphic \ image?

- Ludek

Former Member
0 Kudos

Report does not contain any images or special fonts.

this is a basic report with only a textfield object.

the textfiled object has a four word sentence in arial font with 10px font size.

i create this sample report for testing purposes only.

please note there is no database connectivity required to run the report.

former_member183750
Active Contributor
0 Kudos

As a test, give the w3wp process full read \ write permissions to c:\ root. Does that help? Looking at the log, I am dubious;

I see this in the log: C:\temp%pd15a8266d_5092_1544.ctm

This looks like the w3wp process is trying to write a .ctm file to c:\temp -> %temp%, but somehow appends the temp to the name of the ctm file -> temp%pd15a8266d_5092_1544.ctm

Perhaps looking at your system variables will be worth the time.

In one of your posts you mention you have the latest CR runtime on that server. How was this runtime installed? What did you do with the earlier CR runtime?

Oh, BTW., you may want to start to consider creating a phone case as we're going nowhere fast here. Phone cases can be created here:

http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyV...

- Ludek

Former Member
0 Kudos

i allowed w2wp full read/write permission to c:\ root and this didn't helped.

I am unable to find any pdf related key/Dword in registry. I searched in HKLM\Software\

Please help in locating exact system variable.

About CR runtime, i have uninstalled previous version before installing latest packs.

I noticed that C:\temp%pd15a8266d_5092_1544.ctm is not getting write permission on C:\ drive as the windows server 2008 r2 is a 64bit OS and it does not allow to create a file in c:\ root with administrator privileges, and w3wp process works in a limited access environment.

Even i am unable to find how can we make CR to use a different drive i.e d:\ for creating temp file.

I am sure your help will drive me to solution of this problem.

Many thanks for your support.

Regards

Ankit

former_member183750
Active Contributor
0 Kudos

Hello Ankit

Even i am unable to find how can we make CR to use a different drive i.e d:\ for creating temp file.

- You can not. Not possible.

I really think it's time to create a phone case... Like I said, this is not moving anywhere fast.

- Ludek

Former Member
0 Kudos

Hello, I had a similar problem, and finally, thanks to this thread I could find the solution.

In development enviroment the application worked, but in production it didn't work (W2k8 with IIS 7 and MVC3 with Crystal Reports 11). When I tried to generate a pdf document I got the error:

Operation not yet implemented.

I tried to solve the trouble by reading a lot of information about CR. I discarded troubles with the font, so I focused in the temp dir in CR. I wanted to avoid give permissons to the application user to the windows temp dir.

Finally I found out there's a registry key that can change the temp directory in CR:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Report Application Server\InprocServer\TempDir

I have an x64 OS, so in the x86, it should be

HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Report Application Server\InprocServer\TempDir

This key doesn't exist by default. I created this with the value: D:\CRTemp, but I keep the same error, but I could check that when I generated the reports, some files appeared in that directory.

So my research continued. Thanks to your advices, I used the Process Monitor to see what was happening, so I could see the real problem. It was that the CR was trying to read a file called D:\CRTEMPReport{.....}.rpt.

So I changed the Key, with a final backslash (D:\CRTemp\). When I changed that, everything worked fine, using that new key.

Maybe my experience can help people with similar troubles.

Thanks for your advices Ludek.

former_member183750
Active Contributor
0 Kudos

Hello Daniel

Many thanks for posting this solution. And an apology  - I know figuring this out took a lot of your time.

Only one thing I have to add to this (just a b it of house cleaning);

CR XI (11.0) is not supported at all on WIN 2008 Server

CR XI R2 (11.5), with SP6 is also not supported (e.g.; was not tested on WIN 2008), however as you discovered it can often be made to work. I wrote a bogon how to get CR XI R2 working on WIN 2008. The blog is a collection of customer experiences, not my testing. And it is specific to the RDC, but may help in other instances also.

- Ludek

former_member183750
Active Contributor
0 Kudos

I also updated the blog with a link to this thread.

- Ludek

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear All,

I have the same issue starting last week after the pacth updates. We are using ASP.Net  / .Net 3.5 frame work/ VS2008  and running on Windows 2008 R2 SP1.

The same reports were running fine until last week before we had the patch updates ( Win 2008).

Below are the steps performed

1. Tried registering the Export related dlls ( ExportModeller.dll etc. )

2. Tried uninstalling and reinstalling CR2008 64X

3. Tried installing VC++ runtine ( VS2005, Vs2008 64, 32 bits). Tried reparing CR . Tried uninstalling and installing it again rebooting .

4. Tried with winform application all other formates like excel, word, rtf everything works except PDF

always gets error ".rpt:Operation not yet implemented"


It would be great help if you help us on this regards


Thanks in advance

ido_millet
Active Contributor
0 Kudos

See

Uninstalling Microsoft Windows Update KB3102429 seems to solve the issue.

Former Member
0 Kudos

Hi

Can you confirm if the solution provided by Ido Millet worked for you? We are having the same issue since yesterday and I see that the Windows Update KB3102429 was installed on the server yesterday. I just wanted to confirm if the solution worked before taking the step to uninstall the update.

Thanks in advance....

Former Member
0 Kudos

Hi

I noticed that in the link provided by Ibo, many have already confirmed that uninstalling the KB worked. Thanks Ibo for the solution. I will try uninstalling the update tonight

Former Member
0 Kudos

Confirm thats works in Windows 7 and Windows Server 2008, uninstall KB3102429  but this is not a solution stable, we need a SAP Fix or patch.

Former Member
0 Kudos

solve temporaly. still microsoft release another update, maybe desactivate automatic updates is better.

Former Member
0 Kudos

Hi Ludek/Ankit

          I am also getting same error with Windows XP OS. My report is working fine if i select any any common font in crystal report but my reqirement for "Helvetica Condensed" font, this font is giving problem with XP-2, But other OS like Win-7 is working fine....

Please give me some suggestion. any thing need to add. For work in XP system.

Thanks,

Nitesh

former_member183750
Active Contributor
0 Kudos

To state the obvious, since it works for other fonts, there is an issue with "Helvetica Condensed". Two reasons come to mind:

1) No permissions to the font

2) The font is licensed and the license does not extend to Adobe (e.g.; it can not be embedded into Adobe PDF)

- Ludek

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Share Your Knowledge in SCN Topic Spaces

Former Member
0 Kudos

Thanks,  Ludek,

But problem only in Win-XP, I am thing if Font issue then it will not work for any OS, but XP have the problem

please give advice,

Thanks,

Nitesh

former_member183750
Active Contributor
0 Kudos

But problem only in Win-XP, I am thing if Font issue then it will not work for any OS

That is a very erroneous statement. Each OS handles fonts differently. Even individual computers using the same OS may handle the same font differently, depending on licensing, etc.

- Ludek