This is an archived forum post. The information may be outdated. Contact us if you have any questions.

Differences between development and production environments

IsdGlobal wrote on 2011-05-16:
Hello

This is my last issue to be resolved.
The problem is with the generation of images in the pdf file.
When I run my application in production environment I have the following code in the allocation of images to work correctly.

<img "src=""http://mydomain.com/wfmBarCode.aspx?code=123....""


However, when I run in development environment I have the following code does not work.

<img "src=""http://localhost:80/wfmBarCode.aspx?code=123....""


I am developing with ASP.NET 2.0, VB.NET

I hope your help.

Thanks
support wrote on 2011-05-16:
Hello,

localhost is the standard hostname given to the address of the loopback network interface. It usually translates to 127.0.0.1.

A loopback interface is used by network client software to communicate with server software on the same computer. It can't be accessed from another computer. That's the reason why the images are not printed to PDF since the Pdfcrowd service does not run on your computer (it runs in the cloud) and thus can't download images specified using localhost.