Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

event id 1310 event code 3006; ASP.NET 2.0.50727.0

$
0
0

Hello,

I am trying to learn to use Visual Studio 2008.  I have a very simple application that has a form with a few text boxes.  There is not code associated with the controls or anything else.  When I attempt to view a form/page in the browser from Visual Studio, the following error is displayed in IE.  Can anyone help me understand what is going on?

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.Web.AspNetHostingPermission, System, 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.

Below is what gets posted in the Application Log:

Log Name:      Application
Source:        ASP.NET 2.0.50727.0
Date:          7/11/2014 1:02:50 PM
Event ID:      1310
Task Category: Web Event
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      WGC1W7JMHFHS1.sterling.ford.com
Description:
Event code: 3006
Event message: A parser error has occurred.
Event time: 7/11/2014 1:02:50 PM
Event time (UTC): 7/11/2014 5:02:50 PM
Event ID: 6def9a8602d94522b54d8ac2ea48cd0a
Event sequence: 4
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: 89ba98f4-2-130495717690800893
    Trust level: Full
    Application Virtual Path: /
    Application Path: Y:\Visual Basic Projects\StockTracker\StockTracker\StockTracker\
    Machine name: WGC1W7JMHFHS1
 
Process information:
    Process ID: 8076
    Process name: WebDev.WebServer.exe
    Account name: FORDNA1\rstring9
 
Exception information:
    Exception type: HttpParseException
    Exception message: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
 
Request information:
    Request URL: http://localhost:55379/frmCompanyInfo.aspx
    Request path: /frmCompanyInfo.aspx
    User host address: 127.0.0.1
    User: FORDNA1\rstring9
    Is authenticated: True
    Authentication Type: NTLM
    Thread account name: FORDNA1\rstring9
 
Thread information:
    Thread ID: 8
    Thread account name: FORDNA1\rstring9
    Is impersonating: False
    Stack trace:    at System.Web.UI.TemplateParser.ProcessException(Exception ex)
   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseReader(StreamReader reader, VirtualPath virtualPath)
   at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
   at System.Web.UI.TemplateParser.ParseInternal()
   at System.Web.UI.TemplateParser.Parse()
   at System.Web.UI.TemplateParser.Parse(ICollection referencedAssemblies, VirtualPath virtualPath)
   at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
   at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
   at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
   at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 
 
Custom event details:

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="ASP.NET 2.0.50727.0" />
    <EventID Qualifiers="32768">1310</EventID>
    <Level>3</Level>
    <Task>3</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-07-11T17:02:50.000000000Z" />
    <EventRecordID>31621</EventRecordID>
    <Channel>Application</Channel>
    <Computer>WGC1W7JMHFHS1.sterling.ford.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>3006</Data>
    <Data>A parser error has occurred.</Data>
    <Data>7/11/2014 1:02:50 PM</Data>
    <Data>7/11/2014 5:02:50 PM</Data>
    <Data>6def9a8602d94522b54d8ac2ea48cd0a</Data>
    <Data>4</Data>
    <Data>1</Data>
    <Data>0</Data>
    <Data>89ba98f4-2-130495717690800893</Data>
    <Data>Full</Data>
    <Data>/</Data>
    <Data>Y:\Visual Basic Projects\StockTracker\StockTracker\StockTracker\</Data>
    <Data>WGC1W7JMHFHS1</Data>
    <Data>
    </Data>
    <Data>8076</Data>
    <Data>WebDev.WebServer.exe</Data>
    <Data>FORDNA1\rstring9</Data>
    <Data>HttpParseException</Data>
    <Data>Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.</Data>
    <Data>http://localhost:55379/frmCompanyInfo.aspx</Data>
    <Data>/frmCompanyInfo.aspx</Data>
    <Data>127.0.0.1</Data>
    <Data>FORDNA1\rstring9</Data>
    <Data>True</Data>
    <Data>NTLM</Data>
    <Data>FORDNA1\rstring9</Data>
    <Data>8</Data>
    <Data>FORDNA1\rstring9</Data>
    <Data>False</Data>
    <Data>   at System.Web.UI.TemplateParser.ProcessException(Exception ex)
   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseReader(StreamReader reader, VirtualPath virtualPath)
   at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
   at System.Web.UI.TemplateParser.ParseInternal()
   at System.Web.UI.TemplateParser.Parse()
   at System.Web.UI.TemplateParser.Parse(ICollection referencedAssemblies, VirtualPath virtualPath)
   at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
   at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
   at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
   at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)
</Data>
  </EventData>
</Event>


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>