简体   繁体   中英

Unable to display classic asp page on local machine on iis7

I am new to classic asp deployment. I have deployed my classic asp project on my local machine on iis7 of windows7.

When I browse my website from iis it displays the home page but when i click on search button on page which should redirect to search.asp but the page is not displayed and no errors are shown.
It shows The website cannot display the page .

Sqlserver version: 2008

My connection string:

MM_mtyadi_STRING.Open "Provider=SQLOLEDB;Data Source=.\SQLEXPRESS;Initial Catalog=MYDB;Integrated Security=True;"

My html code is :

<a href="html/search.asp"><img src="images/search.gif" width=351 height=51 border="0">

Any suggestions?

If you are using IIS7 classic asp has its own error reporting settings. In IIS manager you have to double click ASP to get the properties page to pop up.

Expand: Debugging Properties: Set send errors to browser to : TRUE

That will give you detailed classic asp errors where you can understand where your code is breaking.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM