If you are using .NET 4.0 and IIS 7+, you can set this flag in the system.web section of your web.config and it will be allowed:
<httpRuntime relaxedUrlToFileSystemMapping="true" />
I’ve tested it and it works. Haack has an explanation of it.
More Related Contents:
- How can I get my webapp’s base URL in ASP.NET MVC?
- “The resource cannot be found.” error when there is a “dot” at the end of the url
- How to solve “Could not establish trust relationship for the SSL/TLS secure channel with authority”
- MVC4 HTTP Error 403.14 – Forbidden
- Postback doesn’t work with aspx page as Default Document
- GZip Compression On IIS 7.5 is not working
- System.Runtime.InteropServices.COMException (0x800A03EC)
- ServiceRoute + WebServiceHostFactory kills WSDL generation? How to create extensionless WCF service with ?wsdl
- How to set .net Framework 4.5 version in IIS 7 application pool
- System.DirectoryServices.DirectoryServicesCOMException: An operations error occurred
- How do I improve ASP.NET MVC application performance?
- Using IIS Express to host a website (temporarily)
- ASP.NET strange compilation error
- Add Expires or Cache Control Header to static content in IIS
- IIS Application pool PID
- How to do SQL Like % in Linq?
- Case insensitive string compare in LINQ-to-SQL
- New asp.net charting controls – will they work with MVC (eventually)?
- How can I add a hint text to WPF textbox?
- How do you keep user.config settings across different assembly versions in .net?
- EF LINQ include multiple and nested entities
- How to build RUNAS /NETONLY functionality into a (C#/.NET/WinForms) program?
- How to completely uninstall Visual Studio 2010?
- Can you get a Func (or similar) from a MethodInfo object?
- Determine framework (CLR) version of assembly
- Detecting what the target object is when NullReferenceException is thrown
- What’s the different between ASP.NET AJAX pageLoad() and JavaScript window.onload?
- Looking for a practical approach to sandboxing .NET plugins
- Using Entity Framework entities as business objects?
- How to force WPF to use resource URIs that use assembly strong name? Argh!