Invalid character

Invalid character

Forum member · Feb 16, 2008
Hi! i installed DynamicPDF...step-by-step..with the licence...started a blank new project just to test...and always receiving "Line 1: Error: Invalid character"!?!?!? Even if i copy an example and run it under VS2003 i get the same error message!?!?! The funny thing is that the examples work just fine, when i am running them thru IIS (http://localhost/DPDFGen303ForNETDevEd/)?!?! Please HELP...i guess i am missing something within VS.. Thanks ahead

Re: Invalid character

Support · Feb 18, 2008
Hello, This might be most probably causing because of some stray HTML getting added to the PDF stream. Please try adding the following line of code right after the DrawToWeb method and see if it solves your problem. Visible = false; Thanks, ceTe Software Support Team.

Re: Invalid character

Forum member · Feb 18, 2008
hi! thanks for your reply it happened to be that the problem was with MS IE browser! i set Firefox as my default browser for VS - and everything was fine. BUT...just from nowhere and no errors in my VB solution, i receive an "Access denied to DynamicPDF.." i have to close VS...wait a few minutes...re-open my solution and everything is fine again for an hour or 2, until it happened again "from the blue" Any ideas??

Re: Invalid character

Support · Feb 18, 2008
Hello, This is likely caused by a timing issue in .NET when the assemblies are loaded. We have seen many threads about this and it is not particular to our product. This can happen when your Web Applications attempts to restart after recompiling your assembly. Here is a Microsoft article related to this issue: http://support.microsoft.com/default.aspx?scid=kb;en-us;329065 Two solutions are: 1) Stop the Indexing Service on the machine. OR 2) Place our assemblies in the GAC. Thanks, ceTe Software Support Team.