Websetup can't replace web.config

I packet my web application with WebSetup project of vs2008.

When a user used the websetup package in a machine which has been installed
a old version of my web application, the web.config can't be replaced.



What is the problem with vs2008? I didn't meet such a problem when with
vs2005.
ad [ Di, 01 April 2008 15:51 ] [ ID #1932648 ]

Re: Websetup can't replace web.config

Have you checked to see if the old web.config might be 'read-only'

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup


"ad" <flying [at] wfes.tcc.edu.tw> wrote in message
news:%23Kux69$kIHA.5080 [at] TK2MSFTNGP02.phx.gbl...
>I packet my web application with WebSetup project of vs2008.
>
> When a user used the websetup package in a machine which has been
> installed a old version of my web application, the web.config can't be
> replaced.
>
>
>
> What is the problem with vs2008? I didn't meet such a problem when with
> vs2005.
>
>
David Wier [ Di, 01 April 2008 17:08 ] [ ID #1932654 ]

Re: Websetup can't replace web.config

The web.config is is the output of a project. The whole out project is not
readonly.

"David Wier" <dw [at] dw.com> ¼¶¼g©ó¶l¥ó·s»D:uw2sNpAlIHA.1204 [at] TK2MSFTNGP03.phx.gbl...
> Have you checked to see if the old web.config might be 'read-only'
>
> David Wier
> http://aspnet101.com
> http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with
> no bloated markup
>
>
> "ad" <flying [at] wfes.tcc.edu.tw> wrote in message
> news:%23Kux69$kIHA.5080 [at] TK2MSFTNGP02.phx.gbl...
>>I packet my web application with WebSetup project of vs2008.
>>
>> When a user used the websetup package in a machine which has been
>> installed a old version of my web application, the web.config can't be
>> replaced.
>>
>>
>>
>> What is the problem with vs2008? I didn't meet such a problem when with
>> vs2005.
>>
>>
>
>
ad [ Di, 01 April 2008 23:17 ] [ ID #1932688 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » Websetup can't replace web.config

Vorheriges Thema: hide the exe from internent access in a asp.net 2.0 web application
Nächstes Thema: How to enforce a specific sequence of pages access?