Click here to Skip to main content
15,923,051 members
Home / Discussions / Web Development
   

Web Development

 
QuestionASP.Net Inherits="MyProjectNameSpace._Default" Issue Pin
Harvey Saayman17-Feb-09 10:50
Harvey Saayman17-Feb-09 10:50 
Hey guys, I'm new to web dev so just bare with me

I'm busy working on a website, obviously, but I've hit a bit of a snag...

At the moment its pretty simple, all its supposed to do is query the db and put the result in a text box. Now this all works on my dev machine, but as soon as i upload it to the host of the site i get 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 type 'MyProjectNameSpace._Default'.

Source Error:

Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs"
           Inherits="MyProjectNameSpace._Default"%>
Line 2:  
Line 3:          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


Source File: /default.aspx    Line: 1 


If i remove the Inherits="MyProjectNameSpace._Default" for line 1 the page displays... But its like my data access code is ignored cause it does not execute.

Any ideas as to why this is happening? Cause i am stumped Sigh | :sigh:

Thanks

Harvey Saayman - South Africa
Software Developer
.Net, C#, SQL

you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer)
1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111

AnswerRe: ASP.Net Inherits="MyProjectNameSpace._Default" Issue Pin
vaghelabhavesh17-Feb-09 11:08
vaghelabhavesh17-Feb-09 11:08 
GeneralRe: ASP.Net Inherits="MyProjectNameSpace._Default" Issue Pin
Harvey Saayman17-Feb-09 11:10
Harvey Saayman17-Feb-09 11:10 
QuestionGlobal Search Pin
Civic0617-Feb-09 2:02
Civic0617-Feb-09 2:02 
Questionself.focus() do not work in IE7 Pin
Aman Bhullar17-Feb-09 1:56
Aman Bhullar17-Feb-09 1:56 
AnswerRe: self.focus() do not work in IE7 Pin
Mohammad Dayyan20-Feb-09 18:10
Mohammad Dayyan20-Feb-09 18:10 
QuestionIs there any way to communicate with usb hid device throw web application [modified] Pin
pincher17-Feb-09 1:24
pincher17-Feb-09 1:24 
QuestionSite Crash Pin
Johndas16-Feb-09 20:06
Johndas16-Feb-09 20:06 
AnswerRe: Site Crash Pin
Aman Bhullar17-Feb-09 1:57
Aman Bhullar17-Feb-09 1:57 
QuestionA FIRE FOX CODING PROBLEMS Pin
helpmepeople16-Feb-09 20:03
helpmepeople16-Feb-09 20:03 
AnswerRe: A FIRE FOX CODING PROBLEMS Pin
SeMartens17-Feb-09 1:42
SeMartens17-Feb-09 1:42 
GeneralRe: A FIRE FOX CODING PROBLEMS Pin
helpmepeople17-Feb-09 2:52
helpmepeople17-Feb-09 2:52 
GeneralRe: A FIRE FOX CODING PROBLEMS Pin
SeMartens17-Feb-09 3:14
SeMartens17-Feb-09 3:14 
GeneralRe: A FIRE FOX CODING PROBLEMS Pin
helpmepeople17-Feb-09 3:19
helpmepeople17-Feb-09 3:19 
GeneralRe: A FIRE FOX CODING PROBLEMS Pin
SeMartens17-Feb-09 3:56
SeMartens17-Feb-09 3:56 
QuestionThe breakpoint will not be hit Pin
jp_pj_pjj16-Feb-09 17:15
jp_pj_pjj16-Feb-09 17:15 
QuestionHELP! Opening a .jar file in RAD. Need to view and edit the .class files. Pin
ToddW81416-Feb-09 6:15
ToddW81416-Feb-09 6:15 
QuestionSoap-Webservice Behavior Pin
ReadonlyMan16-Feb-09 4:23
ReadonlyMan16-Feb-09 4:23 
AnswerRe: Soap-Webservice Behavior Pin
Expert Coming16-Feb-09 9:46
Expert Coming16-Feb-09 9:46 
GeneralRe: Soap-Webservice Behavior Pin
ReadonlyMan16-Feb-09 19:27
ReadonlyMan16-Feb-09 19:27 
QuestionMultiple Session with IE7 and Mozilla Pin
Member 187278915-Feb-09 20:23
Member 187278915-Feb-09 20:23 
QuestionPlease help me How To Create Job Board ? Pin
IshtiaqueJ15-Feb-09 8:24
IshtiaqueJ15-Feb-09 8:24 
AnswerRe: Please help me How To Create Job Board ? Pin
Ashfield16-Feb-09 1:51
Ashfield16-Feb-09 1:51 
QuestionUsing external app on server Pin
TCHamilton13-Feb-09 6:30
TCHamilton13-Feb-09 6:30 
AnswerRe: Using external app on server Pin
jc.net15-Feb-09 8:55
jc.net15-Feb-09 8:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.