Problems with vista64 and iis7, ASP and settings.

Source: Internet
Author: User

Since the 64-bit Vista is installed, the problem is solved one by one. Now, even running a simple ASP program in IIS (7.0.6000.16386) has a problem. Before starting the text, I want to correct some mistakes:

Vista + iis7 supports ASP + access without changing the application pool.

Elvas has proved that you can use the default defaultapppool. You can even disable the Classic. Net apppool.

Windows Vista Ultimate contains IIS and can be installed with IIS.

Windows Vista Ultimate: the flagship version of Chinese translation Vista, also known as "ultimate version ". This version covers almost all features developed by Vista in Windows Vista and is also the most powerful version of Vista. Elvas is using Windows Vista Ultimate, so all Q & A will be expanded based on 64-bit Windows Vista Ultimate.

Question 1: Why cannot I find the Internet Information Service (IIS) manager in the system?

Answer 1: The system is not installed by default. You need to manually install IIS. Step: select "Control Panel \ Program \ open or close windows function. (If you have confidence in your machine, you can choose all functions .)

Question 2: Why is the error "An error occurred on the server when processing the URL. Please contact the system administrator" returned when you access a website that has added and run services?

Answer 2: This error occurs when an error occurs in the program you run, and the iis7 settings do not send specific error messages to the client browser by default. So you need to set it in IIS: select the website directory on the left, and select "asp" in "function view, expand "compile \ debug properties" and set "Send errors to the browser" to true, and then set "enable parent path" in "behavior" to true.

Question 3: The system prompts "the parent path is not allowed ."

Answer 3: Same as 2. In "asp", set "enable parent path" in "behavior" to true.

Question 4: "No provider is specified, and no default provider is assigned ."

Answer 4: this is a typical 64-bit system problem. Because the 64-bit operating system does not support the Microsoft ole db provider for jet driver or earlier Microsoft Access Driver (*. MDB. This was confirmed on Microsoft's website. Microsoft ole db provider for jet for access and Excel databases is unavailable in 64-bit versions. That is to say, the following two connection strings are no longer working properly:

"Provider = Microsoft. Jet. oledb.4.0; Data Source =" & server. mappath (db)

"Driver = Microsoft Access Driver (*. mdb); DBQ =" & server. mappath (db)

In this case, you can only use one method to set the IIS runtime environment to 32 bits:"Server/application pool/defaultapppool/Set application pool default settings/(general)/enable 32-bit application/true".

In addition, the SQL database link can be run on a 64-bit machine. The link string is: "provider = sqloledb; Data Source =" & sqllocalname & "; uid =" & sqlusername &"; pwd = "& sqlpassword &"; database = "& sqldatabasename

Question 5: "disk or network error", "unspecified error", "Microsoft Jet Database Engine error '000000' unspecified error", "Microsoft ole db provider for ODBC drivers error" 80004005 '[Microsoft] [ODBC Microsoft Access driver] disk or network error ".

Answer 5: this error occurs because IIS does not have the permission to read the IE cache. (The error depends on the method used to connect to the access database.) You only need to set the permission for the cache directory to open the folder: (Note that the appdata folder is a hidden folder)

"C: \ WINDOWS \ serviceprofiles \ NetworkService \ appdata \ Local \", right-click on temp, and choose "properties", "security", "edit", and "add ", enter "Authenticated Users" and click "OK. Then, in the Authenticated Users permission, set "full control" and "modify" permissions.

Question 6: Q4 and Q5 have been solved, but an error is still prompted.

Question 6: reinstall or register the access driver of the machine, msadds. dll (ole db data shape ). Enter: (64-bit "regsvr32" C: \ Program Files (x86) \ common files \ System \ ole db \ msdasql. DLL ""); (32-bit "regsvr32" C: \ Program Files \ common files \ System \ ole db \ msdasql. DLL "")

Question 7: there is still no Way to Solve the Problem 1-6.

Answer 7: Sorry, for this problem, elvas tells you that no one in China can help you. (-_-)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.