Russ Nemhauser
Made Fresh Daily!
July 2006 - Posts
A New, Out-of-the-Blue Problem
08 July 06 10:45 PM
|
russnem
| with
no comments
Twice in the last three days my team has encountered the following error when attempting to set up a web site or virtual directory on a machine that has Team Foundation Server installed. After we copy our files to the directory and try to browse to the site, we see the following error. In addition to a huge curiosity as to how to solve this problem, I'm very curious as to why this only happens on our two "single-server" installations of Team Foundation Server. Any advice anyone can offer would be most appreciated. Server Error in '/VanillaCS' 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.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' 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.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.] System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0 System.Security.CodeAccessPermission.Demand() +59 System.IO.Path.GetFullPath(String path) +98 System.Web.Util.FileUtil.IsSuspiciousPhysicalPath(String physicalPath, Boolean& pathTooLong) +50 System.Web.Util.FileUtil.IsSuspiciousPhysicalPath(String physicalPath) +23 System.Web.Configuration.MetabaseServerConfig.MapPathCaching(String siteID, VirtualPath path) +513 System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath.MapPath(String siteID, VirtualPath vpath) +9 System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +163 System.Web.VirtualPath.MapPathInternal() +41 System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) +122 System.Web.HttpServerUtility.MapPath(String path) +60 CommunityServer.Configuration.CSConfiguration.GetConfig() +95 CommunityServer.Components.Jobs.Start() +104 CommunityServer.CSHttpModule.Init(HttpApplication application) +335 System.Web.HttpApplication.InitModules() +267 System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1251 System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +243 System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +106 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +317 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.62
More Posts
Search
Go
This Blog
Home
About
Tags
.NET
Agile
ASP.NET
C#
General Software Development
Internet Explorer
Microsoft
MIX
Mobile
Orcas
Silverlight
SQL Server
Team Foundation Server
Team System
Vista
Visual Studio
Navigation
Home
Blogs
Archives
April 2008 (1)
March 2008 (1)
January 2008 (1)
November 2007 (1)
October 2007 (1)
September 2007 (2)
August 2007 (2)
June 2007 (1)
May 2007 (2)
April 2007 (1)
January 2007 (2)
November 2006 (1)
October 2006 (2)
September 2006 (3)
August 2006 (5)
July 2006 (1)
June 2006 (2)
May 2006 (1)
February 2006 (1)
January 2006 (3)
December 2005 (6)
November 2005 (2)
October 2005 (1)
September 2005 (6)
August 2005 (1)
July 2005 (7)
June 2005 (9)
May 2005 (5)
April 2005 (8)
March 2005 (3)
February 2005 (2)
November 2004 (1)
October 2004 (6)
September 2004 (1)
August 2004 (9)
About Me
Russology
Blogs I Read
Rob Howard
Rocky Lhotka
Doug Seven
Scott Mitchell
Brian Randell
Steve Smith
Ken Getz
Scott Guthrie
Bernard Wong
Syndication
RSS
Atom
Comments RSS