WordPress, IIS7, SQL Server 2008, not showing posts (displays ‘Nothing Found…’) and only shows counts in admin – how to fix?

I had the same problem. From my log file I can see its breaking on the query that returns the posts. I managed to get this working by going to “wp-includes\query.php”, and then removing the $limits variable from the query. It seems that this is breaking on sql server. Find this line: $this->request = ” … Read more

Nothing Found for Index Php Error

Start by going to Settings>Permalinks, now click on the default radio button and click save. You probably used .htaccess to enable pretty permalinks, IIS doesn’t use an .htaccess file. If the default structure fixed the problems you are having, but you want the old permalink structure, click this link to the WP-Codex page explaining how: … Read more

How to solve “Microsoft Visual Studio (VS)” error “Unable to connect to the configured development Web server”

SOLUTION This means that you are missing the right for using it. Create it with Netsh Commands for Hypertext Transfer Protocol > add urlacl. 1) Open “Command Line Interface (CLI)” called “Command shell” with Win+R write “cmd” 2) Open CLI windows like administrator with mouse context menu on opened windows or icon “Run as administrator” … Read more

GET request to IIS returns Microsoft-HttpApi/2.0

Windows has an HTTP service that manages calls to IIS and other HTTP enabled services on a windows machine. Either you need to configure it to handle your calls, or, in the case of WAMP or similar non-IIS-web-server-on-windows scenarios you may just need to turn it off. When you see “Microsoft-HttpApi/2.0” returning error, such as 400 “bad … Read more

Bad Request- Invalid Hostname while connect to localhost via wifi from mobile phone

Step 1: Add Inbound Rule of Windows Firewall Open the Windows Firewall with Advanced Security. At the left panel, right click on Inbound Rule > New Rule Rule Type: PortProtocol and Ports: TCPSpecific local ports: 57976Action: Allow the connectionProfile: Tick all (Domain, Private, Public)Name: Name, Description(optional) Finish. Step 2: IIS or IIS Express Add Bindings of IIS Manager Open … Read more

How to redirect a URL path in IIS?

Taken from Microsoft Technet. Redirecting Web Sites in IIS 6.0 (IIS 6.0) When a browser requests a page or program on your Web site, the Web server locates the page identified by the URL and returns it to the browser. When you move a page on your Web site, you can’t always correct all of the … Read more

OLE DB Provider for ODBC Drivers Error “80004005′

That error is nearly always caused by a bad connection string when an ADODB.connection object has its .open() method called. For example, take the following code: Note how the connection string includes a driver identifier, in this example that is SQL Server. Somewhere in your application you’ll have an adodb.connection.open() method being called with a connection string, you need to find … Read more