473,320 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

build wants to modify web.config

I have an asp.net solution with a web deployment project.

When we try to build/debug, we get the message:
An editor or project is attempting to check out a file that is modified in
memory, which will result in saving it. Saving files during the build process
is dangerous and can result in incorrect build outputs in future. Do you want
to continue with the check out?

If you check the web.config file out of VSS you don't get the message.
If you do a compare on the web.config, the only differences after the build
are that it reformatted some sections. For examples removing empty lines in
the connection strings section.

Why does this happen?
Sep 4 '07 #1
1 2766
Hi Chuck,

From your description, you have an ASP.NET 2.0 web project which use "Web
Deployment Projecct" to build, however, when you build the WDP, it will
always report the following message, correct?

=================
An editor or project is attempting to check out a file that is modified in
memory, which will result in saving it. Saving files during the build
process is dangerous and can result in incorrect build outputs in future.
Do you want to continue with the check out?
==================

As for this behavior, I think it should be specific to the VSS source
control environment. When you build the web deployment project, it may try
ensure all the files that has been at a stable version or is checked out
from source control. Is the file mentioned in the message the only that has
not been checked out? Also, as you said that the only difference from the
web.config file is the empty string has been removed, have you also checked
the version in VSS to see whether it is actually make the one in VSS
replace your current project's web.config file? To further verify this,
you can try creating a simple web project which contains some files that
are not checked out in VSS and try the web deployment project to see
whether building task will report such message. If so, we can determine the
behavior here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.



--------------------
>X-WBNR-Posting-Host: 128.165.159.58
From: =?Utf-8?B?Q2h1Y2sgUA==?= <Ch***@newsgroup.nospam>
Subject: build wants to modify web.config
Date: Tue, 4 Sep 2007 12:18:16 -0700
>
I have an asp.net solution with a web deployment project.

When we try to build/debug, we get the message:
An editor or project is attempting to check out a file that is modified in
memory, which will result in saving it. Saving files during the build
process
>is dangerous and can result in incorrect build outputs in future. Do you
want
>to continue with the check out?

If you check the web.config file out of VSS you don't get the message.
If you do a compare on the web.config, the only differences after the
build
>are that it reformatted some sections. For examples removing empty lines
in
>the connection strings section.

Why does this happen?
Sep 5 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
10
by: Douglas Buchanan | last post by:
I am using the following code instead of a very lengthly select case statement. (I have a lot of lookup tables in a settings form that are selected from a ListBox. The data adapters are given a...
6
by: H | last post by:
This is a question that has haunted me for quite some time. if you build a 4 tier database application where the 4th tier is the database server (MS SQL 2000), where do you build the connection...
4
by: Allan Ebdrup | last post by:
Hi I'm Using VS.Net 2003 and am trying to get the app.config file copied to the directory of the target dll by using a post build command. In Properties/Common Properties/Build Events/Post-build...
0
by: Yannick | last post by:
Hi, I'm Julien from France, We have recently install a new Web Server for my company The server is composed : - Linux RedHat RHEL4 U4 - Httpd-2.0.52-27.ent - Oracle Database 10.2.0.1
3
by: Jeff | last post by:
I have a solution with two projects. Project A is the startup project, while Project B serves as the project with the data logic. At run time, the first thing I need to do is write to Project...
2
by: Robin Becker | last post by:
I'm trying to build Python from the unix sources on an OS 10.5 machine. This is because we're getting strange faults when using the built in python 2.5 together with some precompiled versions of...
4
by: M.-A. Lemburg | last post by:
Hi Robin, On 2008-10-23 17:55, Robin Becker wrote: That looks like a classical name clash between C header files. It also suggests that you have 64-bit client libs of MySQL installed. As...
5
by: ziycon | last post by:
I have two PHP files, modify.php & config.php, I have the below code in config.php and I'm wondering how I would go about searching config.php from modify.php and changing the values in config.php? ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.