ASP .NET Error

Discussion in 'Visual Studio' started by aspq, Mar 25, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi Everyone,
    I am new to asp.net and I have installed everything on windows XP pro, usind sql server 2000. I am trying to learn asp.net rather by hand coding everything using homesite feature of dreamwaver MX.
    I save all files locally under wwwroot folder.
    Everything was working fine until I tried to change file size for FileUpload field in machine.config file. I did everything right but when I tried to save it got a message that there was sharing violation when tried to access config file...anyway I saved and then my pages didn't work at all...I got funny error messages related to config file like:
    _____________________________________________________
    Parser Error Message: Server cannot read capabilities configuration r.
    Source Error:
    Line 634: requiresPhoneNumbersAsPlainText = "false"

    Source File: c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config Line: 634
    ---------------------------------------------------------------------Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
    ____________________________________________________

    Somebody was talking about caching of asp.net files and setting lock on the files when sharing vilation happens but I just need to know what to DO to get everything back to normal...
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    You'll have to turn off IIS before you can change the machine.config file. I suggest you make a backup of the file before you change it.


    quote:Originally posted by aspq

    Hi Everyone,
    I am new to asp.net and I have installed everything on windows XP pro, usind sql server 2000. I am trying to learn asp.net rather by hand coding everything using homesite feature of dreamwaver MX.
    I save all files locally under wwwroot folder.
    Everything was working fine until I tried to change file size for FileUpload field in machine.config file. I did everything right but when I tried to save it got a message that there was sharing violation when tried to access config file...anyway I saved and then my pages didn't work at all...I got funny error messages related to config file like:
    _____________________________________________________
    Parser Error Message: Server cannot read capabilities configuration r.
    Source Error:
    Line 634: requiresPhoneNumbersAsPlainText = "false"

    Source File: c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config Line: 634
    ---------------------------------------------------------------------Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
    ____________________________________________________

    Somebody was talking about caching of asp.net files and setting lock on the files when sharing vilation happens but I just need to know what to DO to get everything back to normal...

    </blockquote id="quote"></font id="quote">
     
  3. unfortunately I have made the changes before making any backup and now I do not know how to put the machine.config back to it's original state!
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    reinstall the framework may be your only option then.

    quote:Originally posted by aspq

    unfortunately I have made the changes before making any backup and now I do not know how to put the machine.config back to it's original state!
    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page