.NET issue with ASPX file NOT working on Windows Server 2000 IIS 5 Getting "The system cannot find the file specified" Message

Posted on 2006-05-19
Last Modified: 2008-01-09
I have a large web system running Classic ASP.  I now want to move into .NET environment.  I developed a quick ASPX page and added it to my development server.  When I try to access this page from my workstation browser, I get "The system cannot find the file specified" message.  I've updated my server to the 2.0.50727 framework version.  

Still NO LUCK.

I'm starting to wonder about the server and whether it is NOT supporting a four character extension.
NOTE: ASPX page works fine on my developement workstation using VS2005.

Question by:BizzukaInc
    LVL 14

    Expert Comment

    Have u reinstalled IIS after installing the Framework?
    LVL 14

    Expert Comment

    IIS mappings for ASP.NET, you can run the Aspnet_regiis.exe utility and the register the Aspnet_isapi.dll. Just follow the steps below...

    Open the MSDOS Command Prompt and type
    %windir%\Microsoft.NET\Framework\2.0.50727\aspnet_regiis.exe -i
    [NOTE: Becareful about your current .NET Framework version 2.0.50727]

    After it finishes, you have one more step:

    Open 'Run' from 'Start Menu' and type:
    regsvr32 %windir%\Microsoft.NET\Framework\2.0.50727\aspnet_isapi.dll
    Press OK, wait, and you should receive a confirmation message.

    I think it will work for u.


    Author Comment

    I've reinstalled a few times using different techniques I've come accross.

    When I try your steps, the regsvr32 give me a message that the dll "was loaded, but the DllRegisterServer entry point was not found."

    A second line in the message box indicates that a corrupt version of the dll may be in memory and to consider using PView to detect and remove it.
    LVL 14

    Expert Comment

    The first message implies that the dll needed for executing ASPX aspnet_isapi.dll
    is already loaded & the second error shows that the dll may be corrupted. So I'll suggest to reinstall the dll (May be from the .NET Framework) & register it correctly
    LVL 14

    Accepted Solution

    Here after your comment I can clearly say the you are having problem with aspnet_isapi.dll.

    %windir%\Microsoft.NET\Framework\2.0.50727\aspnet_regiis.exe -i
    regsvr32 %windir%\Microsoft.NET\Framework\2.0.50727\aspnet_isapi.dll

    - The first command is to install the aspnet_isapi.dll.
    - Second command is to register aspnet_isapi.dll

    One more tip I can give u that, search & delete aspnet_isapi.dll. Then open Registry Editor & delete all the entries for aspnet_isapi.dll. Then run those two command again. After that if still ur facing same problem then, I can say aspnet_regiis.exe is corrupted.

    Best of luck

    Author Comment

    Still working on last suggestion. I'm in the middle of a big release, while working on this at the same time.  There seems to be an issue with my MS Installer program.  I'll be working on resolving this first so I can then reinstall .NET framework.
    LVL 2

    Expert Comment

    If you are using Miscrosoft Internet Information Services, Make sure that you Add Default.aspx on the Document list on the property of Web Site.

    Hope it works


    Author Comment

    STILL WAITING on MS to resolve MSInstaller Issue.

    Author Comment

    Just tried reinstalling .NET on my Windows 2003  server.  That worked fine, but the regsvr32 still gave a message that NO Entry point could be found.

    It's hard to believe that two loads of the .NET framework and two different versions of Windows would cause the same error.  This implies there is something else going on.  One other note I can give is that under the framework directory, there are three versions of .NET 1.0, 1.1, and 2.0.

    The 2003 server is running IIS6 in IIS5 isolation mode.  We do NOT use global.ASA.  Extensions are turned on for this server.  There IS an ASP.NET tab on the site's properties window with ASP.NET version: set to 2.0.50727.
    Eleven years of writing software and here is the test scenario I can't get to work. A simple "Hello World" page...
    <%@ Page Language="VB" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

    <script runat="server">


    <html xmlns="" >
    <head runat="server">
        <title>Untitled Page</title>
        <form id="form1" runat="server">
            Hello World</div>

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Replace a tag with sed 2 32
    count7 challenge 12 52
    countAbc challenge 9 35
    autoit - check if option is checked in another program 2 30
    This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
    Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now