MSXML6 not supporting VB6 outlook.Attachments (MailItem.Attachments) getting ActiveX cannot create object error

Hi, This is about msxml4 removal from my application for security reason.
Currently in my application Outlook Addin with VB6 using Office2010 and outlook object is refering with MSOUTL.OLB from C:\Program Files\Microsoft Office\Office14
When unregister MSXML4.dll to remove the dependacy of it and use MSXML6.dll, My application getting error.
VB6 outlook.Attachments getting ActiveX cannot create object error
if i register msxml4.dll again, then the same is working fine.
Pls suggest how to remove msxml4 dependancy without this error
Regards,
Sathiya

Firstly, you shouldn't be messing with the system dlls.
Secondly, do you create an instance of the outlook.Attachments object (using "new" etc.)? That object cannot be created, you can only retrieve if from an Outlook item (e.g. MailItem.Attachments property).
Please show the relevant snippet of your code.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/redemption
Redemption - what the Outlook
Object Model should have been
Version 5.5 is now available!

Similar Messages

  • MY HP MF 1005 PRINTER IS NOT SUPPORTING IN MAVERICKS 10.9 IT GET PAUSED WHEN I PRINT A DOCUMENT PLA SOLVE MY PROBLEM .

    MY HP MF 1005 PRINTER IS NOT SUPPORTING IN MAVERICKS 10.9 IT GET PAUSED WHEN I PRINT A DOCUMENT PLA SOLVE MY PROBLEM .

    Hi Shiba,
    I understand that your printer is not printing picures as expected.  I know you stated that you had tried troubleshooting steps above.  Where you able to take a look at this document?  Are you printing from a mobile device or computer?
    Hope this helps.
    **If you find this helpful or want to say thanks make sure to click the white star under my name to give me Kudos. **

  • Characterset not supported by Outlook  for messages from JavaMail w/ html

    Hi, I have a Java mail program which works fine for text as well as small html content. But when the html content grew, my outlook tells me that the characterset is not supported and my message (from java) is an attachment instead of body of message. Besides that it also adds other mail headers (from the mail server) and adds other characters in the message so I cannot even filter out the data or look at it by saving it as html file.
    Whats going on?
    Heres my code for mail:
    try{
    String host = "mailserver";
    String from = fr; // this is passed as paramter
    String to = t; // this is also passed as parameter
    String subject = "Error occured in Process.";
    String content = cont; // cont is the message which is passed as string and contains html
    content = content.concat("\n\nNote:\n\nThis message was generated by manually running the program.");
    String attachmentFile = "c:\\grab.gif"; // file to be attached.
    String bodyOfAttachment = "<h3>This is the body of attachment.</h3>";
    Properties props = System.getProperties();
    props.put("mail.smtp.host", host);
    Session session = Session.getDefaultInstance(props, null);
    Message message = new MimeMessage(session);
    message.setSubject(subject);
    message.setFrom(new InternetAddress(from));
    message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
    MimeMultipart multipart1 =new MimeMultipart("alternative");
    BodyPart part=new MimeBodyPart();
    part.setContent(content,"text/html");
    multipart1.addBodyPart(part);
    BodyPart messageBodyPart = new MimeBodyPart();
    String htmlText = bodyOfAttachment;
    messageBodyPart.setContent(htmlText, "text/html");
    MimeMultipart multipart = new MimeMultipart("related");
    multipart.addBodyPart(messageBodyPart);
    messageBodyPart = new MimeBodyPart();
    DataSource fds = new FileDataSource(attachmentFile);
    messageBodyPart.setDataHandler(new DataHandler(fds));
    //messageBodyPart.setHeader("Content-ID","<"+"memememe"+">");
    multipart.addBodyPart(messageBodyPart);
    MimeBodyPart mbp = new MimeBodyPart();
    //Comment these two lines to not send attachment
    //--mbp.setContent(multipart);
    //--multipart1.addBodyPart(mbp);
    message.setContent(multipart1);
    Transport.send(message);
    catch (AddressException ae){
         ae.printStackTrace();
    catch (MessagingException me){
         me.printStackTrace();
    }

    Never mind I figured it out.
    replace all occurences of
    "text/html"
    with
    "text/html;charset=ISO-8859-1"

  • I keep getting an error message saying "There was a problem connecting to the server.  URLs with the type "file:" are not supported."  Can someone help me get rid of it.

    I keep getting an error message saying "There was a problem connecting to the server.  URLs with the type "file:" are not supported"  Can someone help me locate and get rid of this error.

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

  • Firefox 4 won't open because it says it is not supported by the current architecture. Now I cannot use Firefox at all.

    I followed the advice and instructions to download Firefox 4 and once I moved it to the applications folder, a slash went through the icon and now it tells me that I cannot open Firefox because it is not supported by the architecture. Don't know what to do next.

    I suspect you need more expert help but here are a few things you can try.
    If you can't open Firefox(double click on Firefox desktop icon) try Safe Mode - Hold down the Shift Key as you double click on the icon>don't check anything on the page that opens>continue. If Firefox opens and works in this safe mode go to Add-ons> Extensions and look for "Ask". Then look at Add-ons >Plug-ins and again look for "Ask" . Remove, delete,disable any Asks. If you do remove any, close Firefox. And try again in Normal Mode.
    The Ask website has detailed instructions for removal but you need to find it on your computer and have your computer in working order.
    If there is no sign of Ask and Firefox is working well in Safe Mode you should work your way through this -
    https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
    Eventually you might need to grapple with About:Config and even your Windows Registry but I would recommend a complete uninstall and re-install before that. Unfortunately that often doesn't work.
    That all sounds very daunting but taken step-by-step you might get lucky early.

  • I am college student and my professors require we use Turnitin however Turnitin does not support Firefox 4 how can I get it to work with Firefox 4 or how can I return to Firefox 3

    Turnitin will not work with firefox 4 how can I return to firefox 3 or how can I get firefox 4 and Turnitin in sync

    The Turnitin system requirements on mention Firefox 3. If it does not support Firefox 4 you can downgrade to Firefox 3.6
    To downgrade to Firefox 3.6 first uninstall Firefox 4, but do not select the option to "Remove my Firefox personal data". If you select that option it will delete your bookmarks, passwords and other user data.
    You can then install the latest version of Firefox 3.6 available from http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your current bookmarks, passwords etc.
    To avoid possible problems with downgrading, I recommend going to your profile folder and deleting the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Deleting these files will force Firefox to rebuild the list of installed extensions, checking their compatibility, and reset toolbar customizations.
    For details of how to find your profile folder see https://support.mozilla.com/kb/Profiles

  • Get SOAP Cannot Create XML Document reader error with Outlook integration?

    Hi,
    We installed Outlook Email Integration on a windows XP / Office 2007 machine and it installed OK. However when we click the "Add to CRM On Demand" button and try to login we get the following error message when we click the 'Sign In" button
    "SOAP: Cannot create XML document reader"
    Has anyone come across this? Are there any pre-requisites for using this add-in? e.g. Service Packs, .NET framework etc?
    Cheers

    It may not be the case...but pls. check if MS Word is defined as editing tool for email.. It should not be.
    ANotnio
    BExpert, Brazil

  • Mail responds with this error when I have attachments which are not that large.  How can I get around this. very aggravating. error reads Your message has size 32.1 MB, which exceeds 28.3 MB, the maximum allowed by the server.

    error message is-Your message has size 32.1 MB, which exceeds 28.3 MB, the maximum allowed by the server.  What can I do to get it to accept larger files. This was only 4 pages scanned.

    You can use the Preview app to reduce the fille size or send multiple emails.

  • A window opens with ASSERT: gBrowser.addProgressListener was called with a second argument, which is not supported. See bug 608628. Stack Trace: 0:addProgressListener([object Object],2) 1:() 2:([object Event]) In Minefield

    A Balloon window pops up before Minefield opens. I have to "X" it of "OK" it 3-4 times then Minefield opens.

    That is a known problem, it will require add-ons to be updated. I believe they are planning on moving the error message to the error console rather than having the dialog pop up.

  • Firefox 20 does not support FireFTP, so how do I get FTP access?

    FireFTP says it doesn't work with Firefox 20. When I search for add-ons or plug-ins that add FTP functionality, I find none. How do I get FTP access within Firefox?

    I have Firefox 23.0.1 but now when I try to use FireFTP I find that all my accounts have disappeared (says choose an account) but the accounts aren't there. I don't know how to get them back and there is no option there to add a new account.
    Anyone know how to fix this?

  • Instruments in Logic Pro 9 Library will not load: I try to add a new instrument on a project and get a "cannot be found" error.

    Ladies and Gentlemen,
    As a faculty member in the School of Music, I have just acquired a copy of Logic Pro 9.1.8 through my University. The programs and instrument packs were installed by our IT department and show as being fully installed on Logic Pro when I search for additional content through the Logic Pro tab at the top of the screen. The window shows that all 6 Jam Packs, Logic Pro & Main Stage Content (Essential and Additional) GarageBand content, and Surround content is installed. However when I try and add a new instrument on a project, most of these instruments cannot be found. I get the following error:
    Audio file “KB_pizz_f_C1.wav” not found!
    I then press the Continue Tab, and it looks for the instruments in an empty file that Logic creates in the Music section of the hard drive. I have investigated the sounds by going through the MAC Hard Drive>Library>Application Support>Logic>Sampler Instruments folder, and tried to copy the sounds into the Music>Logic folder created by the program. That does not work either. Even attempting to go into these Logic Pro instrument files one at a time has proved fruitless. I am told that the file cannot be opened.
    The files appear to be installed, but cannot be accessed or opened. They all have that translucent grey appearance when I attempt to click on the icon. This is true for about 80% of the files in the instrumental library. Whenever I create an instrument, the EVP88 Electric Piano is installed by default. There are a few instruments that I can successfully replace this default instrument with, but a majority of the instrumental library remains unavailable. Can anyone help?

    Kurt:
    You might try a different way of adding the video files to the web page. This demo page has one where the file does not load until the play button is selected: Opening Item in a New, Precisely Sized Window. This demo page has 9 short videos on it using that method: PhotoPresenter Animated Slideshow Themes. Just add a screenshot of one of the movie frames or any photo you want and add the Play button on or below it.
    You manually upload the movie file to your server so iWeb is not involved in the uploading the file at any time.
    Similarly this demo page, QT movies via iFrame, has a method that has you manually uploading the file to the server and linking to it via iFrame code. That page also has other similar methods.
    Another method is demonstrated in Roddy's iWeb for Musicians site on his Video page. Here you also upload manually.
    OT

  • HT4623 Not able to download ios6.  Keep getting a message saying an error occurred.

    Have been trying for several weeks now to download ios6 on my 5.1.1 3rd gen iPad and keep getting an error message saying an error occurred unable to download.  The error message I keep getting does not have a reference number.  Please help.

    What does the error say?
    Are you trying to update via wifi or connected to your computer?
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    iOS: Resolving update and restore alert messages
    http://support.apple.com/kb/TS1275
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
     Cheers, Tom

  • PXIe-4141 Calibration Error niDCpower version 1.8 ,"calibration function is not supported by the device."

    Dear sir,
    Nice to meet you.
    When I running the PXIe-4141 Calibration Function "niDCPower Cal Adjust Voltage Leve.vi" in niDCpower version 1.8, 
    it will show an error "calibration function is not supported by the device."(false cae)
    But if I run the PXIe-4141 Calibration Function "niDCPower Cal Adjust Voltage Measurement.vi", (true case)
    it will work.
    See the attachments.
    My Equiptment list:
    WinXP SP3
    Labview 2011
    niDMM 3.0.5
    niDCpower 1.8
    PXI-1073 case with 2 cards.
    slot2: PXIe-4141
    slot6: PXI-4071
    Could someone tell me the solution?
    Solved!
    Go to Solution.
    Attachments:
    4141-cal adjust voltage level.JPG ‏203 KB
    4141 manual cal_20130722.vi ‏46 KB

    Update:
    Error Code: xBFFA4A42
    niDCPower Cal Adjust Voltage Level.vi<ERR>Requested calibration function is not supported by the device.
    Status Code: -200445
    See "voltagle level error.JPG"
    And the same error for "niDCPower Cal Adjust Current Limit.vi".
    See "current limit error.JPG"
    Attachments:
    voltagle level error.JPG ‏15 KB
    current limit error.JPG ‏16 KB

  • Null keys not supported

    Hi. I have created a simple Entity Bean called User with just 2 fields and no business methods. I am using Personal Oracle8 database and sun's JdbcOdbcDriver. The connection pool is configured properly.
    When I try to deploy this bean, I get an error saying "Null keys not supported". I think it is a problem related to the driver. But is there any way to fix it without changing the driver.
    The detailed error message is as follows:
    Exception:weblogic.management.ApplicationException: activate failed for User Module: User Error: Exception activating module: EJBModule(User,status=PREPARED) Unable to deploy EJB: UserEJB from User.jar: Null keys not supported. Nested Exception: java.lang.IllegalArgumentException: Null keys not supported at weblogic.utils.collections.WeakConcurrentHashMap.get(WeakConcurrentHashMap.java:189) at weblogic.utils.wrapper.WrapperFactory.getCachedWrapperClass(WrapperFactory.java:51) at weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:183) at weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:171) at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:146) at weblogic.jdbc.jts.Driver.newConnection(Driver.java:674) at weblogic.jdbc.jts.Driver.createLocalConnection(Driver.java:196) at weblogic.jdbc.jts.Driver.connect(Driver.java:154) at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305) at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSPersistenceManager.java:2247) at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.verifyDatabaseType(RDBMSPersistenceManager.java:2459) at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:198) at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:253) at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:210) at weblogic.ejb20.manager.DBManager.setup(DBManager.java:154) at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1057) at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1322) at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:610) at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3127) at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2081) at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2062) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2592) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2515) at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2317) at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2399) at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2311) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2479) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    [Deployer:149033]preparing application User on SamServer
    [Deployer:149033]prepared application User on SamServer
    [Deployer:149033]activating application User on SamServer
    [Deployer:149033]failed application User on SamServer
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application User on SamServer.: Exception:weblogic.management.ApplicationException: activate failed for User Module: User Error: Exception activating module: EJBModule(User,status=PREPARED) Unable to deploy EJB: UserEJB from User.jar: Null keys not supported. Nested Exception: java.lang.IllegalArgumentException: Null keys not supported at weblogic.utils.collections.WeakConcurrentHashMap.get(WeakConcurrentHashMap.java:189) at weblogic.utils.wrapper.WrapperFactory.getCachedWrapperClass(WrapperFactory.java:51) at weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:183) at weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:171) at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:146) at weblogic.jdbc.jts.Driver.newConnection(Driver.java:674) at weblogic.jdbc.jts.Driver.createLocalConnection(Driver.java:196) at weblogic.jdbc.jts.Driver.connect(Driver.java:154) at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305) at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSPersistenceManager.java:2247) at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.verifyDatabaseType(RDBMSPersistenceManager.java:2459) at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:198) at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:253) at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:210) at weblogic.ejb20.manager.DBManager.setup(DBManager.java:154) at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1057) at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1322) at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:610) at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3127) at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2081) at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2062) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2592) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2515) at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2317) at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2399) at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2311) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2479) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) .
    Regards,
    Sameer

    This is definitely a problem related to setting up and using the JDBC driver. I'd check with the JDBC newgroup if you have not done so already (then support if that doesn't go anywhere).
    -thorick

  • Intermittent problems with iphone 3g "charging not supported"

    I notice quite a few complaints about intermittent 'charging not supported' messages.
    I have been getting the same message on my iphone 3g.
    I have ELIMINATED the cord and plug as the problem in this case by the following method:
    I found that by LOWERING the line voltage to the charger with a variac, I could get rid of the message RELIABLY for a period of time.
    By turning the variac off and on, and by varing the voltage setting, I can reproduceably get either charging or 'charging not supported'.
    Since there are no changes being made in the connections to the phone and charger, I eliminate them as causing to the problem.
    I suspect a deteriorating component in the charger is reporting some kind of error to the phone via some communications channel.
    I have not tried opening the charger, but if and when it finally dies, I will do so.
    This morning, the charger worked with the variac set to 80 volts.
    Anyone on the design team around that can suggest other tests?
    -bz-

    The unit finally failed and I opened it up. It appears to consist of an AC-->dc converter with suitable filters and regulators and a small computer that probably talks via I2C or a similar protocol to the iphone.
    I suspect that components are defective and the output voltage is outside the range it thinks it should be or some problems with the communications cause it to send an erronious message in response to the query sent by the iphone. I did NOT see any obviously bulging electrolytic capacitors, but I did not test for high ESR and I suspect that is the problem.
    A 'off brand' AC Charger of iPod and iPhone from Radio Shack works fine while BOTH authentic APPLE iphone 'tiny cube' chargers are going for recycling.
    Software fixes may cause the iphone to either keep trying until it gets the right response or ignore the erronious responses.

Maybe you are looking for