#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    36
    Rep Power
    12

    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

    Comments on this post

    • Gran Roguismo agrees
    • BaronVonDoppleG agrees
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    36
    Rep Power
    12
    I'm total n00b here to C#, but is it correct that i just name my files ".aspx" ?

    Comments on this post

    • Gran Roguismo agrees
  4. #3
  5. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    Dallas, Texas
    Posts
    138
    Rep Power
    12
    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

    Comments on this post

    • Gran Roguismo agrees
    • BaronVonDoppleG agrees
    Last edited by mrusaw; July 31st, 2003 at 02:19 PM.
    mr...

    mike.rusaw@realpage.com
    RalPage, Inc.

    "I have made this letter longer than usual, only because I have not had the time to make it shorter." - Blaise Paschal
  6. #4
  7. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2002
    Location
    London
    Posts
    349
    Rep Power
    13
    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

IMN logo majestic logo threadwatch logo seochat tools logo