473,498 Members | 1,648 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Starting Application from ASP.NET on Server Machine

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
1 1377
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2969
by: Marina Anufreichik | last post by:
Hi, After deploymnet web application on web server I can access page on local machine and login fine but when I'm trying to access web site from remote machine I can see login page, but when I'm...
2
2219
by: Razzie | last post by:
Hey all, I wrote a Windows Service. When I test it on my developement machine (winXP) it works fine. It starts ok, never crashes, etc. When I install the service on another machine (win2000) it...
2
3849
by: Sara T. | last post by:
I always found that web page written by ASP.NET (VB.NET) generate error when starting at the first times. If I click refresh button on the IE again, it can work as well. What's wrong ? Again...
4
2399
by: Kristof Despiere | last post by:
Suppose you have one domain, filled with a couple of users. What needs to be done now is I need to start a windows application from a webform by pressing a button on the webform (for example). ...
2
2252
by: Fie Fie Niles | last post by:
I have a WinXP Professional that had Microsoft Visual Studio .NET 2002. I created a new project of type Visual Basic Projects and used template: ASP.NET Web application. When I hit F5 to run the...
1
1197
by: Indepth | last post by:
Overview: We're creating a ASP.NET app in C# that calls some C# programs we've created. Our DB server is on a w2k3 machine and using our w2k machines as our web server. Without setting an Identity...
4
2911
by: Phil Mc | last post by:
Say for example you have a application running on a windows 2003 server (that is on server, not from). This application needs to start child applications (must be stand alone console applications),...
7
2369
by: | last post by:
Hi to everyone! I have an Apache Webserver running on Win2000. I try to start a console application an the server though PHP, with the functions exec() or passthru() but it doesn't work. The...
3
1770
by: =?Utf-8?B?ZGFmb3JnYQ==?= | last post by:
Hello, I am trying to build a simple web site using VS 2008. I do the following: 1. Files New Website, Name the site 2. Put any text within the div tag 3. Run I get the error: Unable to start...
0
7168
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
7210
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...
1
6891
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4916
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3096
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...
0
3087
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1424
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
659
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
293
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.