473,508 Members | 2,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

access denied to DCOM, winXP sp2

Hi,

I have a web application that accesses a DCOM. Every thing works fine on
Windows XP sp1 but when I installed service pack 2 I got an access denied
when the application tried to create an instance to the DCOM.

C# code where I get the access is denied occurred.
OPCserverObj = Activator.CreateInstance(typeofOPCserver);

Does anybody have an idée on how to solve this problem?

--
Many Thanks
Dan
Nov 18 '05 #1
3 3245
this happens because on install of sp2 this put a firewall an you cann't
access nothing until you disable this. go to control panel. in security
center you'll find windows firewall. dezactivate this.
cheers

"Ubbe17" wrote:
Hi,

I have a web application that accesses a DCOM. Every thing works fine on
Windows XP sp1 but when I installed service pack 2 I got an access denied
when the application tried to create an instance to the DCOM.

C# code where I get the access is denied occurred.
OPCserverObj = Activator.CreateInstance(typeofOPCserver);

Does anybody have an idée on how to solve this problem?

--
Many Thanks
Dan

Nov 18 '05 #2
here is a link to help you.

http://blogs.msdn.com/greggm/archive...29/200907.aspx

"Ubbe17" wrote:
Hi,

I have a web application that accesses a DCOM. Every thing works fine on
Windows XP sp1 but when I installed service pack 2 I got an access denied
when the application tried to create an instance to the DCOM.

C# code where I get the access is denied occurred.
OPCserverObj = Activator.CreateInstance(typeofOPCserver);

Does anybody have an idée on how to solve this problem?

--
Many Thanks
Dan

Nov 18 '05 #3
Thanks for the help, I solved it by adding the correct user to have access to
the DCOM.

"Psycho" wrote:
here is a link to help you.

http://blogs.msdn.com/greggm/archive...29/200907.aspx

"Ubbe17" wrote:
Hi,

I have a web application that accesses a DCOM. Every thing works fine on
Windows XP sp1 but when I installed service pack 2 I got an access denied
when the application tried to create an instance to the DCOM.

C# code where I get the access is denied occurred.
OPCserverObj = Activator.CreateInstance(typeofOPCserver);

Does anybody have an idée on how to solve this problem?

--
Many Thanks
Dan

Nov 18 '05 #4

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

Similar topics

0
1444
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_ =...
1
2372
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. ...
5
6360
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...
1
2256
by: DotNetJunkies User | last post by:
Hi, I have a web application that accesses a DCOM. Every thing works fine on Windows XP sp1 but when I installed service pack 2 I got an access denied when the application tried to create an...
2
2304
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...
0
2840
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...
1
2697
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...
0
1008
by: nikhil.bharathesh | last post by:
Hi all, I have a DCOM being referenced in my Web APP(VB.NET). in one of the classes i try to instantiate a Cl(VB.Net)ass present in my DCOM component. While doing the same i get this error : ...
0
430
by: royan | last post by:
Help please! I have the same problem which this post ...
0
7231
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,...
0
7336
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
7405
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
7066
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...
0
7504
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5643
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4724
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...
1
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
435
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.