How to configure IIS and set Folder Permissions for VPCart

How to configure IIS and set Folder Permissions for VPCart

INSTALLING IIS ON WINDOWS 10

• Type Control Panel in Windows search bar and click on the link, as shown in the image below.



• Under ‘Programs’ category, click on “Uninstall a program” link.



• Click on "Turn Windows feature On or Off" link.



• Double click on "Internet Information Services", which will display a list of features available for IIS.



•  Click the plus button next to "Web Management Tools" and "IIS 6 Management Compatibility" so they will expand.

•  Tick the checkbox "IIS Management Console".

•  Click the minus button next to "Web Management Tools" and click the plus button next to "World Wide Web Services".

•  Click the plus button next to "Application Development Features" and tick the box "ASP". It will auto tick "ISAPI Extensions" as well like screenshot below:

•  Click the minus button next to "Application Development Features" and click the plus button next to "Common HTTP Features".

•  Tick the boxes as shown below:

•  Click the minus button next to "Common HTTP Features" and click the plus button next to "Health and Diagnostics".

•  Tick the boxes as shown below:

•  Click the minus button next to "Health and Diagnostics" and click the plus button next to "Performance Features".

•  Tick the box as shown below:

•  Click the minus button next to "Performance Features" and click the plus button next to "Security".

•  Tick the box as shown below:

•  Click the minus button next to "Security" and click on “OK” to install IIS.



Windows will begin installing IIS. This may take several minutes Please wait until installation is completed.

Go back to Top

INSTALLING IIS ON WINDOWS 8

• Locate your Control Panel as shown in image below :



• Under ‘Programs’ category, click on “Uninstall a program” link.



• Click Turn Windows feature On or Off" option.



• Double click on "Internet Information Services", which will display a list of features available for IIS.



•  Click the plus button next to "Web Management Tools" and "IIS 6 Management Compatibility" so they will expand.

•  Tick the checkbox "IIS Management Console".

•  Click the minus button next to "Web Management Tools" and click the plus button next to "World Wide Web Services".

•  Click the plus button next to "Application Development Features" and tick the box "ASP". It will auto tick "ISAPI Extensions" as well like screenshot below:

•  Click the minus button next to "Application Development Features" and click the plus button next to "Common HTTP Features".

•  Tick the boxes as shown below:

•  Click the minus button next to "Common HTTP Features" and click the plus button next to "Health and Diagnostics".

•  Tick the boxes as shown below:

•  Click the minus button next to "Health and Diagnostics" and click the plus button next to "Performance Features".

•  Tick the box as shown below:

•  Click the minus button next to "Performance Features" and click the plus button next to "Security".

•  Tick the box as shown below:

•  Click the minus button next to "Security" and click on “OK” to install IIS.



Windows will begin installing IIS. This may take several minutes Please wait until installation is completed.

Go back to Top

INSTALLING IIS ON WINDOWS 7

•  Open the Control Panel by going to the Start Menu > Control Panel.



•  Double click on "Programs and Features".



•  Click the "Turn Windows features on or off" link.



• Double click on "Internet Information Services", which will display a list of features available for IIS.



•  Click the plus button next to "Web Management Tools" and "IIS 6 Management Compatibility" so they will expand.

•  Tick the checkbox "IIS Management Console".

•  Click the minus button next to "Web Management Tools" and click the plus button next to "World Wide Web Services".

•  Click the plus button next to "Application Development Features" and tick the box "ASP". It will auto tick "ISAPI Extensions" as well like screenshot below:

•  Click the minus button next to "Application Development Features" and click the plus button next to "Common HTTP Features".

•  Tick the boxes as shown below:

•  Click the minus button next to "Common HTTP Features" and click the plus button next to "Health and Diagnostics".

•  Tick the boxes as shown below:

•  Click the minus button next to "Health and Diagnostics" and click the plus button next to "Performance Features".

•  Tick the box as shown below:

•  Click the minus button next to "Performance Features" and click the plus button next to "Security".

•  Tick the box as shown below:

•  Click the minus button next to "Security" and click on “OK” to install IIS.



Windows will begin installing IIS. This may take several minutes Please wait until installation is completed.

Go back to Top

INSTALLING IIS ON WINDOWS VISTA

•  Open the Control Panel by going to the Start Menu > Control Panel.



•  Double click on "Programs and Features".



•  Click the "Turn Windows features on or off" link.



• Double click on "Internet Information Services", which will display a list of features available for IIS.



•  Click the plus button next to "Web Management Tools" and "IIS 6 Management Compatibility" so they will expand.

•  Tick the checkbox "IIS Management Console".

•  Click the minus button next to "Web Management Tools" and click the plus button next to "World Wide Web Services".

•  Click the plus button next to "Application Development Features" and tick the box "ASP". It will auto tick "ISAPI Extensions" as well like screenshot below:

