Error when exporting to flat file in ODI 11g

This works ok in ODI 10g. I'm using IKM SQL to File Append on Windows Server 2008 R2
Getting the following error when exporting to a flat file in ODI 11g: ODI-40406: Bytes are too big for array
I've seen a couple of threads like this on the forum, but I've never seen an answer to the problem.

Problem is with the difference in behaviour for the IKM SQL to File Append KM between 10g and 11g.
Our 10g target file datastore had a mixture of fixed string and numeric columns. Mapping from the source to target was simple one to one column mapping. It generated the desired fixed format flat file; numerics were right adjusted with embedded decimal point and leading spaces. Each numeric column in the generated flat file occupied the exact space allocated to it in the layout. This gave the desired results, even though documentation for the 10g IKM states that all columns in the target must be string.
When we converted to 11g and tried to run this interface, it generated an error on the "numeric" columns because it was wrapping them in quotation marks. The result column was being treated as string, and it was larger than the defined target once it acquired those quotation marks.
In order to get 11g to work, I had to change all the numeric columns in the target data store to fixedstring 30. I then had to change the mapping for these numeric columns to convert them to right adjusted character strings (i.e. RIGHT(SPACE(30) + RTRIM(MyNumericColumn),30).
Now it works.

Similar Messages

  • Error when loading a flat file

    Hello,
    I am trying to load a flat file into our BW for the first time.  I keep getting the error:
    Error 1 when loading external data
    Message no. RSAR234
    I have search SDN and looked at the OSS notes and have tried several suggestions, but I still cannot get the file to load.  We are currently on version 3.5.
    My transfer structure and flat file do match.
    My transfer structure for IO_MAT_ATTR has a transfer method of PSA and is laid out as follows:
    IO_MAT                      Material Number          IO_MAT
    IO_MATNM     Material Name          IO_MATNM
    IO_MAT is: CHAR 15
    IO_MATNM is: CHAR 30
    My flat file is saved as a CSV and is as follows:
    MATONE,TEA
    MATTWO,COFFEE
    My file is saved on my local PC and is not open when I try to load it.  When I attempt to preview the file in my infopackage, I get the same error there as well.
    Any suggestions would be greatly appreciated.
    Thanks
    Charla

    Hi Charla,
    Error 1 means that the system is unable to access the file. Make sure that the path is correct and also check if the data separator is correctly defined in the "external tab" of the infopackage.
    I guess the settings in the "external tab" of the infopackage have some issues.
    Bye
    Dinesh

  • Data modeler, error when exporting to csv files

    hi, i have a relational model and i need to export this model to csv files, when exporting the model it errors,
    displaying the following error nmessage:
    Oracle SQL Developer Data Modeler Version: 2.0.0 Build: 584
    Oracle SQL Developer Data Modeler Export Log
    Date and Time: 2010-09-21 15:17:17
    Design Name: Diagram
    Model Name: CSV
    Export Finished
    Errors: 1
    Warnings:0
    <<<<< ERRORS >>>>>
    java.lang.NullPointerException
    the issue is a file is missing when exporting proccess is done, the file is DM_CommentsRDBMS.csv, this file contains the commens of columns.
    Thanks.

    Hi,
    I logged bug however information is not enough to locate the problem.
    You can use export to reporting schema in order to get your model exported - in database in that case.
    We are not going to extend "export to CSV file" functionality any further - it'll be as it is now.
    Philip

  • Error when loading from Flat File

    I get the message below when trying to load from a flat file.  The change that I made to the Transfer Structure was to move the items.  How can I resolve? Thanks
    Error 8 when compiling the upload program: row 227, message: Data type /BIC/CCABSMMIMH1 was found in a newer ve

    hi Niten,
    check if helps
    A newer version of the data type error when loading

  • Getting a error when loading the flat file

    Hi,
    I have created a infoobject called ID and i have  a attribute name.I have assigned a data source and done the update rules.When i try to upload the flat file  i get a error.
    Error 8 when compiling the upload program: row 227, message: A newer version of data type /BIC/CCDHIO_SRPID_ATT
    I have faced this problem earlier but now i am not able to rectify it .Can someone suggest me what to do.I am working on 3.5 version.
    Thanks
    Regards
    Harish

    Hi,
    Check the Flatfile Infoobjects and in datasource structure ,It should be same order and check whther you you are ignoring header rows or not in infopackage
    Regards,
    Marasa.

  • Error when export to .psd file?

    AI said "Not enough memory to save the file." when I export a general file to .psd fomat.
    I have 8GB physical memory & use i3 cpu, so I doubted that and start task manager to check and export again.
    almost these numbers:
    Physical Memory(MB)
    Total                    8109
    Cached               1890
    Available             56**
    Free                    39**
    Kernel Memory(MB)
    Paged               205
    Nonpaged          55
    I don't have a clue what's wrong there 

    i set them in this way
    Primary:     start up
    Secondary:     C:\
    It desn't work.   There is >50GB free space in my C disk.
    I think the software used scratch disk in case the physical memory ran out.
    And only a quater of memory was in used in my pc. so I don't see how this can solve the problem.
    thank you all the same.

  • Error when loading a flat file from Application server.

    Hi,
    I am trying to load a flatfile from the application server, and I am getting the message
    Error while accessing the application server file
    Message no. RSDS_ACCESS002
    I checked for notes and found only one:
    Note 1033978 - Correction: Loading Unicode files from application server
    but we have 19 SP level, and the note says it needs 13 SP level, so I think it would not be of any help.
    does anybodie know what to do??
    thanks for the help.
    Mauricio

    Error in accessing while application server file..
    when i am trying load the data to psa
    when i am taking the file name: text-type file from app server
    plz reslove me for this problem??
    another question
    when i am saving the file with using * in the  filename in .CSV file its not saving,
    whats the reason????
    ASHOK

  • UPK 361 - Error when exporting to .odarc file

    In order to generate a new backup of my complete training material, I select Tools->Export->Documents->Export my selection and related documents and a FilenName is given,
    as I normally do. During the last 2 days, as soon as this process starts a small window is displayed showing the progress, as soon as 50% is reached the window dissapears and no message is displayed.
    Do you have any clue regarding this problem? Is there any activity log I can see?
    Thank you in advanced! //
    Rubén
    Note: I treid already to optimize the RAM memory but it did´nt work at all.

    Was the odarc file created in the location you defined? This actually sounds like a successful export (there is no 'export successful' message at the end of this process) just that the progress bar doesn't necessarily move smoothly from 0 to 100%. You can also look for the Export Activity Log.xml file (by default in the \My Documents\User Produtivity Kit\Logs folder). Look for anything in a <Message> tag other than "Export successful."

  • 'file could not be written due to an error' when exporting jpg

    I'm working with an Illustrator file in CS2 and after a certain point it has started saying 'the file could not be written due to an error' when exporting to a jpg.
    i've tried a couple things like deleting layers and although the file is much smaller, it still says the same error when exporting.
    at its highest it was 130mb as an illustrator file and jpgs were 2-5mb.
    i''ve tried copying some of the layers into a new file but the error report still comes when i'm exporting.
    i have vector and raster based data in the file and tried turning off/deleting either of the layers and there is no difference.
    i don't understand why it's started doing this because before it had no problem at all exporting before.
    ANY IDEAS ANYONE?  I'm trying not to have to reproduce days of work to remake the file.
    many thanks,
    P

    Mylenium,
    Sounds like you know a good deal about this product.  Is there any way to restore a color profile/setting to an earlier point?
    I don't recall changing it and to tell you the truth, wouldn't be able to say which it may have been set to before - if different.
    Thanks,
    Paul

  • Error when exporting file from LR5.2 - file created

    After updating to LR5.2, I receive an error when exporting files to another disk drive.  a file is created, but a warning appears "Unable to Export:  "An internal error has occurred: Win32 API error 2 ("The system cannot find the file specified.") when calling ShellExecuteExW from AgWorkspace.shellExecute".  I also have CC iunstalled for other applications, but originally installed LR5 as a standalone Adobe application.  I tried removing the program and reinstalling through CC, with no change in this behavior.

    The answer is in the thread:
    http://forums.adobe.com/thread/1303578?tstart=0

  • In aperture 3.4.5, I get unsupported file error when exporting version of photo I've edited using plugins?

    In aperture 3.4.5, I get unsupported file error when exporting version of photo I've edited using plugins. I have try reinstalling aperture three times, deleting plists a few times, reinstalling plugins, restarting my MacBook Pro many times. Everything I've tried may fix the problem for a very short while and I can export a few photos before it returns. The problem happens with topaz and photomatrix pro plugins after I edited and try to export version.

    I had the same problem with the Photomatix plug-in and this solved it for me. I realised it only happened with Photomatix and not other plug-ins so I checked where the plug-ins were installed. The Photomatix plug-in was installed in
    ~/Library/Application Support/Aperture/Plug-Ins/
    where ~ is the home location for the current user account. All the other plug-ins however were installed in
    Macintosh HD/Library/Application Support/Aperture/Plug-Ins/
    which is the location that makes them available to all user accounts on your Mac. Moving the Photomatix plug-in to this location solved the problem for me.
    Note that the Library directory under the first location is normally hidden, to get to it hold down the Option (Alt) key and select it from the Finder Go menu.

  • I am using CS6. When exporting layers to files in Scripts, I get an error message Error 519: Server

    I am using CS6. When exporting layers to files in Scripts, I get an error message Error 519: Server Interface error. 'No component returned from CreateWidget'

    Hi. You’ve posted your question in a forum that is for beginners trying to learn the basics of Photoshop.  I'm moving your question to the Photoshop General Discussion forum for specialized attention to your situation.

  • Float4() causes "error saving Pixel Bender Byte Code file" error when exporting for flash player

    Simple test
    <languageVersion : 1.0;>
    kernel untitled
    <   namespace : "Your Namespace";
        vendor : "Your Vendor";
        version : 1;
    >
        input image4 src;
        output pixel4 dst;
        void
        evaluatePixel()
            dst = float4(sampleNearest(src, outCoord()));
    The above code will produce a "error saving Pixel Bender Byte Code file" error when exporting for flash player in Pixel Bender Toolkit 2.5.449694.
    "dst = (sampleNearest(src, outCoord()));" works fine. And anything like "float4 a= float4(b);" will give same error.

    Thank you for the error report.  I'll put it into our bug database.  We're bottling things up for the current version.  Gven the workaround, it is unlikely we'll be addressing this bug soon.  Please accept my apologies for the annoyance this will cause.
    In your second example, float4 a = float4(b), does it return an error if b is only a float4 or regardless of what b is?  If b is a scalar float, for example, is the conversion performed correctly? If so, this could be an error that only crops up when using constructor/conversion syntax when the thing being converted is already the correct type.
    Thanks,
    Chuck.

  • Extracting data from Essbase & loading into flat file through ODI

    Hi,
    I want to extract data from Essbase and load it into a flat file through ODI(for extraction from essbase I'm using a report script) and I’m using these KM’s:- LKM Hyperion Essbase data to SQL,IKM SQL to FILE Append & for reversing I’m using RKM Hyperion Essbase.All the mappings have been done and the interface has been made. But when I’m executing the interface it is throwing the error below:-
    ODI-1217: Session ESS_FILEI (114001) fails with return code 7000.
    ODI-1226: Step ESS_FILEI fails after 1 attempt(s).
    ODI-1240: Flow ESS_FILEI fails while performing a Loading operation. This flow loads target table ESS_FILE.
    ODI-1228: Task SrcSet0 (Loading) fails on the target FILE connection FILE_PS_ODI.
    Caused By: java.sql.SQLException: ODI-40417: An IOException was caught while creating the file saying The system cannot find the path specified
    at com.sunopsis.jdbc.driver.file.impl.commands.CommandCreateTable.execute(CommandCreateTable.java:62)
    at com.sunopsis.jdbc.driver.file.CommandExecutor.executeCommand(CommandExecutor.java:33)
    at com.sunopsis.jdbc.driver.file.FilePreparedStatement.execute(FilePreparedStatement.java:178)
    at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
    at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:619)
    Please let me know what I'm missing and how I can resolve this error.
    Thanks

    It seems that you are trying to use the file as your staging areas. Hyperion LKM extracts essbase data into a DB staging area which can then be used by your file IKM to load it into file.
    You need to use a RDBMS for your staging area.

  • 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

  • HOW I WAS ABLE TO GET ORACLE/LINUX RUNNING

    Just like some (or should I say most) of you, it took me pains (one week at that) to get 8i EE running on Linux. Here is how I was able to get it up and running: Environment: * RedHat 6.0 * Linux kernel 2.2.12 * Blackdown JRE (not JDK) 1.1.6v5 * Mem:

  • Using WebServices to get an exported document

    Hello, Discoverer : 11.1.1.2.0 I'm facing a request to be able to programmatically create a pdf from an existing query. By now, user are doing : Viewer > Printable Page > PDF > File I saw that there is a web service interface (wsi) and I tried to con

  • How do you get a rescue email without knowing your security questions

    Hey, So I know this sounds pretty stupid at first, but let me explain a bit; I made my apple Id on my I Pod Touch, and it asked me to make security questions (in which I made two, this is where the "fun" begins), however it didn't ask me to make a re

  • Streaming Video Usually Fails

    Using latest Safari, many TV station websites offering live video, simply do not run videos. Sometimes there is an error msg re "tmp file"; sometimes not. Often, msg states that the video stream does not support Safari, but if I change how I open tha

  • Convert from Photoshop Album to PSE8 fails

    I'm finally making the move from Album 1.0/Elements 2 up to PSE8 on our new Windows 7 computer. I copied all my files from the 'My Pictures' directory into the new computer 'My Pictures' directory.  With Photoshop Album, I saved the catalog as My Cat