Security error

J

JohnS

Hi there,

I installed my web site onto a newly installed version of Win Server 2008
and am now getting a "System.Security.Policy.PolicyException" trying to
access any page. The error is "Execution permission cannot be acquired" but
more specifically, it's related to the "'AjaxControlToolkit" I installed
into my ASP.NET "bin" folder. There are various messages that it can't be
loaded, that it "failed to grant permission to execute", etc. I've tried all
sorts of different things but of course (as usual) there's precious little
diagnostic information that actually tells me how to fix it. Can anyone
help. Thank you.
 
J

Jani Järvinen [MVP]

Hello John,
I installed my web site onto a newly installed version of Win Server 2008
and am now getting a "System.Security.Policy.PolicyException" trying to
access any page.

Since you mention that the error is given when you try to "access any page",
do you mean that even static pages cause trouble on your server? Can you
access the root of your server successfully?

Or, if you simply create a new ASP.NET application and have a static .aspx
page on it, can you access that page? If not, then there probably is
something wrong with the ASP.NET installation on your server.

If you could first check which files/pages/applications you can access, and
then report your findings again here, we could better help you. There
shouldn't be anything special in the Ajax Control Toolkit, so we'd need more
information.

Thanks!

--
Regards,

Jani Järvinen
C# MVP
Vantaa, Finland
E-mail: (e-mail address removed)
Business: http://www.nimacon.net/
Personal: http://www.saunalahti.fi/janij/
 

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

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top