Iis7+windows 64-bit configuration considerations

Source: Internet
Author: User
Tags access database

Problems and Solutions

1 if the site is asp: Re-enable parent path in ASP

2 The operation must use an updatable query: give the user Iis_iusrs a Full Control permission

3 Windows (64-bit IIS) did not register the "microsoft.jet.oledb.4.0" provider on the local computer: in the corresponding IIS application pool, set application pool default properties/General/enable 32-bit application, set to True.

IIS7.5 Troubleshooting asp+access database connection errors after installation
0 recommendations

The first step, install IIS.

Start-Control Panel-programs and features-turn off Windows features, find Internet Information Services and tick, remember to tick ASP, and ASP. NET in the app development function, and then find the Internet on Internet Information Services Information Service can host the Web core tick, and then determine, wait a few seconds after the installation succeeds.

Step two, open Internet Information Services Manager.

Start--Control Panel--management tool--internet Information Service Manager. (If the installation is successful but the admin tool cannot find the Internet Information Server, you can add it by following these steps, right-click on the Start Menu icon-Properties-the System administration tool is set to "All Programs menu display" or "All Programs show on menu and Start Menu").

The third step is to assign the temp directory the right.

Configure Asp+access to use an environment that uses an ASP program to discover database connection errors after loading IIS, but check that the link code is completely correct. The reason is that the MJ jet engine changed the location of the temp directory, the big deal has no access to the temp directory, and then we give the system disk: \windows\serviceprofiles\networkservice\appdata\local\ The temp directory adds a "Authenticated users" user, where the AppData directory is hidden, enter the path directly in the address bar when entering, or set the show hidden folder in the folder options, you can find a hit. To set permissions steps: Right-click on the Temp folder,--Properties--security--clicking on the "edit"--"Permissions for Temp" dialog box, clicking "Add", "enter the object name to select" Enter "Authenticated Users, click OK" and then return to the temp permission. Make sure that you have full control of the permissions of the Authenticated users.

Fourth step, setting up the application pool

To set the application pool "application pool" to classic. Net AppPool instead of the default AppPool, you can set up each site in the site directory or individually at the site. Once you've selected the site you've set up, click Basic Settings on the right to bring up the App Pool Settings dialog box.

Fifth step, enable parent path

Select ASP directly on the site home page, double-click to find the "Enable parent path" setting in the "Behaviors" group to Ture (remember to click on the app in the top right corner)

Maybe someone follow the above configuration, or there will be a hint of database connection error, do not worry next, run the command prompt in administrator mode, click on the Start menu to enter CMD and then click on the cmd.exe above the right button to select Run as Administrator. Then paste the following command to run: CSCRIPT%systemdrive%\inetpub\adminscripts\adsutil.vbs SET W3svc/apppools/enable32bitapponwin64 1

Note that it is important to install all the administrative tools for IIS Oh, otherwise the command will prompt for errors.

 

Iis7+windows 64-bit configuration considerations

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.