Invalid application path

When I got this error it appeared to be due to a security setting. When I changed the “Connect As” property to an administrator then I no longer got the message. Obviously this isn’t a good solution for a production environment – one should probably grant the least privileges necessary for the user IIS is … Read more

Bad Request – Invalid Hostname IIS7

Did you check the binding is IIS? (inetmgr.exe) It may not be registered to accept all hostnames on 8080. For example, if you set it up for mysite.com:8080 and hit it at localhost:8080, IIS will get the request but not have a hostname binding to match so it rejects. Outside of that, you should check … Read more

IIS7 URL Redirection from root to sub directory [closed]

Here it is. Add this code to your web.config file: <system.webServer> <rewrite> <rules> <rule name=”Root Hit Redirect” stopProcessing=”true”> <match url=”^$” /> <action type=”Redirect” url=”/menu_1/MainScreen.aspx” /> </rule> </rules> </rewrite> </system.webServer> It will do 301 Permanent Redirect (URL will be changed in browser). If you want to have such “redirect” to be invisible (rewrite, internal redirect), then … Read more

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