The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 origin COM in Windows 2003

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
alexey_ov Posted - 10/21/2004 : 07:46:30 AM
Origin Version (Select Help-->About Origin): OriginPro 75
Operating System: Windows XP/2003

Dear All,

can't initialize origin COM object from web-application in Windows 2003. At the same time it works good under Windows XP. I wonder, why is so different? I'm sure this trouble is not because of any security settings. Debugger issues an error message as follows:

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: Server execution failed

Stack Trace:

[COMException (0x80080005): Server execution failed]
gmetxar.termo.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\xxxxx.aspx.cs:34
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()

Please help.

Alexey

Edited by - alexey_ov on 10/21/2004 10:53:19 AM
1   L A T E S T    R E P L I E S    (Newest First)
larry Posted - 10/25/2004 : 12:37:25 PM
Hi Alexey,

It seems that Origin could not find the User Files folder from web application in Windows 2003. That is the user specific folder created after Origin installation, my Origin User Files folder is:
C:\Documents and Settings\larry\Application Data\OriginLab\Origin75E\User Files
By default IIS 6.0 runs under ASP.NET account, which does not have a corresponding User Files folder. That caused the execution exception.

You probably can see the following DCOM error message from your system log:
The server {2F234A01-A4EB-4EAB-A130-A13C97953F0B} did not register with DCOM within the required timeout.

Here is a workaround: please try to set the impersonation in your web.config file. In the <system.web></system.web> section add:
<identity impersonate="true" userName="domain\user" password="mypwd" />

Please replace "domain\user" with the account you were using to install Origin. Also, make sure that account has permission to launch Origin COM server (that can be configured through dcomcnfg tool).

However, this requires the user account being used has to be logged in. I will keep your posted if a better solution comes up.

Best
Larry


Edited by - larry on 10/25/2004 4:29:15 PM

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000