Wrox Programmer Forums
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 6th, 2006, 07:56 AM
Registered User
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Security error


Ive jsut recently jumped into the ASP.net world. I purchased a few Wrox books adn got started.

Usign some examples I found on the net i purchased some hosted space with www.webfusion.com and upload the app.

Upon launching the app i had to create a web.config file to be allowed to view the errors in more detail. once done I got the below error. From what I can see its to do with config Hosting company side. However I havent been able to find out much mroe info about it and what I should be asking the hosting company to allow in their server config?!?!

Can anyone help? :)

Server Error in '/' Application.

Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request failed.

Source Error:

Line 21:
Line 22: 'Display all categories
Line 23: Display_Category()
Line 24:
Line 25: 'Call Total Link Count - get the number links

Source File: \\filer01\business\localtradefind.co.uk\www.localtradefind.co.uk\web\content\index.aspx Line: 23

Stack Trace:

[SecurityException: Request failed.]
   ASP.index_aspx.Display_Category() +0
   ASP.index_aspx.Page_Load(Object Sender, EventArgs E) in \\filer01\business\localtradefind.co.uk\http://www.localtradefind.co.uk\web\...\index.aspx:23
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +2112
   System.Web.UI.Page.ProcessRequest() +218
   System.Web.UI.Page.ProcessRequest(HttpContext context) +18
   System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication+IExecutionStep.Execute() +179
   System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +87

Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

Similar Threads
Thread Thread Starter Forum Replies Last Post
Security Exception Error nici ASP.NET 2.0 Basics 0 May 23rd, 2007 12:03 PM
Security Error on the "Try It Out" from p.113 TekWarrior BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 1 February 7th, 2007 03:05 PM
System.Security.SecurityException: Security error coolcatjk Pro VB.NET 2002/2003 4 March 2nd, 2006 06:00 PM
Security Error Using DSN Connection Adir Rovner ASP.NET 1.0 and 1.1 Basics 7 August 24th, 2004 09:30 AM
EntryToLog.aspx -- security error reidcor ASP.NET 1.0 and 1.1 Basics 3 July 24th, 2003 05:05 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.