PC Review


Reply
Thread Tools Rate Thread

app.config deploy

 
 
arkgroup
Guest
Posts: n/a
 
      21st Dec 2006
I have "MyApp.EXE.config". The file is in my EXE's directory, This
directory is my deploy directory and it different then my development
directory.
I read value and display on the form for testing.
Then I change value in config file, restart application and expect new
value to show.
But old value still showing. What is wrong?

Thanks,

 
Reply With Quote
 
 
 
 
Michael Nemtsev
Guest
Posts: n/a
 
      21st Dec 2006
Hello arkgroup,

a> and it different then my development
a> directory.

What does it mean?

a> I read value and display on the form for testing.
a> Then I change value in config file, restart application and expect new
a> value to show.
a> But old value still showing. What is wrong?

Wrong is that data read from the other config


---
WBR,
Michael Nemtseva [C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangel


 
Reply With Quote
 
arkgroup
Guest
Posts: n/a
 
      21st Dec 2006
Hello Michael,

I publish my project to network drive and run application from it.
It's still have same value even if I remove app.exe.config from this
folder.
So, you are right it did not use it.

What other config file is using? Where I can find it?
Thanks

Michael Nemtsev wrote:
> Hello arkgroup,
>
> a> and it different then my development
> a> directory.
>
> What does it mean?
>
> a> I read value and display on the form for testing.
> a> Then I change value in config file, restart application and expect new
> a> value to show.
> a> But old value still showing. What is wrong?
>
> Wrong is that data read from the other config
>
>
> ---
> WBR,
> Michael Nemtseva [C# MVP] :: blog: http://spaces.live.com/laflour
>
> "The greatest danger for most of us is not that our aim is too high and we
> miss it, but that it is too low and we reach it" (c) Michelangelo


 
Reply With Quote
 
Michael Nemtsev
Guest
Posts: n/a
 
      21st Dec 2006
Hello arkgroup,

As I understand that behaviour is only when u run your app from network share?
and localy it works fine?!

a> I publish my project to network drive and run application from it.
a> It's still have same value even if I remove app.exe.config from this
a> folder.
a> So, you are right it did not use it.
a> What other config file is using? Where I can find it? Thanks
a>
a> Michael Nemtsev wrote:
a>
>> Hello arkgroup,
>>
>> a> and it different then my development
>> a> directory.
>> What does it mean?
>>
>> a> I read value and display on the form for testing.
>> a> Then I change value in config file, restart application and expect
>> new
>> a> value to show.
>> a> But old value still showing. What is wrong?
>> Wrong is that data read from the other config
>>
>> ---
>> WBR,
>> Michael Nemtseva [C# MVP] :: blog: http://spaces.live.com/laflour
>> "The greatest danger for most of us is not that our aim is too high
>> and we miss it, but that it is too low and we reach it" (c)
>> Michelangelo
>>

---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


 
Reply With Quote
 
arkgroup
Guest
Posts: n/a
 
      21st Dec 2006
No, did not work even if I publish locally.

Thanks

Michael Nemtsev wrote:
> Hello arkgroup,
>
> As I understand that behaviour is only when u run your app from network share?
> and localy it works fine?!
>
> a> I publish my project to network drive and run application from it.
> a> It's still have same value even if I remove app.exe.config from this
> a> folder.
> a> So, you are right it did not use it.
> a> What other config file is using? Where I can find it? Thanks
> a>
> a> Michael Nemtsev wrote:
> a>
> >> Hello arkgroup,
> >>
> >> a> and it different then my development
> >> a> directory.
> >> What does it mean?
> >>
> >> a> I read value and display on the form for testing.
> >> a> Then I change value in config file, restart application and expect
> >> new
> >> a> value to show.
> >> a> But old value still showing. What is wrong?
> >> Wrong is that data read from the other config
> >>
> >> ---
> >> WBR,
> >> Michael Nemtseva [C# MVP] :: blog: http://spaces.live.com/laflour
> >> "The greatest danger for most of us is not that our aim is too high
> >> and we miss it, but that it is too low and we reach it" (c)
> >> Michelangelo
> >>

> ---
> WBR,
> Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour
>
> "The greatest danger for most of us is not that our aim is too high and we
> miss it, but that it is too low and we reach it" (c) Michelangelo


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deploy without overwriting Web.Config dev648237923 Microsoft ASP .NET 4 23rd Jan 2007 10:13 AM
deploy msi without web.config or with more IIS settings? evolve Microsoft ASP .NET 1 3rd Dec 2003 02:30 PM
Com+ server and config file - how to deploy together ? Gawelek Microsoft C# .NET 1 17th Nov 2003 09:03 PM
Com+ server and config file - how to deploy together ? Gawelek Microsoft Dot NET Framework 2 12th Nov 2003 10:26 AM
web.config Configuration Error when deploy Xu ChunMing Microsoft ASP .NET 1 16th Jul 2003 11:08 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:59 PM.