Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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 August 5th, 2007, 01:29 PM
Registered User
 
Join Date: Apr 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Deployment Security Headspin

Ok, I precompiled website, used ftp to connect, copied it to a real envirovment, and hit my head into the wall for the past few days. Half of the website works and half does not. Even after loging in as an administrator, makes no difference, here is the code.
__________________________________________________ _-------
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 for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.]
   System.Security.CodeAccessSecurityEngine.Check(Obj ect demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
   System.Security.CodeAccessPermission.Demand() +59
   System.Configuration.BaseConfigurationRecord.Check PermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) +65

 Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
_--------------------_------------------------_----------------
THIS is not all, I went to my asp web event in database and this is what i pulled out:

Event code: 4010Event message: An unhandled security exception has occurred.Event time: 8/42007 4:04:51 PMEvent ID: 0ac939688861433eb3dc9b4cafc095e6Event sequence: 124Event occurrence: 21Event detail code: 0 Application information: Application domain: /LM/W3SVC/1268647/Root-229-128304758184117307 Trust level: Custom Application Virtual Path: / Application Path: E:\0\1\27\162\1190977\user\1268647\htdocs\ Machine name: W2K3-WEB19 Process information: Process ID: 1264 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Request information: Request URL: http://www.olmv.net/Default1.aspx Request path: /Default1.aspx User host address: something something … User: Admin Is authenticated: True Authentication Type: Forms Thread account name: NT AUTHORITY\NETWORK SERVICE

“System.Web.Management.WebFailureAuditEvent”

________________-_________________________________________

So help me before i get internal bleeding from trying to figure this out...





Similar Threads
Thread Thread Starter Forum Replies Last Post
Code Access Security & Role Based Security robzyc C# 6 April 11th, 2008 02:31 AM
deployment p2pMember ASP.NET 2.0 Basics 0 June 7th, 2007 01:12 AM
Deployment sen22 .NET Framework 2.0 1 April 17th, 2007 02:38 PM
Deployment regbnvl BOOK: Professional VB 2005 ISBN: 0-7645-7536-8 0 May 7th, 2006 04:44 PM
System.Security.SecurityException: Security error coolcatjk Pro VB.NET 2002/2003 4 March 2nd, 2006 06:00 PM





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