I seem to be having a problem with a VB.NET web application.
I have a main page (aspx) and a code file (aspx.vb)
For some reason when I upload these two files to my webserver I get the following error
http://jasconius.net/sssclass/week3.aspx
Here is the code
http://www.jasconius.net/sssclass/week3.txt
I changed the original class name and inherets to _Default for debugging purposes (though it didn't work under it's original class name either)
The wierd part here is that it works fine on my local machine, but not on the web server.
I'm assuming some dumb configuration thing here with my hosting, I use 1and1 hosting, but does anyone see anything out of the ordinary?
Posts
http://www.thelostworlds.net/
I thought with a ASP.NET application you complie the project in 'Release' mode which creates a DLL that resides in a bin folder under the home folder of your aspx files.
I've never uploaded both aspx and aspx.vb, just the DLL and the aspx files.
My classmates have had success with uploading just the file and codefile and having it work.
EDIT: All I did was add the Control tag name, so that ASP.NET will realize that the ascx file defines a control, and parse it properly.
Not unless you're doing your hosting in a really weird way.
AngelHedgie's suggestion might work, but if it doesn't try either making the folder an application like I said (so that IIS treats sssclass as the root path for this app instead of the top-level folder), or putting it at the root level.
http://www.thelostworlds.net/