-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Nasha
Message 1 in Discussion
Hey Group,
I am extremely SORRY for not posting yesterday as I was enjoying my Birthday
:). I am back again today so lets start.
Today we will discuss migpol.exe. This tool is shipped with .NET Framework SDK.
This tool is used to migrate security policies from one version of .NET to
another version of dot net.
When .NET Framework is installed there are two configuration files installed
i.e. machine.config and security.config for each .NET Framework version.
. Net allows side by side installation of more than one versions of .NET
Framework. Thus, if you are having version 1.0 you can install version 1.1 at
the same time on the same machine.
These config files are different for each version. So configuration setting of
one version is not shared with another.
There is no tool available in the .NET Framework which can aid to copy or
migrate your machine configuration settings from your older version to your new
version. you have to do the changes manually or use some third party tool.
Fortunately .NET Framework has provided us with a tool to copy the security
policy setting. (Read my article on CASPOL to know more on security policy This
is a link in Mumbaiusergroup ).
CAS has three policy levels : User, Machine , Enterprise. Migpol only migrates
Enterprise and Machine level security policies.
Hence tomorrow when you load Whidbey you can migrate your security settings
from your current version of .NET to the new version.
Note: Security migration only works between compatible Versions of .NET.
To check out migpol options. Type migpol /? on VS.NET command prompt.
Help screen requested
Usage: migpol <option> <args> ...
migpol -migrate <toVersion> <fromVersion>
Migrate security policy.
migpol -l[istversions]
List all CLR versions installed on this machine.
migpol -?
migpol /?
migpol -h[elp]
Displays this screen
You can use -l option to list all the versions of .NET installed on your
machine.
Type migpol -l
To migrate one version to another you can use a similar command
migpol <old version> <new version>
-- Please post your queries and comments for my articles in the user group for
the benefit of all. I hope this step from my end is helpful to all of us.
Regards,
Namratha (Nasha) <o:p></o:p>
<o:p></o:p>
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]