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.Pres entations.Open( String FileName, MsoTriState ReadOnly,
MsoTriState Untitled, MsoTriState WithWindow) +0
Upload.Omvandla ()
Upload.BtnSubmi t_ServerClick(O bject sender, EventArgs e)
System.Web.UI.H tmlControls.Htm lInputButton.On ServerClick(Eve ntArgs e) +108
System.Web.UI.H tmlControls.Htm lInputButton.Sy stem.Web.UI.IPo stBackEventHand ler.RaisePostBa ckEvent(String eventArgument) +57
System.Web.UI.P age.RaisePostBa ckEvent(IPostBa ckEventHandler
sourceControl, String eventArgument) +18
System.Web.UI.P age.RaisePostBa ckEvent(NameVal ueCollection postData) +33
System.Web.UI.P age.ProcessRequ estMain() +1292 1 1988
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.Pres entations.Open( String FileName, MsoTriState ReadOnly, MsoTriState Untitled, MsoTriState WithWindow) +0 Upload.Omvandla () Upload.BtnSubmi t_ServerClick(O bject sender, EventArgs e) System.Web.UI.H tmlControls.Htm lInputButton.On ServerClick(Eve ntArgs e) +108
System.Web.UI.H tmlControls.Htm lInputButton.Sy stem.Web.UI.IPo stBackEventHand ler.RaisePostBa ckEvent(String eventArgument) +57 System.Web.UI.P age.RaisePostBa ckEvent(IPostBa ckEventHandler sourceControl, String eventArgument) +18 System.Web.UI.P age.RaisePostBa ckEvent(NameVal ueCollection postData) +33 System.Web.UI.P age.ProcessRequ estMain() +1292 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 Windows clipboard. Then, using automation,
I am trying to copy this information from the clipboard to a PowerPoint
slide. However, I get an error at slide.Shapes.PasteSpecial.
I am able create a System.Drawing.Bitmap object from the memory...
|
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 message that says:
"Microsoft Office PowerPoint has encountered a problem and needs to
close. We are sorry for the inconvience.
If you were in the middle of something, the information you were
working on might be lost."
|
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
PowerPoint._Application failed.
at PowerPoint.ApplicationClass.get_Presentations()
...
This problem is not solved after re-installing office 2000. The
|
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 corrupted.
at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
at System.Web.UI.Page.LoadPageViewState()
at System.Web.UI.Page.ProcessRequestMain()
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)...
|
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 applications in a
training class last week. The applications worked in the
class, but when I tried to run them again over the
weekend, they both bombed. Instead of getting my Web
page, or the Web Service page, I get a page full of error
text...
| |
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
windows application runs fine, but when I create a webservice on the same
line i get a "Access denied error". This error occurs when the application is
trying to create a Powerpoint.ApplicationClass.
Does anyone have any ideas?
|
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 New System.Diagnostics.Process
'p.Start(MDEPDirStr & "macrun.exe", sPPTOut)
p.Start("C:\WINDOWS\SYSTEM32\CALC.EXE")
'p.Start("C:\WINDOWS\SYSTEM32\macrun.exe", sPPTOut)
|
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 trying to write in as I was
thinking off adding permissions to aspnet for those directories. Thanks.
--
Paul G
Software engineer.
|
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 publish the application to
the server, I get the error: Error HRESULT E_FAIL has been returned
from a call to a COM component.
Configuration of my local machine:
WinXP; MS office2003; and I am using the com compenent:
Microsoft PowerPoint Object 11
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |