PC Review


Reply
Thread Tools Rate Thread

.config files are getting corrupted

 
 
Raja
Guest
Posts: n/a
 
      30th Mar 2010
In VB.Net, .config files are getting corrupted, when the system goes down due
to some powere failure or some other reason. what could be solution to
prevent those files ?

Thanks,
Rajan
 
Reply With Quote
 
 
 
 
Andrew Morton
Guest
Posts: n/a
 
      30th Mar 2010
Raja wrote:
> In VB.Net, .config files are getting corrupted, when the system goes
> down due to some powere failure or some other reason. what could be
> solution to prevent those files ?


Run the computer from a UPS (and configure the computer to shut down when
the UPS battery is getting low). Otherwise, the PSU could get damaged, which
could conceivably lead to a fire, in which case corrupted files would be the
least of your worries.

--
Andrew


 
Reply With Quote
 
Cor Ligthert[MVP]
Guest
Posts: n/a
 
      30th Mar 2010
Raja,

Corrupted or not completely updated? There is always a chance whatever file
gets corrupted at a power break and then only the solution Andrew describes
is correct.

However, a config file is always written completely. So the change that it
is corrupt is low. (It can contain the wrong information, so you have
probably to update it more often)

Cor

"Raja" <(E-Mail Removed)> wrote in message
news:BEA8D059-C532-44D9-915C-(E-Mail Removed)...
> In VB.Net, .config files are getting corrupted, when the system goes down
> due
> to some powere failure or some other reason. what could be solution to
> prevent those files ?
>
> Thanks,
> Rajan


 
Reply With Quote
 
Jason Keats
Guest
Posts: n/a
 
      31st Mar 2010
Raja wrote:
> In VB.Net, .config files are getting corrupted, when the system goes down due
> to some powere failure or some other reason. what could be solution to
> prevent those files ?
>
> Thanks,
> Rajan


You should not be writing to .config files. Therefore, it's impossible
to corrupt them.

 
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
corrupted \Winnt\System32\Config\System Dave Patrick Microsoft Windows 2000 Advanced Server 6 29th Jul 2008 04:48 AM
windows\system32\config\system - files corrupted or missing lauraqto Windows XP General 8 21st Dec 2007 10:52 PM
update corrupted config.sys =?Utf-8?B?bXJndW1ieTU5?= Windows XP General 2 13th Oct 2007 10:23 AM
system32\config\system corrupted philo Microsoft Windows 2000 Hardware 2 30th Sep 2007 04:46 PM
Missing or corrupted config.sys CJ Windows XP General 3 3rd Aug 2004 03:44 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:33 AM.