•  Click the minus button next to "Application Development Features" and click the plus button next to "Common HTTP Features".

•  Tick the boxes as shown below:

•  Click the minus button next to "Common HTTP Features" and click the plus button next to "Health and Diagnostics".

•  Tick the boxes as shown below:

•  Click the minus button next to "Health and Diagnostics" and click the plus button next to "Performance Features".

•  Tick the box as shown below:

•  Click the minus button next to "Performance Features" and click the plus button next to "Security".

•  Tick the box as shown below:

•  Click the minus button next to "Security" and click on “OK” to install IIS.



Windows will begin installing IIS. This may take several minutes Please wait until installation is completed.

Go back to Top

SETTING FOLDER PERMISSIONS IN WINDOWS 10 / 8 / 7 / VISTA

VPCart requires that a number of folder permissions be updated so they have READ/WRITE allowed.

If you are using an Access database, you will need to set READ/WRITE permissions for the Internet Guest Account on the "database" folder before you will be able to run VP-ASP.

Also, to use the image upload facility and the other powerful features in VPCart, you will need to set the same permissions on a number of other folders (eg. export, import, images etc..) before you can upload files, export/import data from the database or complete the Set-Up Wizard in VPCart.

You can watch our video tutorial about this at :
https://www.youtube.com/watch?v=YcAoQCWv70o

The video helpnote above is using Windows 7, however it should be the same for the other Window versions.

And below are the complete steps for setting folder permissions in Windows 10 / 8 / 7 / Vista :

  1. 1. Open My Computer.
  2. 2. Browse to the folder where you installed VPCart.

  3. 3. Right click on the folder you want to set permissions for, then select Properties. Click the Security Tab.

  4. 4. Click the Edit button. Click on the IUSR account, if it is listed and skip to Step 9. If not, continue to the next step.
  5. 5. Click the Add button.

  6. 6. Click Advanced

  7. 7. Click Find Now

  8. 8. Locate IUSR in the list and click OK twice.
  9. 9. Click on the IUSR account and ensure Read and Write are ticked in the bottom box.

  10. 10. Click OK twice.
  11. 11. Repeat the process for any other folders that need READ/WRITE permissions
Go back to Top

TROUBLESHOOTING

When you try and run VPCart you get the following error

Microsoft JET Database Engine error '80004005'
Unspecified error

To fix this, see the Workaround provided by Microsoft at http://support.microsoft.com/?id=926939

You may also experience a slightly different error message indicating that the "Operation is not allowed when the object is closed."

To resolve this try the following:

1. Navigate to c:\windows\serviceprofiles\networkservice\appdata\local\temp
2. Right click on the folder, select Properties.
3. Click the tab labelled Security.
4. Click the Edit button then the Add button.
5. Type the name IUSR. Click OK.
6. It will be listed in the list of user names - select it
7. In the box below showing "Permissions for IUSR", make sure the "Full control" box is ticked.
8. Click OK.

If you cannot view the c:\windows\serviceprofiles\networkservice\appdata\local\temp folder it is a hidden folder so you will need to enable the viewing of hidden folders by doing the following:

1. Open Control Panel
2. Click on Folder Options
3. Click the "View" tab
4. Make sure the option for "Hidden Files and Folders" is set to "Show Hidden Files and Folders"

If you are still having trouble getting Vista to access your database, the following forum post about setting permissions may help you solve this issue. Please note, VP-ASP do not guarantee or support the contents of this post, it is provided as a guideline for a possible solution only.


When you try and run VPCart it displays an error in shopheaders.asp, between lines 1350-1450.

This is most likely caused by the Windows Script runtime library not being available. To ensure it has been registered properly, you need to run the following command on your server.

regsvr32 scrrun.dll

To do this, go to the Start Menu, click Run, type the above command and press Enter.

If scrrun.dll file is missing, or if the above registration does not help, you may need to download and install the latest Scripting update from Microsoft.


When trying to run VPCart in Windows Vista 64 bit and using Access as the database, you might receive the following error message:

ADODB Connection error '800a0e78'
Operation is not allowed when the object is closed.
/shop$db.asp, line 1465

To resolve this issue, please enable the Application Pool to run 32-bit applications.

Below are the steps to enable 32-bit applications on 64-bit Vista through IIS Manager :

  1. In IIS Manager, select Application Pools.
  2. In the list of Application Pools, select the application pool you have configured for use with VPCart.
  3. In the Actions pane, select Advanced Settings under Edit Application Pool.
  4. Expand the General settings, set Enable 32-bit Applications to True, and click OK.
Go back to Top


Times Viewed:
45167
Added By:
Claire Banks / Wilson Keneshiro
Date Created:
4/18/2007
Last Updated:
3/14/2019