Helpful Information
 
 
Category: .Net Development
setting up IIS for C#

I'm running XP Pro/IIS.

I installed C#.NET and since have had to re-install IIS.

My ASP/C# scripts will not run. ( although i've never ran one in the first place so it might be something that was never setup. )

any qucick tips or links would be much appreciated.

Thank You

I'm total n00b here to C#, but is it correct that i just name my files ".aspx" ?

yes but inside your .aspx you must specify a programming language. For example if you are using the code behind features:

<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="LandDevelopment.WebForm1" %>

Then the code behind page would be called WebForm1.aspx.cs

On win2k you need to register IIS to utilise .NET.

go into c:\winnt\microsoft.net\frameworks\v1.1blah\ and there will be a script called regiisaspnet.bat or something similar with reg in the name. Run that and it will work










privacy (GDPR)