After changing machine.config VS crashes, also many components

I am just trying to add

<system.transactions>
    <machinesettings maxtimeout="02:30:00">
    </machinesettings>
</system.transactions>

      

to the end of my machine.config file, so I am checking for a transaction that is taking too long. The transaction is being initialized from my local Windows application linked to the SQL server.

So the end of the machine.config file now looks like this:

...
</providers>
        </roleManager>
    </system.web>
    <system.transactions>
        <machinesettings maxtimeout="02:30:00">
        </machinesettings>
    </system.transactions>
</configuration>

      

This is my machine config file.

I change both C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Config \ machine.config C: \ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \ Config \ machine.config

I follow the tips given in the link

But, when I do this and reopen the application, the VS Studios project load fails with the message: .Net Trace processing is failing. Check your .Net config and corporate config.

Do I have to do something else after changing the machine.config? Is there some quick way to get out of this, since this is the fourth thing on the line that I do, just to increase the timeout.

Thanks for this time!

+3


source to share


1 answer


Solved:

machine.config is case sensitive. Therefore, the section should be:



<system.transactions>
    <machineSettings maxTimeout="02:30:00">
    </machineSettings>
</system.transactions>

      

my text was in lowercase

+2


source







All Articles