How to configure the HttpHandler method or Codeless Barcode Generation feature of Barcode Professional for ASP.NET in IIS 7.x

If you are using the rendering method “HttpHandler” or the “Codeless Barcode Generation” feature of our Barcode Professional for ASP.NET product, and you are hosting your website in IIS 7.x (v7.0 available in Windows Server 2008 or v7.5 in Windows Server 2008 R2), then the barcode settings in web.config file need to be moved to another section of such configuration file.

See the following points to learn how to configure Barcode Professional for ASP.NET handler depending on your server settings:

  • For Windows Server 2003 with IIS 6.0 the barcode settings in the web.config of your website should look like the following:

    <system.web>      
         ...
       <httpHandlers>
           <add verb="*" path="BarcodeGen.axd" type="Neodynamic.WebControls.BarcodeProfessional.BarcodeProfessional, Neodynamic.WebControls.BarcodeProfessional"/>
       </httpHandlers>
         ...
    </system.web>
    

  • For Windows Server 2008 and Windows Server 2008 R2 with IIS 7.x the barcode settings in the web.config of your website should look like the following:

    <system.webServer>
       ...
       <handlers>
         <add name="BarcodeGen" verb="*" path="BarcodeGen.axd" type="Neodynamic.WebControls.BarcodeProfessional.BarcodeProfessional, Neodynamic.WebControls.BarcodeProfessional"/>
       </handlers>
       ...
    </system.webServer>
    

Notice that in IIS 7.x the handler section ( node) is under node NOT under node as in IIS 6. HTH,

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: