Link to home
Start Free TrialLog in
Avatar of Dovberman
DovbermanFlag for United States of America

asked on

Cannot edit and save C:\Windows\Microsoft.NET\Framework64,\v4.0.30319\,Config\machine.config

I do not have write permissions for this folder.

An error occurred when I tried to run a VS app that has been running for 3 years.

How can I save the machine.config file after I have edited it?

Thanks,
Avatar of Dovberman
Dovberman
Flag of United States of America image

ASKER

Here is more information.
Default.aspx.cs
 MembershipUser currentUser = Membership.GetUser(strUserName);

"Could not load file or assembly 'MySql.Web.v20, Version=6.9.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified. (C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\Config\\machine.config line 268)"}

Machine.config

Warning      1      The 'description' attribute is not allowed.      C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config      145      203      Miscellaneous Files

<configProtectedData defaultProvider="RsaProtectedConfigurationProvider">
    <providers>
      <add name="RsaProtectedConfigurationProvider" type="System.Configuration.RsaProtectedConfigurationProvider,System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" description="Uses RsaCryptoServiceProvider to encrypt and decrypt" keyContainerName="NetFrameworkConfigurationKey" cspProviderName="" useMachineContainer="true" useOAEP="false" />
      <add name="DataProtectionConfigurationProvider" type="System.Configuration.DpapiProtectedConfigurationProvider,System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" description="Uses CryptProtectData and CryptUnProtectData Windows APIs to encrypt and decrypt" useMachineProtection="true" keyEntropy="" />
    </providers>
ASKER CERTIFIED SOLUTION
Avatar of Big Monty
Big Monty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This happened after I installed MySQL.  Default.aspx call to Machine.config causes error. Hosted app runs well.  I will uninstall MySQL.

Thanks,
Thanks,