469,613 Members | 2,180 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

config file

Any hint for this error?
It appears while trying to read a config file.
Error loading XML file
c:\windows\microsoft.net\framework\v1.0.3705\Confi g\machine.config Request
for the permission of type
System.Security.Permissions.StrongNameIdentityPerm ission, mscorlib,
Version=1.0.3300.0, Culture=neutral, PublicKeyToken=** failed.
(c:\windows\microsoft.net\framework\v1.0.3705\Conf ig\machine.config)
Nov 15 '05 #1
1 1249
On Wed, 4 Feb 2004 00:44:25 +0100, "Tony" <to**@hotmail.com> wrote:
Any hint for this error?
It appears while trying to read a config file.
Error loading XML file
c:\windows\microsoft.net\framework\v1.0.3705\Conf ig\machine.config Request
for the permission of type
System.Security.Permissions.StrongNameIdentityPer mission, mscorlib,
Version=1.0.3300.0, Culture=neutral, PublicKeyToken=** failed.
(c:\windows\microsoft.net\framework\v1.0.3705\Con fig\machine.config)


This is saying that your attempt to acceess a config file was
disallowed. You might have heard of code access security.

Here, the attempt to access the config file is producing a demand for
a strong named assembly, which your assembly isnt. You have two
choices - 1) Sign your assembly, 2) Alter local policy.

Caspol is a utility for managing CAS policy.
You can read up on caspol here
http://msdn.microsoft.com/library/en...ycaspolexe.asp

CAS is a pretty big topic, but worth reading up on.

HTH
Ben

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by Maxim Khesin | last post: by
2 posts views Thread by Suresh Gladstone | last post: by
22 posts views Thread by Daniel Billingsley | last post: by
13 posts views Thread by Khodr | last post: by
3 posts views Thread by Blasting Cap | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.