.Net hosting question

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?
 
C

Cowboy \(Gregory A. Beamer\)

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!
*************************************************
 
R

richard

Actually I was creating the site right on the server itself, does it
still have to be published?
 
R

richard

Actually Im creating the site right on the deployment server. DO I
still need to publish the site? Or how do I do this?
 
M

Mark Fitzpatrick

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top