Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. error on the server when trying to run PowerPoint from asp.net code

error on the server when trying to run PowerPoint from asp.net code

Scheduled Pinned Locked Moved ASP.NET
csharphtmlasp-netdesignsysadmin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    viktor9990
    wrote on last edited by
    #1

    PowerPoint is installed on the server. I have done as you have said and got the following error: Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 204: catch (Exception ex) Line 205: { Line 206: LblError.Text = ex.InnerException.ToString(); Line 207: LblError.ForeColor = Color.Red; Line 208: // ex.Message + " " + ex.StackTrace + " " + ex.InnerException + " " + ex.Source;ex.InnerException.ToString(); Source File: c:\inetpub\wwwroot\laikatelemeeting\admin\upload.aspx.cs Line: 206 Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.] Upload.Omvandla() in c:\inetpub\wwwroot\laikatelemeeting\admin\upload.aspx.cs:206 Upload.BtnSubmit_ServerClick(Object sender, EventArgs e) in c:\inetpub\wwwroot\laikatelemeeting\admin\upload.aspx.cs:148 System.Web.UI.HtmlControls.HtmlInputButton.OnServerClick(EventArgs e) +108 System.Web.UI.HtmlControls.HtmlInputButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain() +1292 I have an application in asp.net where from code I open a powerpoint presentation and save it to html. It is working well when running on my computer (after editing in the DCOM locally) but when I deployed to the server(and changed in the DCOM as I did locally) I got this error Message below: Which settings on the server should I edit? Thanks Unspecified error Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: Unspecified error Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [COMException (0x80004005): Unspecified er

    M 1 Reply Last reply
    0
    • V viktor9990

      PowerPoint is installed on the server. I have done as you have said and got the following error: Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 204: catch (Exception ex) Line 205: { Line 206: LblError.Text = ex.InnerException.ToString(); Line 207: LblError.ForeColor = Color.Red; Line 208: // ex.Message + " " + ex.StackTrace + " " + ex.InnerException + " " + ex.Source;ex.InnerException.ToString(); Source File: c:\inetpub\wwwroot\laikatelemeeting\admin\upload.aspx.cs Line: 206 Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.] Upload.Omvandla() in c:\inetpub\wwwroot\laikatelemeeting\admin\upload.aspx.cs:206 Upload.BtnSubmit_ServerClick(Object sender, EventArgs e) in c:\inetpub\wwwroot\laikatelemeeting\admin\upload.aspx.cs:148 System.Web.UI.HtmlControls.HtmlInputButton.OnServerClick(EventArgs e) +108 System.Web.UI.HtmlControls.HtmlInputButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain() +1292 I have an application in asp.net where from code I open a powerpoint presentation and save it to html. It is working well when running on my computer (after editing in the DCOM locally) but when I deployed to the server(and changed in the DCOM as I did locally) I got this error Message below: Which settings on the server should I edit? Thanks Unspecified error Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: Unspecified error Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [COMException (0x80004005): Unspecified er

      M Offline
      M Offline
      Mike Ellison
      wrote on last edited by
      #2

      Just checking - the last time you asked this question you did not confirm that you had PowerPoint installed on the server. Did you clear up that problem? With the COMException - check the InnerException property to see if you can get more details on the specific nature of the problem. You would do this by putting your code in a try/catch block and outputting the Message or ToString() of the InnerException (assuming there is one) so you can see the details.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups