Re: one more short question

From: Junkstyle (Junkstyle_at_discussions.microsoft.com)
Date: 11/30/04


Date: Tue, 30 Nov 2004 15:31:06 -0800

Thanks Kari. I got it running in vb.exe as well as c# as a windows app. I
very much appreciate your help so if you dont know this next question I still
owe you alot of gratitude.

One thing is I'm trying to implement it under IIS but I keep getting the
exception:

{System.Runtime.InteropServices.COMException} System.Object
"Server execution failed"

code:

Microsoft.Office.Interop.Visio.InvisibleApp ovApp;
Microsoft.Office.Interop.Visio.Document ovDoc;

ovApp = new Microsoft.Office.Interop.Visio.InvisibleApp(); //error: "Server
execution failed"
ovDoc = ovApp.Documents.Open(svgFullPath);
ovDoc.SaveAs("vsdFullPath");
ovDoc.Close();
ovApp.Quit();

Is it possible to have Visio calls run under IIS? Is there a setting I'm
missing?

Thanks



Relevant Pages

  • Re: IIS 6 page access
    ... thank you for the link but i dont know what the process is called for what i ... > how can i prevent a web user from entering my web site ... Tom Kaminski IIS MVP ...
    (microsoft.public.inetserver.iis)
  • Re: IIS 6 page access
    ... > how can i prevent a web user from entering my web site ... > for example i dont want any one to type this url and get the page below ... Tom Kaminski IIS MVP ...
    (microsoft.public.inetserver.iis)
  • Re: Setting up Web Server for ASP.NET Web Service Project
    ... installing cassinni should work fine if you dont have IIS (in case of XP ... > 1) What Technologies should I look for when purchasing web hosts. ...
    (microsoft.public.cert.exam.mcad)
  • Using Session from a Windows App throgh a WebService
    ... I want to set and get information in a Session variable on an IIS ... I use webservices to communicate with the IIS app. ... and added a webreference to it in my windows app. ... private void button1_Click(object sender, System.EventArgs e) ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: one more short question
    ... Junkstyle wrote: ... > Thanks Kari. ... I got it running in vb.exe as well as c# as a windows app. ... > Is it possible to have Visio calls run under IIS? ...
    (microsoft.public.visio.developer)