By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,677 Members | 1,060 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,677 IT Pros & Developers. It's quick & easy.

Starting Application from ASP.NET on Server Machine

P: n/a
Hello,

I have a problem with starting a COM application from my ASP.NET application
on
the server machine. I get an error with a message permission denied during
creation of COM object.
If I start an application alone (without call through another COM DLL), it
does nothing (no process activity).
The application starts without problems from normal desktop application.

Do somebody know how cann one start such application from ASP.NET (button
click)?
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Check your permissions on that object. By default, the ASP.NET worker
process (aspnet_wp.exe) runs with the user credentials ASPNET. Since most
COM objects are in-process DLLs, then your ASPNET account would need to have
the appropriate permissions to access this object, and then do anything this
object does in order to get its work done. If you want to secure things a
bit, you can use impersonation and windows authentication to launch it using
the credentials of the current user, and you can apply your ACLs based on
the groups which should be allowed to execute this application.

--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--

"Nusret Bajric" <nu******@gmx.net> wrote in message
news:BV*****************@news.chello.at...
Hello,

I have a problem with starting a COM application from my ASP.NET application on
the server machine. I get an error with a message permission denied during
creation of COM object.
If I start an application alone (without call through another COM DLL), it
does nothing (no process activity).
The application starts without problems from normal desktop application.

Do somebody know how cann one start such application from ASP.NET (button
click)?

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.