Parser Error In .net
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Parser Error when deploy ASP.NET application up vote 6 down vote favorite 1 I've finished simple asp.net web application project, compiled it, and try to test on local IIS. I've create virtual directory, map it with physical directory, then put all necessary files there, including bin folder with all .dll's In the project settings, build section, output path is bin\ So when i try to browse my app i got: Server Error in '/' Application. -------------------------------------------------------------------------------- Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'AmeriaTestTask.Default'. Source Error: Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="AmeriaTestTask.Default" %> Line 2: Line 3: <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxToolkit" %> Source File: /virtual/default.aspx Line: 1 Have read similar problem posts and solution was to set output path to bin\, but it is defalut for my project. asp.net parsing deployment share|improve this question asked Feb 10 '13 at 17:36 igorGIS 48731021 1 Parser errors tend to mean that your ASPX pages are not well formed. –Oded♦ Feb 10 '13 at 17:37 Thanks for reply. I've no warnings in VS2010 and from IDE project ru
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question http://stackoverflow.com/questions/14800550/parser-error-when-deploy-asp-net-application x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error: Server Error in '/' Application Parser Error, asp.net c#? up vote 0 down vote favorite In http://stackoverflow.com/questions/18017940/error-server-error-in-application-parser-error-asp-net-c my application, other pages are running correctly, but this page is throwing an error. Code <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OutReport.aspx.cs" Inherits="HMS.OutReport" MasterPageFile="~/Site.Master" %>
Asp.net, IIS, Solutions | Last Updated: Feb 28, 2014 When deploying asp.net application to host on live server or IIS server, you might get this type http://www.aspneto.com/parser-error-when-deploying-asp-net-application.html of parser error. Parser error occurs while some resources are required to serve the request but not able to get the source. Parser Error Server Error in ‘/' Application
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: parser error Could not load type ‘assembly.Default' Following might be the possible solutions to solve out this error. Solution 1 Web Application's "Bin" folder is missing or the application's DLL file is missing. Check all files are successfully copied to production server or virtual directory. Solution 2 Your application may not have successfully compiled because Visual Studio .NET is caching an old version of the DLL parser error in files. So, you need to re-compile or build all DLL's before uploading to production or IIS server. Solution 3 1. Use IIS WebServer Configuration 2. Right-Click on your WebSite > Properties 3. Then in the "Directory", Create your Application, Add it to your ApplicationPool and verify that your virtual directory is mounted properly 4. Then in the "bin" directory should be seen and used with all the files under it Solution 4 You may have deployed to the "/" (web root) directory, but have not changed some of the settings in the "Web.config" file. So, cross check those settings Note: In most cases issue is we forget to upload latest built DLL's under "bin" folder or failed to upload some files on server during uploading through FTP program. So, cross check all files are successfully uploaded to server. Tip: You can get more tutorials on Solutions, Asp.net, IIS here. Signup Today And Get Latest Tutorials For Free! Subscribe to us and get free latest tutorials notifications whenever we publish a new contents. E-Mail Address About Mayank ModiMayank is a web developer and designer who specializes in bac