473,414 Members | 1,577 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

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

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 error]
PowerPoint.Presentations.Open(String FileName, MsoTriState ReadOnly,
MsoTriState Untitled, MsoTriState WithWindow) +0
Upload.Omvandla()
Upload.BtnSubmit_ServerClick(Object sender, EventArgs e)
System.Web.UI.HtmlControls.HtmlInputButton.OnServe rClick(EventArgs e) +108

System.Web.UI.HtmlControls.HtmlInputButton.System. Web.UI.IPostBackEventHandler.RaisePostBackEvent(St ring eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1292

Nov 19 '05 #1
1 1975
Most likely a COM error as the Office components are not deployed. Ensure the
Office library is deployed on the server (not normal) or move to a third
party component (even better) for the creation of your HTML Powerpoint.
---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

"viktor9990" wrote:
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 error]
PowerPoint.Presentations.Open(String FileName, MsoTriState ReadOnly,
MsoTriState Untitled, MsoTriState WithWindow) +0
Upload.Omvandla()
Upload.BtnSubmit_ServerClick(Object sender, EventArgs e)
System.Web.UI.HtmlControls.HtmlInputButton.OnServe rClick(EventArgs e) +108

System.Web.UI.HtmlControls.HtmlInputButton.System. Web.UI.IPostBackEventHandler.RaisePostBackEvent(St ring eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1292

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ata | last post by:
Hello, I am trying to copy the contents of the output of SQL Reporting Services to a PowerPoint slide. For this, I am using SQL Reporting Services to obtain an IMAGE stream, which I paste to the...
1
by: sofakingfree | last post by:
This error is driving me nuts. The code below will run perfectly when it has a breakpoint. But as soon as I remove the breakpoint and run it normally outside of debug mode I get a strange error...
0
by: Didi I. | last post by:
Hi, I've seen several instances of this question. When working with PowerPoint automation from C# you get the following error: System.InvalidCastException: QueryInterface for interface...
4
by: Ersin Gençtürk | last post by:
Server : WEB System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. ---> System.Web.HttpException: The View State is invalid for this page and might be...
4
by: Chris | last post by:
I posted this in the C# language group, then thought it might be more appropriate in this group. I would not cross-post except I want the answer so badly. I built small C# Web and Web Service...
1
by: neelima | last post by:
Hi All, I am trying to build a webservice which would create a powerpoint presentation and save it to the file system. I am using the Powerpoint COM object for this purpose. The standalone...
5
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
2
by: Paul | last post by:
Hi I am trying to open a powerpoint app from a asp.net webpage but get a non access error when I try to create the PowerPoint.Application. Just wondering if anyone knows what directories it may be...
2
by: Sun | last post by:
Hi guys, I have a problem which troubled me last two weeks. I create a web applicatoin using VS2005 to generate the powerpoint presentation. All works fine in my local machine but after I...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.