Question:
ASPX Frameworks 2.0 "Parser Error" WHY???
boaz k
2006-12-27 13:32:08 UTC
HI,i get the following error when i try to publish my aspx c# application to a webserver, when i test my application on vs 2005 or using IIS it works FINE!! but when i try to Publish a website from VS 2005 iget the following error :


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 the assembly 'App_Web_8f-yqnr4'. Make sure that it is compiled before accessing the page.

Source Error:


Line 1: <%@ page language="C#" autoeventwireup="true" inherits="Index, App_Web_8f-yqnr4" debug="true" %>
Line 2:
Line 3:

Does any one knows what can be done to fix this and or what makes this problum.
Four answers:
Rex M
2006-12-27 16:01:42 UTC
Your "inherits" attribute in the @Page directive is pointing to something that likely doesn't exist. If you are using a code-behind, you need to specify that in the directive. If not, just remove the inherits attribute altogether.
say2joe
2006-12-27 22:47:40 UTC
It's self-explanatory. This is basic .Net development fundamentals. You should probably take some tutorials online or get a book to learn .Net. You're obviously copying code (since you don't understand the inherits attribute), so you might want to simply ask the person you got it from.
anonymous
2006-12-27 21:40:38 UTC
There should be a library named App_WEB_8f-yqnr4 in your remote server.



If there isn't, get rid of the reference in your inherits attribute of the @page directive, or put the Apps_Web_8f-yqnr4 library in your remote server.
CrackityJones_83
2006-12-27 21:35:40 UTC
Good question-- I do not know the answer.



Did you try using a different compiler?


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...