|
|
pinPDF
Started by nick@compufit at 01-06-2009 12:05 . Topic has 2 replies.
 
 
|
|
Sort Posts:
|
|
|
|
01-06-2009, 12:05
|
nick@compufit
Joined on 01-06-2009
Posts 2
|
|
|
I have tried the trial on my development pc, everything works. Even my own project which creates a folder and then creates a pdf in that folder.
When i move my project to the Windows 2003 Server, it wouldn't create the pdf's anymore. But it still created the folders on the server.
When i try simple.aspx on the server, it created the test.pdf successfully.
When i run this code
protected void Page_Load(object sender, EventArgs e)
{
if (!this.IsPostBack)
{
Pintexx.Components.Web.pinPDF objPDF = new Pintexx.Components.Web.pinPDF();
objPDF.Html = "<span>Created with pinPDF</span>";
objPDF.OutputPath = "c:\\temp";
objPDF.FileName = "test2233.pdf";
objPDF.Process();
if (!objPDF.Process())
{
Response.Write("Error: " + objPDF.ErrorMessage);
}
else
{
Response.Write("c:\temp\test.pdf created");
}
}
}
I get the following error
Error: could not find pinPDF license. attempt to insert license failed. please see manual installation section of documentation.
|
|
|
|
|
Report
|
|
|
|
01-07-2009, 10:42
|
Pintexx Support
Joined on 08-30-2005
Posts 1.910
|
|
|
Hello Nick,
please do not contact us twice.
I have responsed to your email.
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
01-07-2009, 12:34
|
nick@compufit
Joined on 01-06-2009
Posts 2
|
|
|
the email
Hello Nick,
there might be a security problem at 2003 because everything is much more restrictive as on other systems.
Therefore let us check this first.
pinPDF requires IE 6+. Could you please check that ?
I have enclosed a trouble shooting text. Please go through the issues.
If this does not help please come back to me.
Regards,
Hans-Peter
------------------------------
Hans-Peter Burk
Pintexx Support
pinPDF issues
Windows 2003 Server defaults to an Internet Explorer Security policy which may interfere with HTML rendering. You may have to modify or disable the policy to allow access to the pages you want to render. If you wish to remove the security component you can do so using the "Windows Components" section of the "Add & Remove Programs" control panel.
If this doesn't help...
First work through some simple sanity checks and common causes of this type of issue.
Do ensure you can browse to the appropriate location using IE while logged on as Administrator. Make sure IE doesn't throw up any blocks or warnings. pinPDF requires a clear route through to the page.
If you're rendering a URL on your localhost then ensure that the IIS user has read access to this location.
Lack of access to the windows/temp directory is a frequent cause of this type of issue. Ensure that your IIS user (eg ASP.NET or IUSR_MACHINENAME) has read/write permission and also (if it fits with your security policy) the ability to create folders. You may also find that ASP.NET is being denied access to its own preferences (eg C:\Documents and Settings\MACHINENAME\ASPNET).
It is our experience that it is surprisingly common for web servers not to be able to resolve URLs to themselves. This means that when testing using an IP address your code will work but when you try and render a web page on the local server using a URL you may get issues.
|
|
|
|
|
Report
|
|
|
|
|
Pintexx Forum » Developer Produ... » pinPDF » License problem
|
|
|
|