473,569 Members | 2,466 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access denied to DCOM ASP.net 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.Creat eInstance(typeo fOPCserver);

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

Many Thanks
Dan
---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
Nov 18 '05 #1
1 2262
Thank you now it works.

Regards
Dan Fransson

"Ken Cox [Microsoft MVP]" wrote:
Have you reviewed the info about SP2 and DCOM?

"The DCOM infrastructure also has additional access control restrictions to
reduce the risk of a successful network attack."

http://www.microsoft.com/technet/pro...etwk.mspx#EIAA

"DotNetJunk ies User" 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.Creat eInstance(typeo fOPCserver);

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

Many Thanks
Dan
---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.

Nov 18 '05 #2

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

Similar topics

0
1450
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_ =
1
2383
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,...
5
6369
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);
3
3252
by: Ubbe17 | 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 instance to the DCOM. C# code where I get the access is denied occurred. OPCserverObj = Activator.CreateInstance(typeofOPCserver); Does anybody...
2
2307
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-00000­0000046} The user is...
0
2847
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...
1
2698
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...
0
1009
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 : "Exception Details: System.UnauthorizedAccessException: Access is denied. ASP.NET is not authorized to access the requested resource. Consider
0
430
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...
0
7703
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...
0
7926
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. ...
0
8132
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...
1
7678
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...
1
5514
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...
0
5222
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...
1
2116
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
1
1226
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
944
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.