Solved

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

Posted on 2014-11-02
4
935 Views
Last Modified: 2014-11-03
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,
0
Comment
Question by:Dovberman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 

Author Comment

by:Dovberman
ID: 40418404
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>
0
 
LVL 33

Accepted Solution

by:
Big Monty earned 500 total points
ID: 40419621
Check that the account which the application pool is running under has access to that file
0
 

Author Comment

by:Dovberman
ID: 40419938
This happened after I installed MySQL.  Default.aspx call to Machine.config causes error. Hosted app runs well.  I will uninstall MySQL.

Thanks,
0
 

Author Closing Comment

by:Dovberman
ID: 40419941
Thanks,
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Where can I find... 1 52
How can i make performance tuning to my sql query? 6 63
mysql ide 10 48
Website not secure message 4 51
Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question