Giter Site home page Giter Site logo

Displays text only about nbarcodes HOT 11 CLOSED

jordao76 avatar jordao76 commented on July 17, 2024
Displays text only

from nbarcodes.

Comments (11)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Hi Justin,

Have you tried registering the NBarCodes HTTP Handler as explained in Step 2 in 
the main page? http://code.google.com/p/nbarcodes/

Original comment by [email protected] on 5 Jun 2012 at 9:54

from nbarcodes.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024

Original comment by [email protected] on 22 Jun 2012 at 5:58

  • Added labels: Type-Task
  • Removed labels: Type-Defect

from nbarcodes.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Hello,

The below issues is getting in production server but not in local development  
system.  
I'm attempting to use Bar Code Control in an aspx page with an ID, Data, and 
Type. When I run/open the page an image is displayed just showing the text that 
was entered in as the Data - not an actual bar code. Any insight would be 
greatly appreciated.

I add the below step also in web.config
<httpHandlers>
  <add verb="GET" path="BarCodeHandler.axd" 
    type="NBarCodes.WebUI.BarCodeHandler, NBarCodes"/>
</httpHandlers>

Can any one help me on this 

Thanks,
Pradeep

Original comment by [email protected] on 23 Aug 2012 at 6:53

from nbarcodes.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Hello Pradeep,

On the page that should show the barcode, can you please check which URL the 
barcode control is using? Just look at the source of the page and get the URL 
of the image you just described.

Regards,
Jordão

Original comment by [email protected] on 23 Aug 2012 at 11:22

from nbarcodes.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
[deleted comment]

from nbarcodes.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Hello Jordão,

The URL I am getting as follows  
 /BarCodeHandler.axd?Type=Code128&Data=TEST60PHOTOUPLOAD&BackColor=-1&BarColor=-16777216&BarHeight=50&FontColor=-16777216&GuardExtraHeight=10&ModuleWidth=0.6&NarrowWidth=1&WideWidth=3&OffsetHeight=5&OffsetWidth=5&QuietZone=0&Font=Verdana%2c+8pt&TextPosition=Bottom&UseChecksum=False&Unit=Pixel

Regards,
Pradeep

Original comment by [email protected] on 23 Aug 2012 at 12:04

from nbarcodes.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Hey Pradeep,

The URL is OK, and since you said it's working on development I really don't 
know what could be the problem. I need more info to find out. You can try 
calling the URL directly and see what it gives you. You mentioned that you're 
getting an image with text only? Can you share exactly what you're getting?

Regards,
Jordão

Original comment by [email protected] on 23 Aug 2012 at 3:26

from nbarcodes.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Hello Jordão,

While calling the URL directly. We are getting "HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is 
temporarily unavailable."

Yes, on page we are  getting the text that was entered in as the Data and bar 
code image is not displaying. A cross symbol is showing instead of bar code 
image.

Regards,
Pradeep 

Original comment by [email protected] on 24 Aug 2012 at 6:16

from nbarcodes.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
OK,

The 404 error tells me that the barcode handler might not be properly 
registered. Please take a look at [this 
question](http://stackoverflow.com/questions/2858738/problem-mapping-httphandler
-http-error-404-not-found) on stackoverflow for some ideas. Tell me later it 
this helped.

Regards,
Jordão

Original comment by [email protected] on 24 Aug 2012 at 2:19

from nbarcodes.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Hello Jordão

Thank you very munch for helping.

The application is running in Integrated mode in  IIS 7.
 So, I have changed the setting in web.config. Under the <handlers> element in the <system.webServer> section.

Then add the below line.

<add name="BarCodeHandler" verb="*" path="BarCodeHandler.axd" 
type="NBarCodes.WebUI.BarCodeHandler, NBarCodes" />    

and removed the below line from web.config

<httpHandlers>
  <add verb="GET" path="BarCodeHandler.axd" 
    type="NBarCodes.WebUI.BarCodeHandler, NBarCodes"/>
</httpHandlers>

Then it is working 

Thanks & Regards,
Pradeep

Original comment by [email protected] on 27 Aug 2012 at 2:20

from nbarcodes.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Changed project documentation to account for this.

Original comment by [email protected] on 27 Jul 2014 at 11:09

  • Changed state: Done

from nbarcodes.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.