Subject: Security error
Posted By: reggie213 Post Date: 4/6/2006 7:56:37 AM
Hi,

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\www.localtradefind.co.uk\web\content\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.HttpApplication+IExecutionStep.Execute() +179
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87

 


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


Go to topic 42468

Return to index page 321
Return to index page 320
Return to index page 319
Return to index page 318
Return to index page 317
Return to index page 316
Return to index page 315
Return to index page 314
Return to index page 313
Return to index page 312