« Previous Next »

Thread: default.aspx not recognized

Last post 05-03-2009 1:17 PM by AlardPidgeon. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 05-02-2009, 1:42 PM

    default.aspx not recognized

     

    I want to host my website on my PC. IIS installed and index.htm and default.asp goes fine  but it can not deal with Default.aspx files. If I type <ipaddress>/Default.aspx it complains about VB statements. So far I know everything is installed e.g.:

    Windows XP professional SP2

    MS Visual Studio 5.0

    ISS

    regards,

    Bastiaan

     

  • 05-02-2009, 9:44 PM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 12:18 AM
    • Shanghai, PRC
    • Posts 1,413

    Re: default.aspx not recognized

    You may create a text file with only "Hello World" in it. Then rename this file to test.aspx.

    Now copy to this ASPX test page to the site/virtual directory and browse to this page. Please let me know your test result.

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 05-03-2009, 4:41 AM In reply to

    Re: default.aspx not recognized

     

    1th IE: http://ipAddress/test.aspx results in:

    - result - result - result - result - result - result - result - result -

    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    --------------------------------------------------------------------------------

    Invalid at the top level of the document. Error processing resource 'http://80.56.211.80/test.aspx'. Line 1, Position 1

    hello world
    ^
     

    - 2nd test - 2nd test - 2nd test - 2nd test - 2nd test - 2nd test - 2nd test

    when I download my website from the providers location into this virtual directory and type http://ipAdress/default.aspx then the following message is listed:

    - result - result - result - result - result - result - result - result -

    The XML page cannot be displayed

    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.


    The server did not understand the request, or the request was invalid. Error processing resource 'http://www.w3.org/TR/xhtm...

     

     

  • 05-03-2009, 8:36 AM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 12:18 AM
    • Shanghai, PRC
    • Posts 1,413

    Re: default.aspx not recognized

    Sounds like .NET Framework is not installed, or ASP.NET is not registered.

    If you did not install .NET Framework, please install it.

    If .NET Framework was already installed, please use aspnet-iis.exe to register ASP.NET,

    http://msdn.microsoft.com/en-us/library/k6h9cz8h(VS.71).aspx

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 05-03-2009, 1:17 PM In reply to

    Re: default.aspx not recognized

     

    after:  aspnet_regiis -i   was executed everything works fine 

    thanks a lot!!

     

Page 1 of 1 (5 items)
Microsoft Communities