PDA

View Full Version : ASP .NET Error


aspq
03-25-2004, 01:31 AM
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\Confi g\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...

bruce
03-25-2004, 02:39 AM
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.


[b]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\Confi g\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">

aspq
03-25-2004, 02:53 AM
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!

bruce
03-25-2004, 07:24 AM
reinstall the framework may be your only option then.

[b]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">