By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,515 Members | 1,363 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,515 IT Pros & Developers. It's quick & easy.

c#-web inherits problems at upload

P: 4
does anybody know why i keep getting an error in inherits="projectname._default" in my default.aspx file everytime i upload to the web ? removing it usually gives another error on the page.

the page runs fine in vs.
Apr 19 '07 #1
Share this Question
Share on Google+
5 Replies


Frinavale
Expert Mod 5K+
P: 9,731
does anybody know why i keep getting an error in inherits="projectname._default" in my default.aspx file everytime i upload to the web ? removing it usually gives another error on the page.

the page runs fine in vs.
Welcome to the scripts new2the!

Could you please provide more information about the error?
Like post the error itself :)

Thanks.
-Frinny
Apr 19 '07 #2

P: 4
the error is
-----------------------
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 'ja._Default'.

Source Error:


Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ja._Default" %>
-----------------------------------
ja is the projectname and all the program i supposed to do is to show a button
but if i remove the iherits then i get the error CS0117:
"not contain a definitionfor 'Button1_Click'

hope tha clerify my problem.
Apr 19 '07 #3

Frinavale
Expert Mod 5K+
P: 9,731
the error is
-----------------------
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 'ja._Default'.

Source Error:


Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ja._Default" %>
-----------------------------------
ja is the projectname and all the program i supposed to do is to show a button
but if i remove the iherits then i get the error CS0117:
"not contain a definitionfor 'Button1_Click'

hope tha clerify my problem.

My first question would be:
Does your web server support ASP.NET?

-Frinny
Apr 19 '07 #4

P: 4
yes my webhotel runs asp.net 2.0
Apr 19 '07 #5

Frinavale
Expert Mod 5K+
P: 9,731
yes my webhotel runs asp.net 2.0
Are the permissions on your files set such that the ASPNET user (internet user/ anonymous user account) is allowed access to all of your project's components?
Apr 20 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.