OCIEnvCreate failed error when previewing report in BIDS

I have installed oracle 11g 32 bit and 11g 64 bit clients on SQL server 2012 and can create linked servers to Oracle databases and query said databases. 
But when in the BIDS environment I cannot create datasources that point at the Oracle databases I get the following error msg
SQL server 2012
Windows server 2012
Oracle administrator client 11g

Hi ghw123,
Thank you for your question. According to your description, you installed oracle 11g 32 bit and 11g 64 bit clients on SQL server 2012, you can create linked servers to Oracle databases and query inside databases, when you use Oracle as data source in BIDS
the error occurred. Base on my research, this error may be caused by two reasons:
DLLs from a previous installation of Oracle Client have been left on the system, causing a conflict.
You may not have read permission to the 'Oracle' folder.
Please try to follow the steps below to solve this issue:
Perform a search for "OCI.DLL" on the local machine. If you find any instances of this file in any location other than your ORACLE_HOME rename or delete it. If in doubt, uninstall the Oracle Client, and then perform the search again. Anything that is leftover
is the culprit.
Grant read and execute permission to the folder 'Oracle' to the ASP.NET user, regrant it if the permission has been granted, then remove the Read Only restriction and restart your machine.
Here are some relevant threads you can reference:
http://forums.asp.net/p/1012052/1353494.aspx
http://social.msdn.microsoft.com/Forums/en-US/373a9207-b8d8-46a8-804a-82c99a3f5ecc/ocienvcreate-failed-with-return-code?forum=vblanguage
If you have any questions, please feel free to let me know.
Best Regards,
Wendy Fu

