Barcode Fonts, Components, ActiveX and .NET Windows Forms Controls, Java Servlets, 
DLLs and Barcode Scanners. IDAutomation.com, Inc. is a BBB Accredited Business. Click for the BBB Business Review of this Computers Hardware, Software & Services in Tampa FL
Contact IDAutomationView your cart in the IDAutomation Store
Loading
Home:  Support:  Search:

How to Create a Virtual Directory in IIS

Problem:

The Error - "Server error in '\' application -- run-time error" error occurs when the directory being used for IDAutomation's Barcode Server for IIS or any .aspx page utilizing IDAutomation's ASP.NET Server Controls is not set up as a virtual directory under IIS with the ability to run applications. The .aspx page and associated DLLs cannot simply be run out of a subdirectory set up in the root directory of the web server. A virtual directory must be created in IIS.

Solution(s):

Create a virtual directory using IIS, mapped to the directory storing the IDAutomation Server Control files.

A virtual directory under IIS needs to be created from an existing directory. If the directory does not exist, create one using My Computer or Windows Explorer. To create a virtual directory, follow these steps:

  • Open the IIS Management Console. This tool can be found under Administrative Tools.
  • Right-click on the website where the directory is needed.
  • Choose New - Virtual Directory.
    iis new virtual directory
  • When asked for the Alias name, enter the name of the directory. The user would type this name into the browser. For example, http://www.mydomain.com/myAlias.
  • When asked to grant permissions to the directory, choose the default permissions of Read and Run Scripts.
  • After the Virtual Directory is created the folder should appear differently in the IIS Management Console.
    iis virtual directory created
  • If problems still occur, stop and restart IIS and ensure it is set to run applications.
Related Documents:

To sign up for monthly updates about new products or upgrades, please click here.© Copyright 2012 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

     Barcode Fonts | Components | Scanners | Support | Contact Us

70% of Fortune 100 Company's use IDAutomation Products.