473,659 Members | 2,929 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access denied attempting to launch a DCOM Server

I have a web based (forms based authentication) asp.net application
that uses .NET remoting. It has web.config.remo ting with all the
required settings in it. As soon as it tries to access the website, it
threw an error:
Access denied attempting to launch a DCOM Server. The server is:
{000C101C-0000-0000-C000-00000*0000046} The user is ASPNET/ServerName,

SID=S-1-5-21-1606980848-602162*358-1801674531-1007.
I tried to find the answer on the groups and the problem as Microsoft
site states is that DCOM server is failing to launch Machine Debug
Manager. They give the possible solution also on the following link:
http://support.microsoft.com/k*b/290398. BUT this solution DOESN'T
seem
to be working too!
To let the site work, I had to change the following in machine.config:
<processmodel username="machi ne">
TO
<processmodel username="syste m">
The web application works just fine.
HOWEVER, this solution exposes the server. Which means this is NOT the
right solution. At the same time, no where I have been able to find the

answer to my problem. And also why is the very idea of using
username="syste m" being used even though it is not safe??
Chanda.

Nov 19 '05 #1
2 2311
your kb article tells you why.

the dcom server asp.net is accessing, can only be started by the system
account. you need to reconfigure your dcom server to be started by other
accounts (say the asp.net machine account).

-- bruce (sqlwork.com)

<c.*****@gmail. com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
I have a web based (forms based authentication) asp.net application
that uses .NET remoting. It has web.config.remo ting with all the
required settings in it. As soon as it tries to access the website, it
threw an error:
Access denied attempting to launch a DCOM Server. The server is:
{000C101C-0000-0000-C000-00000*0000046} The user is ASPNET/ServerName,

SID=S-1-5-21-1606980848-602162*358-1801674531-1007.
I tried to find the answer on the groups and the problem as Microsoft
site states is that DCOM server is failing to launch Machine Debug
Manager. They give the possible solution also on the following link:
http://support.microsoft.com/k*b/290398. BUT this solution DOESN'T
seem
to be working too!
To let the site work, I had to change the following in machine.config:
<processmodel username="machi ne">
TO
<processmodel username="syste m">
The web application works just fine.
HOWEVER, this solution exposes the server. Which means this is NOT the
right solution. At the same time, no where I have been able to find the

answer to my problem. And also why is the very idea of using
username="syste m" being used even though it is not safe??
Chanda.
Nov 19 '05 #2
Thanks Bruce!
But my question remains same. If you change username="syste m", then you
are exposing your server. Which is not a good idea.
So why should we at all set this property when it is playing with the
security of the server?

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1459
by: Achim Domma (Procoders) | last post by:
Hi, I have a problem with a DCOM server written in python. Here is my minimal test object: class TestObject: _reg_clsid_ = "{ECDBB3BC-F0BF-4eef-87C0-D179A928DAB5}" _reg_progid_ = "DComTest.Object" _reg_desc_ = "DComTest.Object" _public_methods_ =
2
2030
by: Ed | last post by:
I have searched the archives and found several entries that address the problem I'm having, however, the solutions fall short of explaining exactly what to do Like many others, when I attempt to access an Excel file via an ASP.NET page, I get an access is denied error on the line "dim XSL as new Excel.application" some solutions tell me to change my authentication in web.config file - I don't know what to chang some solutions tell me to...
1
2392
by: zhangyuewuliu | last post by:
Hi, I have a DCOM Server and client running on the same box. I am using the custom security instead of default security and have opened up the server's custom access right to basically everyone. The default access permission does not allow anyone, however it should not matter because my server is not using the default settings. However, my client cannot connect to my DCOM Server with error message "access is denied". If I add...
5
6375
by: Sergey V | last post by:
Having following problem 1. Client: ASP application with anonymous access to be running as DOMAIN\my_user on WinXP 2. Server: DCOM NT Service runs on remote host (W2K Server) under the same account DOMAIN\my_user security within server is initialized using hr = CoInitializeSecurity(&appid, -1, NULL, NULL, 0, 0, 0, EOAC_APPID, NULL);
2
1547
by: bri | last post by:
I am receiving the error below in the error log, impersonation is set to true, and aspcompat is set to true as well. I gave launch permissions to the ASP.net user under the Machine Debug Manager, which didn't help. It seems to be looking for ASPNET/<server> rather than <server>/ASPNET. Any help is appreciated. """ Access denied attempting to launch a DCOM Server. The server is:
0
2854
by: c.verma | last post by:
I have a web based (forms based authentication) asp.net application that uses .NET remoting. It has web.config.remoting with all the required settings in it. As soon as it tries to access the website, it threw an error: Access denied attempting to launch a DCOM Server. The server is: {000C101C-0000-0000-C000-000000000046} The user is ASPNET/ServerName, SID=S-1-5-21-1606980848-602162358-1801674531-1007. I tried to find the answer on the...
1
2699
by: Selden McCabe | last post by:
I have a web service the uses MS Word to do mail merge and printing documents. When I run the service on my development box, it works. When I run in on the server, I get "Access Denied" when it tries to start Word. At first, I was getting a dcom launch failure in the event log, but I fixed that with DCOMCNFG settings. But I'm still getting Access Denied. I tried setting the user for Word (in dcomcnfg) as a local acmin account on the...
0
3889
by: matsla | last post by:
I have followed all guide lines to set up remote debugging but is it possible to do cross-domain remote debugging? I use same account/password on both computers (XP => 2003), added users to debug group, change DCOM security etc. I get following error in the event log when try to start the remote debugging Visual Studio 2003... DCOM got error "General access denied error" from the computer COMP1
6
5557
by: royan | last post by:
Help please! I have the same problem which this post http://groups.google.com/group/microsoft.public.vsnet.vstools.office/browse_thread/thread/91275741fa1e100f/164638c6d6ba3872?lnk=gst&q=System.UnauthorizedAccessException%3A+Access+is+denied.&rnum=1&hl=en#164638c6d6ba3872 When I deploy our ASP.NET Application web form to Windows server 2003 I got access deny error. We are using the Microsoft.Office.Interop.Word COM DLL. We need to read a...
0
8428
marktang
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...
0
8851
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, 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...
0
8748
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 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...
1
8531
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6181
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5650
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();...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2754
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 we have to send another system
2
1978
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.