Solved

ASP.NET 2.0 web application linked to Live webserver

Posted on 2013-12-09
3
258 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 28

Accepted Solution

by:
becraig earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
@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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

772 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now