471,599 Members | 1,910 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,599 software developers and data experts.

Security permissions for .NET v2.0

Hi there,

We're in the process of converting our .NET 2002 apps into 2005 and have run
into a security issue. We are trying to attach to an assembly using a UNC
path.

We sorted the issue out in .NET 2002 by using the 'Adjust .NET security'
Wizard. and moved the Local Intranet security setting to Full trust for the
whole computer.

We can't find any wizards for .NET 2005! What can we use to tweak the
security settings so we get the .NET 2002 behaviour?
The specific error is :

Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Thanks,

Nov 17 '05 #1
2 1332
You have to use caspol.exe, the wizard is only included with the SDK .

Willy.

"Squeeze" <no****@nomail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi there,

We're in the process of converting our .NET 2002 apps into 2005 and have
run into a security issue. We are trying to attach to an assembly using a
UNC path.

We sorted the issue out in .NET 2002 by using the 'Adjust .NET security'
Wizard. and moved the Local Intranet security setting to Full trust for
the whole computer.

We can't find any wizards for .NET 2005! What can we use to tweak the
security settings so we get the .NET 2002 behaviour?
The specific error is :

Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Thanks,


Nov 17 '05 #2
You have to use caspol.exe, the wizard is only included with the SDK .

Willy.

"Squeeze" <no****@nomail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi there,

We're in the process of converting our .NET 2002 apps into 2005 and have
run into a security issue. We are trying to attach to an assembly using a
UNC path.

We sorted the issue out in .NET 2002 by using the 'Adjust .NET security'
Wizard. and moved the Local Intranet security setting to Full trust for
the whole computer.

We can't find any wizards for .NET 2005! What can we use to tweak the
security settings so we get the .NET 2002 behaviour?
The specific error is :

Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Thanks,


Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Noloader | last post: by
116 posts views Thread by Mike MacSween | last post: by
3 posts views Thread by Carl | last post: by
2 posts views Thread by Budhi Saputra Prasetya | last post: by
reply views Thread by Anwar ali | last post: by

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.