IIS does not list a website that matches the launch url

I hate answering my questions: in my question i stated that i was running VS under the administrator account. This was not true!!! So the solution (for me) was to run VS2010 as administrator (Start->In Vista menu right click-> Run as administrator)…so simple. As a side effect: VS2010 let me also create Virtual Directories without … Read more

System.Security.SecurityException when writing to Event Log

To give Network Service read permission on the EventLog/Security key (as suggested by Firenzi and royrules22) follow instructions from http://geekswithblogs.net/timh/archive/2005/10/05/56029.aspx Open the Registry Editor: Select Start then Run Enter regedt32 or regedit Navigate/expand to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Security Right click on this entry and select Permissions Add the Network Service user Give it Read permission … Read more

HTTP Error 503. The service is unavailable. App pool stops on accessing website

One possible reason this might happen is that the Application Pool in IIS is configured to run under some custom account and this account either doesn’t exist or a wrong password has been provided, or the password has been changed. Look at the advanced properties of the Application Pool in IIS for which account it … Read more

Difference between and ?

The system.web section is for configuring IIS 6.0, while the system.webserver version is used to configure IIS 7.0. IIS 7.0 includes a new ASP.NET pipeline and some configuration differences, hence the extra config sections. However… If you’re running IIS 7.0 in integrated mode only, you shouldn’t need to add the handlers to both sections. Adding … Read more

IIS7 deployment – duplicate ‘system.web.extensions/scripting/scriptResourceHandler’ section

If your plan is to deploy to an IIS that has an Application Pool running in .net 4.0 you will need to cleanup the web.config that includes all the section Definitions that point to .net 3.5. The reason this fails is because these section definitions are already included in the root web.config in .NET 4.0 … Read more

Enable IIS7 gzip

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

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