access denied to DCOM, winXP sp2

G

Guest

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?
 
G

Guest

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
 
G

Guest

Thanks for the help, I solved it by adding the correct user to have access to
the DCOM.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top