ASP.NET Error.....

Discussion in 'Visual Studio' started by vjain1, Dec 18, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I am having a problem when I create a new project in VB.NET for ASP.NET Web Applications. I am trying to use my IIS on Windows XP Professional to develop my project. However, I get an error when using "http://localhost/...."

    The error is as follows:
    "Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services."

    I searched the web and Microsoft knowledge base and found a few solutions that did not work.

    1) I tried to type the command:
    c:\windows\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe" -i
    It installed the asp.net stuff and still no luck.

    2) I then tried to register the aspnet_isapi.dll by typing the command:
    "regsvr32 c:\windows\Microsoft.NET\Framework\v.1.1.4322\aspnet_isapi.dll
    A message box said it succeeded, but still no luck.

    Going back to VB.Net, the same error message occurs. I have no idea what to do. I do have ASP.NET 1.1 and all windows updates. I did read somewhere (but no detail was given) about enabling IIS and/or Front Page extentions?? I am pretty sure they are enabled. I used IIS before but not with ASP.NET.... But I am not sure how to do this EXACTLY in WinXP Professional.

    PLEASE HELP!
    Thank you so much!
     
  2. .net won't install unless you enable FrontPage Extensions beforehand, so one could safely assume this is done already

    I must admit to having had the same problem, though mine was fixed by using 'aspnet_regiis -i' on the command line
     
  3. Another possible cause is that you installed VS.NET before you installed IIS. If so, you will need to uninstall VS.NET and IIS. Reinstall IIS and afterwards VS.NET. After this, everything should be fine.

    --
    Steurm
    www.steurm.net/steurm
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    When uploading or creating a project, VS.net 2003 makes an http call to a non existing page, get_aspx_ver.aspx, to get the http header. VS.net 2003 uses this as a mechanism to determine the version of the framework. See http://bluebones.net/news/default.asp?action=view_story&story_id=50

    If you enabled CustomError with web.config to direct all errors to an HTML page (or any page that are not mapped to ASP.net ISAPI), VS.net 2003 will not be able to determine the version of the framework and thus disallow the upload process.


    quote:Originally posted by vjain1

    I am having a problem when I create a new project in VB.NET for ASP.NET Web Applications. I am trying to use my IIS on Windows XP Professional to develop my project. However, I get an error when using "http://localhost/...."

    The error is as follows:
    "Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services."

    I searched the web and Microsoft knowledge base and found a few solutions that did not work.

    1) I tried to type the command:
    c:\windows\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe" -i
    It installed the asp.net stuff and still no luck.

    2) I then tried to register the aspnet_isapi.dll by typing the command:
    "regsvr32 c:\windows\Microsoft.NET\Framework\v.1.1.4322\aspnet_isapi.dll
    A message box said it succeeded, but still no luck.

    Going back to VB.Net, the same error message occurs. I have no idea what to do. I do have ASP.NET 1.1 and all windows updates. I did read somewhere (but no detail was given) about enabling IIS and/or Front Page extentions?? I am pretty sure they are enabled. I used IIS before but not with ASP.NET.... But I am not sure how to do this EXACTLY in WinXP Professional.

    PLEASE HELP!
    Thank you so much!
    </blockquote id="quote"></font id="quote">
     
  5. Yet another possible solution for this frustrating, ambiguous error:

    ----------------------------------------------

    You've probably fixed this, but I had the same problem and thought I would post my fix to help the masses - it was tricky finding the solution to this one.

    There's a microsoft article titled "Unable to create a Web application on a LAN that uses a Proxy server." It's currently at:
    http://msdn.microsoft.com/library/d...tocreatewebapplicationusinglanproxyserver.asp

    It instucts us to do the following, which worked for me:

    Set your connection option to bypass proxy for local addresses
    In the Tools menu, select Options.
    Under the Projects node, select Web Settings.
    Click Connection Settings in the Options dialog box.
    In the Internet Properties dialog box, select the Connections tab and click LAN Settings.
    In the LAN Settings dialog box, select Bypass proxy server for local addresses.
    Click OK to close all open dialog boxes.

    Cheers,
    Steve
     
  6. I had the same error after installing VS.NET2003 Enterprise Edition on Windows XP
    "Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services."

    Thanks! this fixed it:
    c:\windows\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
     
  7. Bruce

    Bruce DiscountASP.NET Staff

    The root of all these problem is FrontPage extension. I wish MSFT just wake up and fix FrontPage.

    Good news is that the next version of VS.net (Whidbey) do not use FrontPage at all [:D]. It will rely on FTP to handle upload and download. A very good move by the ASP.net Team in redmond.



    quote:Originally posted by Hamish Ahern

    I had the same error after installing VS.NET2003 Enterprise Edition on Windows XP
    "Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services."

    Thanks! this fixed it:
    c:\windows\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i

    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page