Similar Messages

  • "Software Usage Metrics initialize failed" error when open Report Manager, after moving ReportServer from SSRS 2008 to SSRS 2012 (Native Mode)

    I've asked this question in SQL Server Upgrade forume, I'm asking here as well:
    Your help is highly appreciated!
    After migrating ReportServer db from 2008 to 2012, when access Report Manager throughhttp://myserver:80/Reports, I got the error below:
    ui!ReportManager_0-3!11d8!02/04/2013-15:19:12:: e ERROR: Software Usage Metrics initialize failed
    The process is below:
    •I successfully installed SQL Server 2012 (64-bit) Enterprise as a Native Mode on a server who runs Windows 7 Enterprise SP1 (64-bit).
    •I restored "ReportServer2008To2012" and "ReportServer2008To2012TempDB" in SSRS 2012 from the db files backed up in SQL 2008. In SSRS 2008, I have SSRS Model, ad-hoc reports based on model, and I also have canned reports built through BIDS
    report server project.
    •I reconfigured both databases' Compatibility level to SQL Server 2012(110) from SQL Server 2008(100).
    •I configured SSRS through Reporting Services Configuration Manager as below:
      > I chosen "Use built-in account:" as Service Account
    > In "Database" tab, I selected "Choose an existing report server database" and choose "ReportServer2008To2012" db, I used "Windows Authentication" (my login has the System Administrator priviledge). I got all 4 parts
    success: Verifying database sku = Success; Generating rights scripts = Success; Applying connection rights = Success; Setting DSN = Success.
    > I went to "Scale-out Deployment" to check if the initializing succeed, I found nothing there.
    Here are what I did from different approaches:
    A •I went to "Encryption Keys" and restored the key I backed up from SSRS 2008, after retoring, I got two initialized instances: One is on my current server (SSRS 2012), the other one is from the old server (SSRS 2008).
       I deleted the old one(SSRS 2008) through "Remove Server" action and kept the one on my current server(SSRS 2012).
       After I restart SSRS service, and tried to connect Report Manager, I got "An internal error occurred on the report server. See the error log for more details."
       I checked the log file, the error is actually "ERROR: Software Usage Metrics initialize failed"
    B •I also tried to "Delete Encrypted Content" and did see the SSRS was initialized through checking it on "Scale-out Deployment", however when I tried to open Report Manager, I got the same error.
    Anyone had the same issue? Any solution? Thanks in advance!

    Your help is highly appreciated!
    After migrating ReportServer db from 2008 to 2012, when access Report Manager through
    http://myserver:80/Reports, I got the error below:
    ui!ReportManager_0-3!11d8!02/04/2013-15:19:12:: e ERROR: Software Usage Metrics initialize failed
    The process is below:
    •I successfully installed SQL Server 2012 (64-bit) Enterprise as a Native Mode on a server who runs Windows 7 Enterprise SP1 (64-bit).
    •I restored "ReportServer2008To2012" and "ReportServer2008To2012TempDB" in SSRS 2012 from the db files backed up in SQL 2008. In SSRS 2008, I have SSRS Model, ad-hoc reports based on model, and I also have canned reports built through BIDS
    report server project.
    •I reconfigured both databases' Compatibility level to SQL Server 2012(110) from SQL Server 2008(100).
    •I configured SSRS through Reporting Services Configuration Manager as below:
     > I chosen "Use built-in account:" as Service Account
     > In "Database" tab, I selected "Choose an existing report server database" and choose "ReportServer2008To2012" db, I used "Windows Authentication" (my login has the System Administrator priviledge). I got all
    4 parts success: Verifying database sku = Success; Generating rights scripts = Success; Applying connection rights = Success; Setting DSN = Success.
     > I went to "Scale-out Deployment" to check if the initializing succeed, I found nothing there.
    Here are what I did from different approaches:
    A •I went to "Encryption Keys" and restored the key I backed up from SSRS 2008, after retoring, I got two initialized instances: One is on my current server (SSRS 2012), the other one is from the old server (SSRS 2008).
       I deleted the old one(SSRS 2008) through "Remove Server" action and kept the one on my current server(SSRS 2012).
       After I restart SSRS service, and tried to connect Report Manager, I got "An internal error occurred on the report server. See the error log for more details."
       I checked the log file, the error is actually "ERROR: Software Usage Metrics initialize failed"
    B •I also tried to "Delete Encrypted Content" and did see the SSRS was initialized through checking it on "Scale-out Deployment", however when I tried to open Report Manager, I got the same error.
    Anyone had the same issue? Any solution? Thanks in advance!

  • Gives me errors when preview report in world.

    Hi Members,
    below is the errors when i try to run and preview report in world.
    any help and suggestion is greatly appriciated.
    ConfFile: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdoconfig.xml
    Font Dir: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    Template: C:\Documents and Settings\nshah\Desktop\GASB_FINANCIAL.rtf
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\Documents and Settings\nshah\Desktop\GASB_Financial_statement.xml
    FOProcessor setLocale: en-us
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
         at RTF2PDF.runRTFto(RTF2PDF.java:708)
         at RTF2PDF.runXDO(RTF2PDF.java:517)
         at RTF2PDF.main(RTF2PDF.java:305)
    Caused by: oracle.xdo.parser.v2.XMLParseException: Attribute 'select' not found in 'xsl:value-of'.
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
    Thanks,

    Did you try the "Validate" function from the Word Template Builder?
    It helps find many of these issues. The only thing that makes it more difficult to use
    is that it tells you onlythe line number in the RTF file.
    So if you don't know which field causes the issue, you need to open the RTF file
    in a text editor like notepad, got to the line number and look for some
    regular text close to it to the error to find where the issue is in the word document.
    Hope that helps,
    Klaus

  • Error when previewing reports with prompts

    "Prompting failed with the following error message: 'Unexpected error.'.
      Error source: Prompt.dll Error code: 0x80043800"
    ... This error occurs when I try to preview a report with parameters being prompted. The parameter fields are just simple text boxes. Error does not occur when parameters are set to null.
    I'm running Crystal Reports XI Release 2 Version 11.5.11.1470 on Windows XP Professional Service Pack 2. Has anyone seen this error? If so how can I resolve it
    Regards,
    Scott

    Hi,
    Try this,
    Title: Error: "List of Values failure"prompt.dll Error code: 0x8004380D"
    Symptom
    In Crystal Reports, reports using List of Values (LOV) based on a Business View are refreshed and after 5 minutes an error message appears:
    Prompting failed with the following error message: "List of Values failure: fail to get values. [ Cause of error: CORBA_SystemException ].
    Error source: prompt.dll Error code: 0x8004380D".
    Cause
    This error message appears because there is a firewall between Crystal Reports and BusinessObjects Enterprise XI that is preventing the LOV from bringing back the data.
    Resolution
    Turn off or disable the firewall.
    Alternately, specify a CORBA port using an updated version of CRLOV.DLL that lets you choose one port for CORBA to use. Obtain the appropriate file  by doing the following:
    Download the file update from the Downloads area of our web site.
    Open C:\Program Files\Common Files\Business Objects\3.0\java\crconfig.xml in a text editor.
    In the <DataDriverCommon> section add <BOEOrbPort>n</BOEOrbPort> where n is the number of the desired inbound port to use for CORBA.
    Enable that port on the firewall to accept inbound traffic (along with the other ones Crystal Reports uses).
    The LOV reports run correctly.
    Thanks,
    Vinay.

  • Swf compilation failed error when previewing/publishing anything

    I am not sure why this keeps happening, but nothing I do fixes this error.  I have had tried creating a new project and same thing happens.  I am using Captivate 6.  Anyone know of a resolution?

    Can you run your Mac update, probably, your Java needs to be updated, Mac has 10.7.5.
    After updating reboot the machine and test it again.
    On windows, when you launch, the Captivate displays that in its name itself.
    Thanks,
    Anjaneai

  • Error in preview report using Crystal Report in SBO 8.81

    Hi friends,
    I face problem when preview report. I import all my report to server and test it to server. When i preview the reports, it can't run well. It preview the error like this.
    Failed to Retrieved data from Database.
    Failed to Retrieved data from Database.
    Error in File Temp {..... LOTS OF LETTERS AND NUMBERS HERE}{..... LOTS OF LETTERS AND NUMBERS HERE}.rpt:
    Failed to Retrieved data from Database.
    I don't know , what it means.
    the query report runs in store procedure then attach it in crystal report.
    Actually , before i import to my user's Server, I test it in my local notebook first. It runs well. I also have tested it in my friend's notebook, it also runs well.
    Does any one know how to solve it ?
    Thanks in advance
    Regards
    KK

    Fyi , The Windows is installed in 64 bit, and the sql server is installed in 32 bits. When i analyze in sql profile the parameter date in the crystal report is converted. But when i run it in my local machine(My notebook), the date parameter is not converted and runs well.
    Is this the main problem , if the SQL server is installed in 32 bits  ?
    Thanks in advance
    Regards
    KK

  • Error when sending report output to printer from Forms 10g

    Hi,
    I have a simple report that I am running from a form using run_report_object built-in. I can successfully send the report output to a file but when I send the report output to a printer my report is
    terminated with report status of 'TERMINATED_WITH_ERROR'. I am using the default forms service and reports server that comes with the forms builder. How do I specify the reports server to user my default network printer ?Following is the code that runs my report.
    Thanks,
    Anna
    PROCEDURE SEND_TO_PRINTER IS
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(50);
    rep_server system_variables.reports_server%type;
    alldone          exception;
    BEGIN
         select reports_server
         into rep_server
         from system_variables;
         if rep_server is null then
              msg_alert('Error getting the reports server name', 'I', FALSE);                
              raise alldone;
         end if;
         :ctrl.run_report_errors := 'N';                    
         repid := find_report_object('REP_OBJ1');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,rep_server);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
         IF :ctrl.rg_print = 'P' THEN
              --Send the output to printer.
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,PRINTER);
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'dflt');
         ELSIF :ctrl.rg_print = 'R' THEN
              --Rich Text Format
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,FILE);
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'rtf');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,:ctrl.filename);
         END IF;
         v_rep := RUN_REPORT_OBJECT(repid);
         rep_status := REPORT_OBJECT_STATUS(v_rep);
         WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
         LOOP
              rep_status := report_object_status(v_rep);
         END LOOP;
         IF rep_status = 'FINISHED' THEN
              null;
         ELSE
              :ctrl.run_report_errors := 'Y';
              msg_alert('Error when running report.' || rep_status, 'I', FALSE);           
         END IF;
    EXCEPTION
         when no_data_found then
              msg_alert('Error getting the reports server name', 'I', FALSE);      
         when alldone then
              null;     
    END;

    If you use Windows the user that runs the reports server is usually LocalSystem. Check this in the Windows Services panel.
    LocalSystem has no printer access. To be able to print, you have to use a real domain user that has access to the printer. So, change the Log on properties in the Services panel.

  • I get a "Short DST" failed error when running test. Laptop will not boot up. Any ideas?

    I get a Short DST failed error when I ran a test.  The laptop won't bootup. All I get is a black screen

    Hi,
    Certainly, the error code will be a Smart or Disk Self Test failure - in either case, it would indicate that the Hard Drive is failing and needs to be replaced.  This is also consistent with the start-up issue.
    One possible way to try and retrieve your files from a non-booting drive is to follow the process detailed in the link below.  The Ubuntu operating system CD you create can run from the CD alone ( ie it doesn't have to install on the Hard Drive ) and I've often found it to be successful in retrieving data even from a failing Hard Drive.  When you've created the CD, follow the instructions and see if you can back up your existing files. 

  • Report Designer - Error when Loading Report

    Hi,
    We have created a report in Report Designer (7.0) and saved it. When we execute it runs fine. After closing the report and trying to reopen it, the report does not open. It gives an error "Error when Loading Report". Our BI frontend patch is 14.
    Did anyone encounter this issue and is there a solution to this.
    Thanks
    Hemant

    Hello,
    Please go to SE38 -> RS_REPORT_MAINTAIN,
    Type your report name, and DT als "Report Type".
    Goto edit mode, copy&paste this XML into txt file and send it to me ([email protected]). I will check whats going on with this report. Loading should be always possible.
    Regards, Karol Kalisz, BI Development

  • Error when linking report to stored procedure defined with one input parm

    Error when linking report to stored procedure defined with one input parameter
    The report will work ok, when the parameter is removed from the stpred procedure
    An unhandled win32 exception occurred in crw32.exe[4480]
    Stored Proc (sql server 2005)
    USE [Allegro]
    GO
    /****** Object:  StoredProcedure [dbo].[SP_Test]    Script Date: 07/08/2009 10:42:14 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER procedure [dbo].[SP_Test](@valuationmode VARCHAR(55)) as
    Begin
    select
         valuation,
         valuationtime,
         valuationmode
    from valuation
    where valuationmode = @valuationmode;
    End;

    This is an example of a stored procedure that is trying to be linked to a new report as the only datasource.
    If I remove the parameter I can create a report, however this will return all of the results of thw query to the report, rather than the desired results. If I add the parameter on the Crystal Report, the stored procedure then has to return all of the results to Crystal and then perform the filtering of records. By using a parameter in the stored procedure, you should be able to do all of the filtering as part of the query on the databse server, making this more efficient.

  • RFC call failed : Error when opening an RFC connection

    Hi,
    As a result of "Start Data Collection" operation in the t-code RZ70, I have got this error.
    "RFC call failed : Error when opening an RFC connection"
    Others things are with success message.
    Regards,
    Bala Raja

    hi
    check this links
    http://help.sap.com/saphelp_nw04s/helpdata/en/9b/da0f41026df223e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/9b/da0f41026df223e10000000a155106/frameset.htm
    also check Tcode: SLDAPICUST.
    run tcode SLDCHECK? any error?
    Thanks
    Rodrigo
    PS: If useful reward points

  • Range of Object Worksheet Failed error when creating variable report

    I have BO Planning version 11.6 and am running it in conjunction with Excel 2007. Every time I try to use the Report Wizard I can create a report the first time with no problems. However, when I exit out of that report and then try to create a new report using the Report Wizard I receive the following error "The following error has occurred: Error No. 1004, Method 'Range' of obejct'_Worksheet' failed". Then a report pops up with no data in it. The error keeps occuring when I try to create new reports until I exit out of Business Objects and open it up again. Then I can create 1 report with no problems.

    Please post this query to the Other Business Objects Products forum:
    SAP BusinessObjects BI Legacy Products
    That forum is monitored by qualified technicians and you will get a faster response there.
    Thank you for your understanding,
    Ludek

  • Error 2032 when previewing report after apgrading to SP3

    Dear experts,
    I have a report that previously worked fine in 2008 SP1FP3 but now errors after upgrading to 2008 SP3. The report connects to an external data source using an XML Data refresh button sending some data to a URL and then loading a data table received back. The error message when previewing the report is as follows:
    Cannot access external data
    An error has occurred.
    For more information , contact the file creator or your system administrator.
    Error: Error no 2032
    Connection Type: XML Data
    Any advice will be appreciated...

    Hi,
    the error 2032 is a general stream error. Did you mark your XML file as trusted in the adobe settings?:
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
    Is the XML file on other domain than yours? Then you will need a crossdomain policy file on the root of that server:
    http://ryangoodman.net/blog/index.php/2008/04/25/xcelsius_2008_cross_domain_policy_change
    Regards
    Victor

  • Logon Failed Error in Crystal Reports

    Hiii Experts, 
                    We are facing one error while working on crystal reports 2008 and SAP Version 8.8-PL18 and SAP 8.81-PL 9
    "Logon Failed"  Error comes  even when we add all connection details correctly in connection details window, sometimes it comes some time not.
              We face this error when,
    1) When verifying the database in Crystal reports.
    2)When we are saving any particular report in sap B1.
    3)It comes when we try to set the database Location in Crystal Reports.
    4)Also,when we are trying to view preview of report.
                    This problem is too much time consuming and irregular. We are not able to find exact cause. Please, help  us.
    Edited by: suhas.patil on Jan 24, 2012 3:54 PM

    Hi Suhas,
    when making a test, its always a good practice to test in the same PL, or in a Higher PL.
    anyways, you need to update your Datasource, from your CR IDE goto Database -->> Set Datasource Location. then use either of the 2
    1. OLE DB (ADO) - Driver (SQL Server Native Client 10.0)
    2. SAP Business One
    and update your datasource accordingly.
    rergards,
    Fidel

  • Error when exporting reports using MAPI

    We created a .NET class that wraps CR 2010 .NET Crystal Reports functions and made it COM visible. This class is used to create a COM object in a js script which in turn used to export reports to a PDF file with the destination MAPI.
    It exports reports just fine without any errors however if prior to instantiation the exporting class we instantiate a class that has nothing to do with the Crystal Reports functions, our exporting object throws u201CExternal component has thrown an exception.u201D error when exporting. It appears that it has something to do with the SideBySide feature. I was wondering if somebody knows what causes this and if there is a way to fix this problem.
    Thanks for your help!
    <br>
    <br>
    Below are 2 procmon.exe outputs, the first when exporting works and the second when it doesnu2019t
    <br>
    <br>
    <br>
    1) Procmon.exe output when exporting works fine
    <br>
    <br>
    <br>HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     Desired Access: Read
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\CommonFilesDir     SUCCESS     Type: REG_SZ, Length: 72, Data: C:\Program Files (x86)\Common Files
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     FAST IO DISALLOWED     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>7:16:30.7403615 AM     test.exe     4396     FASTIO_QUERY_INFORMATION     C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     Type: QueryBasicInformationFile, CreationTime: 9/17/2010 10:50:22 AM, LastAccessTime: 11/10/2010 5:47:02 PM, LastWriteTime: 9/17/2010 10:50:22 AM, ChangeTime: 2/17/2011 11:04:53 AM, FileAttributes: A
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Read Data/List Directory, Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     FILE LOCKED WITH ONLY READERS     SyncType: SyncTypeCreateSection, PageProtection:
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     SyncType: SyncTypeOther
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Image Base: 0x79260000, Image Size: 0x1073000
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     Type: QueryNameInformationFile, Name: \Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide     SUCCESS     Desired Access: Read
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide     SUCCESS     KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide\PreferExternalManifest     NAME NOT FOUND     Length: 20
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     Type: QueryBasicInformationFile, CreationTime: 9/17/2010 10:50:22 AM, LastAccessTime: 11/10/2010 5:47:02 PM, LastWriteTime: 9/17/2010 10:50:22 AM, ChangeTime: 2/17/2011 11:04:53 AM, FileAttributes: A
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>
    <br>
    <br>//////////////////////////////////////////////////////////////////////
    <br>2) Procmon.exe output when exporting doesnu2019t work, notice that it tries to open MSO.dll at the same location as in the output above but fails, it tries then to open it at several other locations and fails
    <br>
    <br>
    <br>HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     Desired Access: Read
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\CommonFilesDir     SUCCESS     Type: REG_SZ, Length: 72, Data: C:\Program Files (x86)\Common Files
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     FAST IO DISALLOWED     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     Type: QueryBasicInformationFile, CreationTime: 9/17/2010 10:50:22 AM, LastAccessTime: 11/10/2010 5:47:02 PM, LastWriteTime: 9/17/2010 10:50:22 AM, ChangeTime: 2/17/2011 11:04:53 AM, FileAttributes: A
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Read Data/List Directory, Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     FILE LOCKED WITH ONLY READERS     SyncType: SyncTypeCreateSection, PageProtection:
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     SyncType: SyncTypeOther
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Users\Paul\projects\temp\test\Debug\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Users\Paul\projects\temp\test\Debug\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    <br>C:\Program Files (x86)\Microsoft Office\Office12\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Program Files (x86)\Microsoft Office\Office12\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    <br>C:\Windows\SysWOW64\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Windows\SysWOW64\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    <br>C:\Windows\system\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Windows\system\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    <br>C:\Windows\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Windows\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a

    I tried to run exporting code in a .net application and got the same error. I first created the COM object that causes the problem and then ran exporting CR functions. It works fine if I run the code without creating the COM object.
    Below is the code I used.
                Type objClassType = Type.GetTypeFromProgID("ebms.main");
                object objMain = Activator.CreateInstance(objClassType);
                try
                    object[] p = new object[4];
                    p[0] = "C:\\ebms\\co1";
                    p[1] = "C:\\ebms\\co1";
                    p[2] = "Administrator";
                    p[3] = "";
                    objClassType.InvokeMember("LoginToCompany", System.Reflection.BindingFlags.InvokeMethod, null, objMain, p);
                catch (Exception ex)
                this.RPTDoc = new ReportDocument();
                this.RPTDoc.Load(@"C:\\Users\\Paul\\Desktop\\AR Customer List.rpt");
                PdfRtfWordFormatOptions pdfOpts = ExportOptions.CreatePdfRtfWordFormatOptions();
                MicrosoftMailDestinationOptions mailOpts = ExportOptions.CreateMicrosoftMailDestinationOptions();
                ExportOptions exportOpts = new ExportOptions();
                pdfOpts.UsePageRange = false;
                exportOpts.ExportFormatOptions = pdfOpts;
                mailOpts.MailMessage = "something";
                mailOpts.MailSubject = "something";
                mailOpts.MailToList = "emailaddress";
                exportOpts.ExportDestinationOptions = mailOpts;
                exportOpts.ExportDestinationType = ExportDestinationType.MicrosoftMail;
                exportOpts.ExportFormatType = ExportFormatType.PortableDocFormat;
                try
                    this.RPTDoc.Export(exportOpts);
                catch (Exception ex)
                    MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);

Maybe you are looking for