English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

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.

2006-12-27 08:32:08 · 4 answers · asked by boaz k 1 in Computers & Internet Programming & Design

4 answers

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.

2006-12-27 11:01:42 · answer #1 · answered by Rex M 6 · 0 2

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.

2006-12-27 17:47:40 · answer #2 · answered by say2joe 3 · 0 2

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.

2006-12-27 16:40:38 · answer #3 · answered by Anonymous · 0 2

Good question-- I do not know the answer.

Did you try using a different compiler?

2006-12-27 16:35:40 · answer #4 · answered by CrackityJones_83 3 · 0 2

fedest.com, questions and answers