ASPX Frameworks 2.0 "Parser Error" WHY?


Question: 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: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-t...

Does any one knows what can be done to fix this and or what makes this problum.

Answer:
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.
Good question-- I do not know the answer.

Did you try using a different compiler?
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.
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.
More Questions & Answers...
  • Problems with Pages loading web pages.?
  • Proxy sniffer?
  • Trying to load the drivers for a powerdata S900 pc camera on my computer with windows XP.?
  • Get113to138mpg.com It can be done! and it "HAS BEEN DONE"!?
  • I can't connect to the internet with my laptop what should I do?
  • My friend's NetZero will connect, but he can't open any websites. What could the problem be?
  • How to program a Java applet that needs lots of images(some really big), and be successful with no erros?
  • I'm looking to buy a used car - please help me compare these two: 2000 Celica and 1998 Eclipse?
  • The questions and answers post by the user, for information only, AnswersRoom.com does not guarantee the right
    Copyright © 2007 AnswersRoom.com -   Terms of Use -   Contact us

    Hot Topic