cancel
Showing results for 
Search instead for 
Did you mean: 

aspx viewer no fonts

0 Kudos
527

I have developed a number of reports and displaying using aspx web pages but the aspx viewer doesn't show installed fonts on client device. such as code39barcodes when using windows IIS

Also how to generate a barcode in cr2020 to visible to a new client in web viewer using IIS

if i export the report content to a PDF it shows the barcode fonts

any help or advice please

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Thanks for checking, so it's not an OS issue...

By Client Device do you mean a Phone or tablet?

As noted we don't support those devices using .NET because we require the full version of the Framework to be installed.

We don't support MS Core Framework, which those devices do support.

CR is built using C++ and lot's of COM wrappers around the core engine thus the reason why we need the full version of the Framework to be available.

As for the Web form Viewer it too relies on COM resources and likely to display the font locally, that's why PDF and local PC works, it embeds the barcode in the PDF file.

The viewer needs the font installed.

I have not tested viewing reports on a phone or tablet so not sure what is required... I would assume it needs the font, but I don't think it has the ability to install fonts.

This would be an Enhancement request... I'll talk to the Mobile team and see what they have to say...

For now your only option is to export to PDF and send that to them.

Answers (6)

Answers (6)

0 Kudos

Ah, Currently we don't support Windows 2022 server:

SAP Crystal Reports, Developer Version for Microsoft Visual Studio – Supported Platforms (updated)

Possibly SP 33 will, it's due out in a month or so... Checking with R&D to see if it's going to be supported in SP 33.

If this is an issue they'll look into why...

0 Kudos

Hi Don,

great answer but sadly i have just tried a server 2016 & 2019 and also a windows 10 and windows 11 all running IIS and still the same problem

are you able to create an RPT and deploy to IIS and show a barcode successfully on any client device?

0 Kudos

CR for VS doesn't support hand held devices, it requires the framework to be installed as well as all dependencies including the fonts and UFL's.

Mobile devices are not supported.

I clicked your link, not sure what I'm looking at though?

If it's a WEB server it's not showing the bar code because IIS can't find or doesn't have permissions to access the Font or UFL.

0 Kudos

Hi Don,

Thanks for the comments, see my replies in italics, appreciated.

Mobile devices are not supported. - the webpages all work on the handheld devices using windows CE / android / IOS just don't show the barcode fonts.

I clicked your link, not sure what I'm looking at though? this is supposed to show you a barcode of the number displayed but it only shows *1234567890*

If it's a WEB server it's not showing the bar code because IIS can't find or doesn't have permissions to access the Font or UFL. - this is a windows server 2022 IIS and the font is installed as it shows correctly on the server just not on a browser on any client

given the browser on the server show it correct and every client can export it correctly that would assume the font is installed and has permissions? how else can i set permissions for the font?

all 3 browsers can export to a PDF and it shows the barcode perfectly but that's not what i want i need it to show in the browser

see image below

many thanks

Paul


0 Kudos

I fixed the link....

Fonts and barcode UFL need to be installed on the WEB Server where CR runtime is installed. They are not included with the CR runtime install. Or install Crystal Reports Designer will also work.

Exporting on the WEB server will embed the font, exporting on work station won't unless the font is install locally.

All to do with Licensing, CR won't embed Licensed fonts when exporting to PDF.

Go to the link and set up a license for installing the font and users work stations.

Other option is to use any free Code39 font, you don't need to use a UFL, simply replace the font with the free one, it should embed in the PDF. If they still don't work instruct your users to download the font.

0 Kudos

Thanks for the comments and fixed link

no matter what font we use (chargable or free) the crystal report will not display the font in the browser but will export to pdf

we need the browser/crystal viewer to show the barcode - surely this is not just me

did you try the link i put added - on the WebServer is hows the font but any clients do not see it but if exported to PDF it shows the font. very weird! https://vreports.co.uk/CR1/

I can't instruct any users to download as some of the users will be using handheld mobile devices that can't install windows fonts. but they can see the pdf with the barcode showing.

https://vreports.co.uk/CR1/

thanks again everyone

0 Kudos

Azalea fonts have to be installed on the web server.

Go to https://azaleabarcodes.com/ and download the UFL and fonts, then it all should work.

Must be installed under the same Identity IIS is running under.

0 Kudos

that link didn't work

IIS (world wide web publishing service) is running as Local System
I am logged on as local administrator

fonts are installed and clients still don't see the barcodes

here is a test report is shows a barcode on the server but not on a client

https://vreports.co.uk/CR1/

0 Kudos

Fonts are installed as ADMIN and for all users

the fonts display on the server or any user that has the fonts installed - but i can't install fonts on clients who access from the internet so how would they see the fonts? i know the fonts work as they show if i use the same page and export to PDF on a client that is not seeing the fonts.

Not sure how to check if the AppPool is running x86 or x64 mode

i do have Enable 32-bit applications = False

not really touched or bothered changing any AppPools before

thanks

0 Kudos

Fonts have to be installed under and admin account for all users access to them.

Do you have your AppPool running in x86 or x64 mode?