Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

asp.net mvc how do I change my root directory

Posted on 2010-09-23
3
Medium Priority
?
630 Views
Last Modified: 2013-11-08
I have a site working in visual studio.  I want to test it on my webserver.  I can deploy to mydomain.com/test, but my application is set up to work with mydomain.com.  Is there an easy way to change the root in my mvc project to be down one level?
0
Comment
Question by:jackjohnson44
  • 2
3 Comments
 
LVL 30

Accepted Solution

by:
Brad Howe earned 2000 total points
ID: 33746524
Hi,
Could you not simply just change the WEB properties Virtual Path location from / to /test and then deploy?
I just removed VS2010 last month so I cannot confirm.
-Hades666
0
 

Author Comment

by:jackjohnson44
ID: 33746707
Thanks, how?
0
 
LVL 30

Expert Comment

by:Brad Howe
ID: 33746790
Should be something like right click on your Project, Click Properties and then the WEB tab. - Hades666
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question