Cannot Get WEB .aspx Page to Resolve on Server

Gentleman:

I have an extensive background in HTML and good experience writing C# desktop applications, but I only recently moved onto ASPX. I just created my first aspx website, which includes an access database, and everything works perfectly when it is on the desktop. However, when I try to make it work from a web server, there are several issues. First, none of the labels show up. Second, the link labels do show up, but are not active as links. Third, the text boxes do not appear. Fourth, the graphics will not come up. I checked all spelling and changed all the cases to lower, but no difference. And finally, the program opens with an (index.htm) page, and then links to the first aspx page as it should, but the following line of code appears at the top of that page and none of the links on that page work:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="intro.aspx.cs" Inherits="_Default" %>

All other text, besides the labels, that is typed directly into tables is as it should be. I uploaded the program using an ftp application, but I also tried the included upload from the Visual Studio 2005 application, and the result was exactly the same. Because it works perfectly on the desktop using the installed IIS, I have to believe that there is a single flaw that is causing all the crap to happen. Any help would be greatly appreciated. Pat
[1410 byte] By [Pat Tum] at [2007-11-20 9:18:14]
# 1 Re: Cannot Get WEB .aspx Page to Resolve on Server
it seems, from your decscription of the controls that are not rendering that there is something wrong either with your ASP.NET framework installation or the registration of it with the IIS Server on your servers.

From what you describe any SERVER SIDE Control (those with runat="Server" in the controls constructor) is not rendering.

So i have some things for you to check to help diagnose this.

a) What version of .NET are you building with 1.1 or 2.0? Make sure you have the proper framework installed on the server
b) Is IIS running on the server. and did you create either a Virtual Directory on it or a WebSite on it.
c) Is the Website or Vir Dir you created bound to the proper asp.net version (there should be an asp.net version TAB in the Properties for the vir dir or web app ) make sure the proper version is selected (only if you have 1.1 and 2.0 installed)
d) And make sure your putting your files located in the BIN directory on the server as well (you dont need the C# files)

If you have checked all this and it seems to be working fine try re-installing and re-registering the asp.net framework by using the command line program
"aspnet_regiis -i"

hth and post back any findings

mcm
mcmcom at 2007-11-9 11:53:30 >