SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast xarzu's Avatar
    Join Date
    Apr 2007
    0 Post(s)
    0 Thread(s)

    How do I fix "This page can't be displayed" error in c#?

    How do I fix "This page can't be displayed" error in c#?

    I was debugging a localhost and I have made some very minor code changes and ran it again and now I get an error I have never gotten before. In nice big blue letters it tells me "This page can't be displayed".

    What do you think would cause this error and how would I go about fixing it? It offers a button that says "Fix connection problems", but this is a localhost browser, so there are no connection, really. I clicked the button anyway and it did not offer any solution. I also refreshed the page, as suggested and it did nothing.

    I test my localhost in the browser and it is working.

    What do you think?

    I have created a "hello world" c# web site with visual studio from scratch and it did not reproduce the error

    Here is a link to a screen shot:

  2. #2
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    152 Post(s)
    0 Thread(s)
    Check your event viewer. Chances are you have an invalid entry or something wrong in your web.config or your aspx file (improper closing tags related to an control, for example).


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts