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

x
?
Solved

ASP.NET 2.0 web application linked to Live webserver

Posted on 2013-12-09
3
Medium Priority
?
277 Views
Last Modified: 2013-12-20
I had to make changes to a project build using Visual Studio 2003. It was hosted on a Live webserver from where I copied it. I pasted it on my local machine on the same network. I had to put in under C:\inetpub\wwwroot\myproject to get it to open. I checked the path on the references and they pointed to the Live webserver \\Livewebserver\wwwroot$\myproject. I ignored it.

When I compiled the project on my machine, the dlls got updated in the \bin on Live webserver. The dlls on my machine at C:\inetpub\wwwroot\myproject\bin remained the same. Gladly I did not make any change!

What is happening here? I don't want the Live dlls to effect when I compile on my local machine. How can I create version independent of Live webserver to use for development purpose. Please advise.
0
Comment
Question by:Angel02
3 Comments
 
LVL 29

Accepted Solution

by:
becraig earned 2000 total points
ID: 39707321
You might want to open the .sln file for the solution and change the paths to all point to your local copy / version.

You should be able to open the sln file in notepad.
0
 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 39707881
I would recommend that you refer to this article:
http://blogs.msdn.com/b/brada/archive/2005/06/12/428388.aspx

No need to edit the file in a notepad.
0
 

Author Comment

by:Angel02
ID: 39708475
@becraig

I opened .sln in notepad. Below is how it looks. Should I change 'LiveWebserver' in "http://LiveWebserver:/myproject/myProject.vbproj" to 'localhost'?

I want to make sure it would not change on the Live server. Please advise.

Microsoft Visual Studio Solution File, Format Version 8.00
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "myProject", "http://LiveWebserver:/myproject/myProject.vbproj", "{CFC17A85-D26E-4270-8B72-4473827B07B7}"
      ProjectSection(ProjectDependencies) = postProject
      EndProjectSection
EndProject
Global
      GlobalSection(SolutionConfiguration) = preSolution
            Debug = Debug
            Release = Release
      EndGlobalSection
      GlobalSection(ProjectConfiguration) = postSolution
            {CFC17A85-D26E-4270-8B72-4473827B07B7}.Debug.ActiveCfg = Debug|.NET
            {CFC17A85-D26E-4270-8B72-4473827B07B7}.Debug.Build.0 = Debug|.NET
            {CFC17A85-D26E-4270-8B72-4473827B07B7}.Release.ActiveCfg = Release|.NET
            {CFC17A85-D26E-4270-8B72-4473827B07B7}.Release.Build.0 = Release|.NET
      EndGlobalSection
      GlobalSection(ExtensibilityGlobals) = postSolution
      EndGlobalSection
      GlobalSection(ExtensibilityAddIns) = postSolution
      EndGlobalSection
EndGlobal
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

963 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