.Net hosting question

  • Thread starter Thread starter richard
  • Start date Start date
R

richard

My web host has the .Net framework 2.0 installed with all updates (even
has the SDK installed on the server) and when I try to open a page that
has the CodeFile="Default.aspx.vb" and Inherits="_Default" attributes I
get a server 500 error (page cannot be displayed). When I take those
out of the @Page directive the page loads fine. What is going wrong
here?
 
Are you either

a) publishing the site and deploying the published bits
or
b) putting all files on the server including the code behind files

If not, there is your trouble. :-)

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
 
Actually I was creating the site right on the server itself, does it
still have to be published?
 
Actually Im creating the site right on the deployment server. DO I
still need to publish the site? Or how do I do this?
 
Try compiling the app first. Also, make sure that the host has your
application set for the 2.0 framework. Sometimes if it's not configured
properly it could still be trying to run off the 1.x framework.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
Back
Top