IIS not recognizing the ASPX as a ASP.NET file


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: IIS not recognizing the ASPX as a ASP.NET file

  1. #1
    Ken Snyder Guest

    IIS not recognizing the ASPX as a ASP.NET file


    I recently installed .NET and wrote a basic "hello world" ASP.NET webservice.
    Everything compiles and it is simple enough that I am relatively certain
    that the webservice is correctly coded but unfortunately for some reason
    when I go to webservice with my browser the browser just downloads the file
    rather than passing it to the .NET execution engine. I assume this has to
    do with the IIS configuration, I originally thought it must be an ISAPI filter
    that identifies this filetype and hands off to the right DLL.

    I looked at my computer versus a friends who has it working and noticed that
    my IIS didn't have the ASP.NET_1.0.3705.0 filter and his did. Hmmm. Well
    I inserted it manually:

    ASP.NET_1.0.3705.0 C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\aspnet_filter.dll

    but still no change. Any help would be greatly appreciated.

    - ken snyder

    p.s. if you don't mind CC'ing me on any reply that would be appreciated too

  2. #2
    Anthony Glenwright Guest

    Re: IIS not recognizing the ASPX as a ASP.NET file


    You've probably already tried it, but the first thing that comes to mind it
    to (re)install the .NET runtime on your server... This *should* fix any
    problems.


    "Ken Snyder" <ksnyder@sapient.com> wrote:
    >
    >I recently installed .NET and wrote a basic "hello world" ASP.NET webservice.
    > Everything compiles and it is simple enough that I am relatively certain
    >that the webservice is correctly coded but unfortunately for some reason
    >when I go to webservice with my browser the browser just downloads the file
    >rather than passing it to the .NET execution engine. I assume this has

    to
    >do with the IIS configuration, I originally thought it must be an ISAPI

    filter
    >that identifies this filetype and hands off to the right DLL.
    >
    >I looked at my computer versus a friends who has it working and noticed

    that
    >my IIS didn't have the ASP.NET_1.0.3705.0 filter and his did. Hmmm. Well
    >I inserted it manually:
    >
    >ASP.NET_1.0.3705.0 C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\aspnet_filter.dll
    >
    >but still no change. Any help would be greatly appreciated.
    >
    >- ken snyder
    >
    >p.s. if you don't mind CC'ing me on any reply that would be appreciated

    too


  3. #3
    csa Guest

    Re: IIS not recognizing the ASPX as a ASP.NET file


    This worked for me

    http://support.microsoft.com/default...;EN-US;Q306005

    Good luck!

    "Ken Snyder" <ksnyder@sapient.com> wrote:
    >
    >I recently installed .NET and wrote a basic "hello world" ASP.NET webservice.
    > Everything compiles and it is simple enough that I am relatively certain
    >that the webservice is correctly coded but unfortunately for some reason
    >when I go to webservice with my browser the browser just downloads the file
    >rather than passing it to the .NET execution engine. I assume this has

    to
    >do with the IIS configuration, I originally thought it must be an ISAPI

    filter
    >that identifies this filetype and hands off to the right DLL.
    >
    >I looked at my computer versus a friends who has it working and noticed

    that
    >my IIS didn't have the ASP.NET_1.0.3705.0 filter and his did. Hmmm. Well
    >I inserted it manually:
    >
    >ASP.NET_1.0.3705.0 C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\aspnet_filter.dll
    >
    >but still no change. Any help would be greatly appreciated.
    >
    >- ken snyder
    >
    >p.s. if you don't mind CC'ing me on any reply that would be appreciated

    too


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center