How to remove characters to avoid .NET Request Validation Error (A potentially dangerous Request.Path value was detected from the client)

In .NET Framework 4 url checking – request validation – is different from .Net 2.0. This is the error you will see when you hit this: Server Error in ‘/’ Application. A potentially dangerous Request.Path value was detected from the client Description: An unhandled exception occurred during the execution of the current web request. Please… Continue reading How to remove characters to avoid .NET Request Validation Error (A potentially dangerous Request.Path value was detected from the client)

ASP.NET 4.0 Chart Control Problems on IIS7

I have been playing around with the ASP.NET 4.0 Chart Controls for a new web site (Bilvärdet.se – used car price statistics) When deploying it to IIS7 on my Windows Server 2008 I ran in to a few problems: 1) I did not have .NET 4.0 Framework installed on the server 🙂 It turns out… Continue reading ASP.NET 4.0 Chart Control Problems on IIS7

MySQL and Visual Studio 2010 Membership, Roles and User Profile Provider

In Visual Studio 2010 (VS2010) when you create a new Web Application Project using the default Web Template “ASP.NET Web Application” it creates an Account folder with the files Login.aspx, Register.aspx and ChangePassword.aspx. These are files/pages for ASP.NET Membership which is ASP.NET’s built-in user handling. I have never used Membership before but have been curious… Continue reading MySQL and Visual Studio 2010 Membership, Roles and User Profile Provider

MySQL Workbench Query Browser is super slow

MySQL GUI Tools which included the MySQL Query Browser and MySQL Administrator has now been replaced by the MySQL Workbench tool. The Workbench edition which includes Query Browser (now called SQL Development) and Administrator (now called Server Administration) is only available in beta but it the old MySQL GUI Tools have already been pulled from… Continue reading MySQL Workbench Query Browser is super slow

WordPress on Windows/IIS cannot upgrade, add plugins, upload themes

I have been struggling with this one ever since I moved my WordPress installation from my old Windows 2003 server to a new Windows Server 2008 machine. If I try to use “automatic upgrade” to upgrade to the latest WordPress release or upgrade or add a new plugin I get to the “Connection Information” page… Continue reading WordPress on Windows/IIS cannot upgrade, add plugins, upload themes

PHP 5.3.1 upgrade on IIS7 and MySQL gives Internal Server Error

Solution After a lot of googling and testing I finally found Bruce Kirkpatrick’s comment at the end of the PHP install manual Seems it is no longer enough to have localhost in the servers local hosts file (C:\Windows\System32\drivers\etc\hosts) you also have to comment out or remove the IPv6 equivalent. 127.0.0.1 localhost #::1 localhost After I… Continue reading PHP 5.3.1 upgrade on IIS7 and MySQL gives Internal Server Error