My code works on my dev server but fails when I deploy. What gives?

The vast majority of configuration issues are related to security and permissions.

Dev servers often operate a more relaxed security policy than staging or live servers and so this kind of problem often becomes apparent only during deployment.

Your first step should be to run ABCpdf interactively while logged on as Administrator. This will allow you to eliminate permissions as a source of the problems.

If you are running under ASP you can create a VBS script to mimic the effect of your ASP. Copy the following text into a text file and then rename it mytest.vbs. Double click to run.

Set d = CreateObject("ABCpdf5.Doc")
d.FontSize = 96
d.AddText "Hello World!"
d.Save "mydoc.pdf"
MsgBox "Finished"

If you are running under .NET you will need to create and compile a simple VB or C# application to perform the same type of operations.

  • 11 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Relaterte artikler

Do you provide technical support?

Yes, we provide 24/7 technical support via our support ticket system, Live Chat and Phone...

Can I recover my web site from your backups?

We do perform system backups daily as part of our emergency recovery plan, however, our services...

Do you support custom or third party code?

Third-party code/Software WebHostForASP.NET welcomes all of our customers to use any...

Do you provide programing or debugging services?

Yes, we do offer programming or debugging services. And the fee will be charged on per hour...

Am I required to place advertisement on my site?

We do not place forced advertisement, banners, marks or pop-ups on your site. However, we do...