Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS and .NET

Status
Not open for further replies.

fsteeman

Programmer
Jul 17, 2002
103
DK
I have been developing a website in ASP.NET framework 2.0 beta, locally on my work's PC, where I could run and test without problems.
I can not run and test it remotely on our server yet, because the server-people want to wait till the official release of .NET 2.0 to upgrade from 1.1.

However, I wanted other people to see and test my website under development already now, so it was suggested to me to install IIS om my own PC and have that work as a webserver for the time being.

Fair enough, I added this IIS as a windows component under WinXP Pro. Typing the IP-address of my computer in a browser gets me to the different html-pages at the website. No problem there. However, every time I want to access a .aspx an error is thrown in the browser window.

For example, when I type " everything is just peachy. However, when I write: " Then the following error message shows in the browser (translated from Danish):

XML interpretation error: not correctly formed address: Line number 1, Column 2:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
-^

Is there some setting I forgot? Is IIS at all aware of the .NET framework?

Any help is greatly appreciated...

Fedor Steeman
Geological Museum Copenhagen
Denmark
 
you need to change settings in your IIS manager...

click on the aspx check box so that it can run asp.net pages...


-DNG
 
more precisely...open IIS manager....right click on your servername...i think one of the tabs says documents...add default.aspx in the list...

-DNG
 
I did that, but it didn't work. Maybe 5.0 does not support this? Or what about reinstalling the .NET framework?

Fedor Steeman
Geological Museum Copenhagen
Denmark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top