I built a site using php and mysql, it is working well. Now I have tried its another version with MSSQL, it is running well but I have one problem there are some forms in my web site. when i submit those forms the data is inserted into database. Now the problem is that after insertion it is not redirecting and I have to refresh the page. In the address bar of the browser the redirected address is shown but on the page the error is displayed "CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:". What should I do to debug it. The same code was working well with mySQL. I am using Internet Explorer 6.0 and IIS v5.