Find the following line in your web.config file : <httpRuntime maxRequestLength=”2097151″ waitChangeNotification=”1″ maxWaitChangeNotification=”3600″ /> Change it to: <httpRuntime requestValidationMode=”2.0″ maxRequestLength=”2097151″ waitChangeNotification=”1″ maxWaitChangeNotification=”3600″ /> Request Validation Mode property gets or sets a version number that indicates which ASP.NET version-specific approach to validation will be used. Let me know if it works for you..!!
Author: Sarath
A Techie from Kochi, India with 8+ years of experience in Linux and Windows server administration. I learn new things almost everyday and I enjoy the fun of learning and sharing my knowledge.
Install rails locally for a user from command line
Login to the server via SSH as user, then enter the command : # gem install rails -v=2.3.5 With -v option you can specify the rails version you want to install, here in this example it is 2.3.5. Then check the gem list locally, # gem list –local | grep -i rails That will show […]
Test perl script
To check if perl is working on a server: Open a test file, # vi test.pl And enter the following code : #!/usr/bin/perl print “Content-Type: text/htmlnn”; print “<html><body><h1>Perl is working!</h1></body></html>”; Save and browse the file, www.yoursite.com/test.pl (replace yoursite.com with your website name).