ASP.NET MVC – Routing – an action with file extension

You need to map requests for your XML files to TransferRequestHandler in web.config. Otherwise IIS will handle the request. Jon Galloway explains how to do this here. In summary, you add this element to location/system.webServer/handlers in your web.config: <add name=”XmlFileHandler” path=”*.xml” verb=”GET” type=”System.Web.Handlers.TransferRequestHandler” preCondition=”integratedMode,runtimeVersionv4.0″ />

Delete NoUIEntryPoints-DesignMode packages

You can use the following PowerShell command: Get-AppxPackage -Publisher “CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US” | ? {$_.IsDevelopmentMode -eq “True”} | Remove-AppxPackage This does 3 steps: Gets all installed AppX packages published by Microsoft. Filters them by those marked as DevelopmentMode. Removes the results. I just wasted a bunch of time trying to figure … Read more

Where does Windows store its “Open With” settings?

Take a look in: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\ and the sub-key of that is the extension you reassigned. Under that there will be the UserChoice and OpenWithList sub-keys which will contain your redefinition. You may also want to read http://support.microsoft.com/kb/950505 which talks about your issue. Update As of Windows 8, life has gotten far more complicated. To create … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)