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

    My Localhost displaying Blank page

    Hi,

    My local host when running from VS2010 is lead to open the browser and getting blank page, means I can't able to run my asp.net project

    localhost:50319/Default.aspx(I am getting this in addressbar when running)

    but typing in the addressbar 'http://localhost' only displaying the default page(That is in IIS).I want to run my project locally.

    IIS is configured already and hosted in the internet.To host the site I have used staticip.

    Without debugging I can't able to publish(make change in the site).

    I want to reinstall VS2010? then any problem will come?
    I have posted a question yesterday.Issue not solved.Refer the link

    http://www.dotnetspider.com/forum/326178-Localhost-not-working.aspx

    Please give me a solution ASAP.
  • #717714
    Hi Rani,
    Did you throw the exception from all of you code blocks. When you are running your application from your Visual Studio IDE , what are you getting? Is it running properly? . I hope there should some errors in your Page_Load() event. Just try to debug each line of your code and find out the problem. Please let me know in case if you still face the problem, drop me a message

    Thanks
    Padma

    Have a good Day

  • #717717
    If you have installed IIS components then you should able to run http://localhost without any issues.

    If the page is blank then it may because of the default page is changed in the IIS properties. Check the default document. It should be start.asp

    Thanks & Regards,
    Danasegarane Arunachalam

    http://www.techreceipe.tk/

  • #717732
    Hi Padma,

    My web project is IIS configured and launched also.
    Now I am doing some modification and updating.I used staticip.

    you can view my site www.solarsynergiesonline.com.
    This is correctly running.

    But what my problem now is I am not able to run my project locally.After debugging only I can publish right? If I publish in my project, will effect in my url itself.So I don't want to do it.The updation in the site is upto day before yesterday.After that my localhost displaying blank page.I can't able to update now.If I reinstall the VS2010, can I run properly? I think that is the only way.My doubt is if I reInstall, any problem will raise!!
    Help me if you can!

    "Enjoy the World of IT"

    Ranipriya

  • #717733
    Hi Ranipriya,

    Try one thing. Open your IIS, locate your website, and then right click on the default page you want to open and select browse. Let me know the output.
    It seems while debugging dynamic port is adding automatically to the URL and that is the reason you are not able to open the site with port number in the URL.

    If you can let us know the actual URL you are getting after trying the above steps you will get to know the actual reason.


    Regards,
    Asheej T K

  • #717741
    Hai RaniPriya,
    Couple of workarounds I can guess here for now:
    1. Make sure that IIS Admin service & WWW Publishing services are up and running.
    2. Confirm that the distributed transaction coordination service is already running.
    3. Do you have the default binding to the default website to port 80 and the IP Adress as *?
    4. Virtual Directory is valid and correct.?
    5. Try to access with computer name or 127.0.0.1?
    6. Check for the Handler Mappings and ISAPI-dll are enabled?
    For some more work around, you can go through the below link:

    http://forums.iis.net/t/1189856.aspx/2/10

    Try with these and let us know if you find the solution.
    Hope it will be helpful to you.

    Regards,
    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)
    pawansoftit@gmail.com

  • #717751
    Hi All,

    Every thing is fine.but my localhost means if I open the VS2010 and create a sample web site/project , I can't able to execute.I think this is not related to IIS!!

    I am Fed up!

    "Enjoy the World of IT"

    Ranipriya

  • #717788
    Please run the following command try again:

    aspnet_regiis -i

    Miss. Jain
    Microsoft Certified Technology Specialist in .Net

  • #718252
    Hi RaniPriya,

    Please check whether application is in "Debug" mode or "Release" mode.

    Hope it solved your issue.

    Thanks
    Sri


  • 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.