You must Sign In to post a response.
  • Category: ASP.NET

    Localhost not working

    Hi,

    My localhost is not showing anything, means I can't able to run my asp.net project. It was working fine , but today not working

    when running localhost:50319/Default.aspx

    this url is in address bar and only creating a new tab in my browser.Tried in different browser also same effect.
    What is wrong??
  • #717566
    Hello Rani,

    Can you try this.

    Delete your .dll file from the bin directory of your application and then rebuild your application once again.

    By doing this a new dll will be generated and try accessing the url.

    Hopefully it should work.

  • #717567
    Hi basker,

    No effect.Dll deleted and when running it is created also but in my browser nothing

    "Enjoy the World of IT"

    Ranipriya

  • #717570
    Hi,

    You are running the application in webDEV port. Close this webDEV port running by clicking End task in task manager.
    after closing now run the application. port will be opened newly.


    Regards,
    Mahe...

    Regards,Mahe
    Happy Coding

  • #717574
    You Know i did the same issue Long back ....What i tried is copy the Whole Project to Different Folder ....And Hosted it was working fine...Doesnot sound like sense but it worked for me.... And Doest it hit the break point...What do you see when u host the Service...Blank screen or Loading. Agree With Mahi Create a Bat file and Close all other webdev...And Try that as well.
    Regards
    Rakesh Chaubey
    rakeshchaubey1989@gmail.com

  • #717581
    Hi,
    You just type in the browser with "http://localhost". Just let me know what are you getting, if you get the IIS window, then there shouldnt be any problem in your IIS. or you have been prompted with "Page cannot be displayed". then definitely there should be some problem in your IIS.
    Just try it out

    Thanks
    Padma

    Have a good Day

  • #717592
    hi @Padma,
    when typing http://localhost

    my default page is coming

    But when running , blank screen
    (localhost:50319/Default.aspx)

    Pls give me solution

    "Enjoy the World of IT"

    Ranipriya

  • #717599
    @Rakesh Chaubey,

    Your method also tried.Unfortunately that also not working.

    "Enjoy the World of IT"

    Ranipriya

  • #717649
    Hi Ranipriya,
    Does this web application is hosted in IIS? If No try hosting it in IIS.

    Steps:
    1. Right click Project in Solution explorer
    2. Select the Web Tab in Left Corner.
    3. In Server Section, Select the Use Local IIS Web Server and click Create Virtual directory button
    4. Access the URL and check the default page.

    If the application has to run on the same port(50319, then click the use Visual Studio Development Server and select the Specific port radio button adn give the value 50319 in text box and Start runing the application.

    Hope this will help

    Regards,
    Mahe...

    Regards,Mahe
    Happy Coding

  • #717693
    Hi Mahe,

    This projected already hosted in IIS and also hosted in internet.And the url is www.solarsynergiesonline.com.

    I have used staticip to host the site.

    So running/Debug problem will effect the site because changes are not able to publish now.

    "Enjoy the World of IT"

    Ranipriya


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.