Author Message

Posted: Mon Feb 01, 2010 7:29 pm   Post subject: System.Runtime.InteropServices.COMException: Failed to open

Hi,

I am testing ISpringSDK in an ASP.NET 2.0 application running on a Windows 2008 X64. I'm getting the following error when trying to run a conversion.
System.Runtime.InteropServices.COMException: Failed to open presentation "presentationPath"
at iSpring.PresentationConverterClass.OpenPresentation (Object source)

The same conversion functions normally in the Code Builder.
Can you help?
Thanks


Profile profile test

Posted: Tue Feb 02, 2010 8:34 am   Post subject: Re: System.Runtime.InteropServices.COMException: Failed to open

andreybritto wrote:
I'm getting the following error when trying to run a conversion.
System.Runtime.InteropServices.COMException: Failed to open presentation "presentationPath"
at iSpring.PresentationConverterClass.OpenPresentation (Object source)


You need to specify fully qualified presentation path, e.g. c:\presentations\presentation1.ppt

Please note that C# language treats the backslash character '\' as a beginning of the escape sequance, so you need to double them in case you need to specify the presentation path in C#:

Code:
presentationConverter.Open("c:\\presentations\\presentation1.ppt")


Profile profile test WWW www ICQ ICQ
Display posts from previous:  Sort by  

  


Who is online
Who is online In total there are 15 users online :: 0 registered, 0 hidden and 15 guests (based on users active over the past 5 minutes)
Most users ever online was 108 on Thu Nov 21, 2013 3:41 pm

Registered users: No registered users