Asp.net 4.0 has not been registered
I also fixed this issue by running aspnet_regiis -i using the visual studio command line tools as an administrator
I also fixed this issue by running aspnet_regiis -i using the visual studio command line tools as an administrator
Access to the path ‘C:\inetpub\wwwroot\mysite\images\savehere’ is denied Read the message carefully. You are trying to save to a file that has the same name as the directory. That cannot work, you can’t overwrite a directory filled with files with a single new file. That would cause undiagnosable data loss, “Access to the path is denied” … Read more
There is no 4.5 application pool. You can use any 4.5 application in 4.0 app pool. The .NET 4.5 is “just” an in-place-update not a major new version.
Seemed to be a no brainer; the WCF service should be enabled using Programs and Features -> Turn Windows features on or off in the Control Panel. Go to .NET Framework Advanced Services -> WCF Services and enable HTTP Activation as described in this blog post on mdsn. From the command prompt (as admin), you … Read more
First, you need to enable and see detailed errors of your web messages, because this is a general message without giving information on what’s really happening for security reasons. With the detailed error, you can locate the real issue here. Also, if you can run the browser on the server, you get details on the … Read more
A compiled list of possible sources of improvement are below: General Make use of a profiler to discover memory leaks and performance problems in your application. personally I suggest dotTrace Run your site in Release mode, not Debug mode, when in production, and also during performance profiling. Release mode is much faster. Debug mode can … Read more
I’d like to offer an alternative answer, with some history, so that you might understand why Kestrel comes, even if you only use Windows and IIS. At the very beginning of ASP.NET development before year 2000, clearly Microsoft created two pieces to host ASP.NET WebForms apps, Cassini, later became ASP.NET Development Server in Visual Studio. … Read more
Configuration You can enable GZIP compression entirely in your Web.config file. This is particularly useful if you’re on shared hosting and can’t configure IIS directly, or you want your config to carry between all environments you target. <system.webServer> <httpCompression directory=”%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files”> <scheme name=”gzip” dll=”%Windir%\system32\inetsrv\gzip.dll”/> <dynamicTypes> <add mimeType=”text/*” enabled=”true”/> <add mimeType=”message/*” enabled=”true”/> <add mimeType=”application/javascript” … Read more
I had the same issue, but reason was different. In my web.config there was a URL rewrite module rule and I haven’t installed URL rewrite module also. After I install url rewrite module this problem solved.
This technique by Jeff Atwood for Stackoverflow is the simplest method I’ve come across. It relies on the “cache item removed” callback mechanism build into ASP.NET’s cache system Update: Stackoverflow has outgrown this method. It only works while the website is running but it’s a very simple technique that is useful for many people. Also … Read more