locked
Can't change URL for ASP.NET website RRS feed

  • Question

  • Hi,

    I am working at a small company where they are developing a website. I started today, and I'm trying to load their website and play around with it / get to know it better. For some reason however, I can't change the base url to link to a subfile under wwwroot. How can I solve this?

    Problem: URL under project properties  =  http://localhost:*port*

    however, at my colleagues computer it reads = http://localhost:*port*/TEST/

    Furthermore, the full path on my computer reads C:\inetpub\wwwroot\TEST

    Whereas on my colleague's computer it reads: C:\inetpub\wwwroot\

    I cannot seem to change it no matter what I do. The URL box under properties is greyed out so i cant mannually change the URL. 

    I'm running visual studio 2013

    • Moved by Amanda Zhu Wednesday, April 2, 2014 5:26 AM
    Tuesday, April 1, 2014 12:33 PM

Answers

  • Hello,

    Thank you for your post.

    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System and Visual Studio Editor.

    Because you are working with ASP.NET website, I suggest that you can consult your issue on ASP.NET forum: http://forums.asp.net/  for better solution and support.

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Just Karl Wednesday, April 2, 2014 2:30 PM
    • Marked as answer by Just Karl Wednesday, April 9, 2014 10:42 PM
    Wednesday, April 2, 2014 5:25 AM

All replies

  • Can you change the property using notepad (or other editor) by browsing in the the project folder property folder?  The XML file permission may be set to read only.

    jdweng

    Tuesday, April 1, 2014 1:01 PM
  • You may be able to achieve what you want by right clicking the website in solution explorer, selecting "Property Pages" choosing "Start Options" and specifying your start URL as http://localhost:*port*/TEST/
    Tuesday, April 1, 2014 4:28 PM
  • Hello,

    Thank you for your post.

    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System and Visual Studio Editor.

    Because you are working with ASP.NET website, I suggest that you can consult your issue on ASP.NET forum: http://forums.asp.net/  for better solution and support.

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Just Karl Wednesday, April 2, 2014 2:30 PM
    • Marked as answer by Just Karl Wednesday, April 9, 2014 10:42 PM
    Wednesday, April 2, 2014 5:25 AM
  • Hi again,

    As advised by Crystal Zhu, I moved this post to the ASP.NET website. I added some other information also explaining why the two potential solutions posed by you guys didn't work for me.

    Here's the link: 

    http://forums.asp.net/p/1978467/5665218.aspx?p=True&t=635320057403870799&pagenum=1

    Regards

    Wednesday, April 2, 2014 7:24 AM