469,140 Members | 1,386 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,140 developers. It's quick & easy.

Plz Help Needed! The type initializer threw an exception. ---> System.UnauthorizedAccessException: Access is denied

Hello All,

I have windows server 2003 with IIS 6.0..
I have a webservice that is using a vc7 dll which in turn is using a
com dll...now....

there is a function there in that vc7 dll that is using the com dll to
connect to a server running on different machine.

Now when I call that function from webservice its giving me eception
that

System.TypeInitializationException: The type initializer for
"TraderComponent.InteropWeb" threw an exception. --->
System.UnauthorizedAccessException:

Access is denied.

TraderComponent is my vc7 dlls name...and interopweb is the class
contaning that function..

BTW this whole thing is working fine in windowx XP....

I thnk it has something to do with the permission rights etc....

Plz help me out on this...
Wats causing the problem...

Thanks
Cheers...

Bye.

Mar 4 '06 #1
0 1572

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Fabian von Romberg | last post: by
2 posts views Thread by tshad | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.