action cancelled in pdf

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Converter for .NET (v1)  /  action cancelled in pdf

DynamicPDF Converter for .NET (v1) Forum

 Feb 12 2010 11:19 AM
i just put your converted on our server.  I runs and creates a pdf, but when i try to open it, the file says action cancelled on it.  Any ideas?  Is this a licensing issue?
 Feb 12 2010 1:18 PM
Posted by a ceTe Software moderator
Hello,

We have not seen this behavior in the past. Can you please let us know what document type conversion are you performing? What OS is the application running on? What is the version of IE installed on the machine?

Are you able to do any document type conversions on the server or does all conversions result in a similar output?

Thanks,
ceTe Software Support Team
 Feb 15 2010 9:46 AM
I followed the instructions to add the license but I am not sure how to. It renders fine when running on my local machine but once it is on the server the PDF opens and says action cancelled can not find the webpage you are looking for. See below:


Action canceled
Internet Explorer was unable to link to the Web page you requested.
The page might be temporarily unavailable.
Please try the following:
? Click the Refresh button, or try again later.
? If you have visited this page previously and you want to view
what has been stored on your computer, click File, and then
click Work Offline.
? For information about offline browsing with Internet Explorer,
click the Help menu, and then click Contents and Index.
Internet Explorer
 Feb 15 2010 10:21 AM
Posted by a ceTe Software moderator
Hello,

Are you trying to convert a web page into PDF document? If so please try opening the URL you are converting in IE and see if it opens fine. The message shows that the page was not found. Please make sure that the page you are trying to convert is available.

Thanks,
ceTe Software Support Team.
 Feb 15 2010 10:40 AM
It is a licensing issue. We do not have the license properly installed on the server and we need assistance with this. Thanks
 Feb 15 2010 11:34 AM
Posted by a ceTe Software moderator
Hello,

Is the problem you have above solved? You can get the licensing information after logging into our CustomerArea by clicking the View License Key button.

Thanks,
ceTe Software Support Team.
 Feb 15 2010 12:04 PM
we have the license number.  We are having a hard time figuring out where to put it in the web.config file.
 Feb 15 2010 12:18 PM
Posted by a ceTe Software moderator
Hello,

You will have to create a license key for the system using its computer name after logging into our CustomerArea by using your product serial number.

Then you can see the "View License Key" button next to your system in the CustomerArea and clicking on this button shows the instructions to add the license key to the application.

You can add the key in the code and through web.config also.

Code:
   Converter.AddLicense("license key");
Web.Config:
   <AppSettings>
      <add key="ceTe.LicenseKey" value="license key" />
   <AppSettings/>

Thanks,
ceTe Software Support Team.
 Feb 15 2010 1:07 PM
We actually did both and its still showing the evaluation only tag on it and not creating the file.  It's as if it can't find the license key.
 Feb 15 2010 1:17 PM
Posted by a ceTe Software moderator
Hello,

The computer name you have used to generate the license key might be wrong. Please use the correct computer name to generate the license key and this should solve the problem.

You can also use the aspx page downloading from our CustomerArea which gives the exact computer name to use.

Are you not able to create the PDF? If not what exact problem are you having? Please give us full details of the problem you are having.

Thanks,
ceTe Software Support Team.
 Feb 16 2010 9:31 AM
We moved our development aspx files to the server.  We have checked the license key and added it to web.config.

We run the convert from the server by calling it in an aspx vb files.  It hangs up and never runs.

If i run it from my machine but the file that is getting converted is on the server, it runs but gives a pdf with the words action cancelled and it has the header note evaluation only.

If i run it soley on machine in evaluation only mode, it works great.

Thats pretty much what is happening.
Thanks,
Mary Ann
 Feb 16 2010 10:29 AM
Posted by a ceTe Software moderator
Hello Mary Ann,

What operating system do you have in the server? What type of file are you trying to convert? Also what version of IE is installed in the server?

Thanks,
ceTe Software Support Team.
 Feb 16 2010 10:39 AM
We are running server 2003 R2. Trying to convert an aspx file. We have version 6.0 for IE.
 Feb 16 2010 11:16 AM
Posted by a ceTe Software moderator
Hello,

Is it a 64bit operating system? If so you will need minimum IE7 in order to do HTML or webpage to PDF conversions.

Thanks,
ceTe Software Support Team.
 Feb 16 2010 11:28 AM
It's not a 64 bit.  It appears to be a licensing issue.  We have the correct server name etc, but its not picking up the license.  It runs great on my local machine.
 Feb 16 2010 11:47 AM
Posted by a ceTe Software moderator
Hello,

The hanging issue you are seeing is not because of the licensing. If the application is not licensed then it will give watermark on the generated PDF. Other than the watermark the licensing will not cause any problem.

Have you installed the Converter MSI in the server? Please double check the Converter service in the server if it is running or not. Also is the Converter printer present in the server? You can check this in the printers and faxes folder.

You will need the Converter service running and the Converter printer installed in the server. If they are not present then please install the Converter MSI again in the server.

If the converter product is already installed in the server then please try reinstalling the MSI after uninstalling the product completely.

The issue you are seeing with the output PDF having words "Action canceled" is also different from licensing and it not related to licensing the application.

The text you are getting is actually the text form the IE when you try to access the file you are converting which is in server.

Please use the correct URL of the file and make sure that you have permission to view that file to convert it.

Thanks,
ceTe Software Support Team.
 Feb 16 2010 12:23 PM
It is installed on the server.  The printer is installed and the service is running.   The url is correct and I have access to that.  Do we need to add something to the security priveleges for pdfconverter to be able to run?

The server is a secure server here at sandia.  would that have anything to do with it?
 Feb 16 2010 3:29 PM
Posted by a ceTe Software moderator
Hello,

No special permissioms are required to run DynamicPDF Converter product. We have tested doing the conversion of SSL web pages as well and the conversion works fine without any issues. The behavior you are seeing is also not related to the licensing issue. If you remove the license key on the server, does it do the conversion fine?

Can you please send an email to our Support Team with the URL that you are trying to convert so that they can do further testing to verify that the conversion works?

Thanks,
ceTe Software Support Team
 Feb 17 2010 11:50 AM
I cannot send you the url, because it is a secure site.  you won't have access to it and the information needed to run it is on Sandia's directory services.

I will try removing the licensing and will get back to you.
 Feb 22 2010 11:15 AM
 

This is what i have...I call createpdf.aspx file where i have these lines of code below.  I removed the licensing, it didn't matter. 
The permissions are fine to run from this location below, as this is where my application is (but you can't of course).

It appears like it is doing something, but never finishes and gets hung up.  It

Dim tempfile As String
        Dim usqid As Integer
        Dim type As String

  
        usqid = Request.QueryString("usqid")
        type = Request.QueryString("type")

        tempfile = "\\ws02802nt\wwwroot\usq\tmp\temp" & usqid & ".pdf"
       
                           ceTe.DynamicPDF.Conversion.Converter.Convert("HTTPs://ws02802nt/USQ/USQSCREENPDF.aspx?USQID=" & usqid, tempfile)
          
We have tried everything...thanks so much for your assistance.
Mary Ann
 Feb 22 2010 5:29 PM
Posted by a ceTe Software moderator
Hi Mary Ann,

Could you save a copy of the actual page that you are trying to convert after it is server up and send that over to us?  in other words, take the page that is returned from the URL: "HTTPs://ws02802nt/USQ/USQSCREENPDF.aspx?USQID=" & usqid so that we can see an example of the actual page that is being converted and then maybe try to convert this as a string of HTML content.

But the bottom line here still is that the sample code from your last post runs on your test machine (can you give us the details of the system again) and it does not run on the production box (also give us the details of that system again...OS, Proc, IE version, etc.)

Did you ever send over one of those output PDF documents 9the one that says "Action cancelled"?  Please do that.

And do you have any error handling in the application?  If so, make sure to turn all that off for right now so that if an error is being thrown it will be obvious for us to tell.

Put all this together and send it over to support@cete.com.

Thanks,
ceTe Software Support Team
 Feb 23 2010 1:37 PM
We uninstalled and reinstalled on the server and it we are still having the same problem.
 Feb 23 2010 4:57 PM
Posted by a ceTe Software moderator
Can you put any of the information together from the last post and email it over to support@cete.com?

Thanks,
ceTe Software Support Team
 Feb 24 2010 9:41 AM
will do.
 Feb 25 2010 7:12 AM
Posted by a ceTe Software moderator
Hello,

Sorry for the delay and inconvenience caused to you. In order to do the web page conversions in Server 2003 you will need IE7 or later. In your earlier post you have mentioned that you are using IE6. Please try using the IE7 and it should solve the problem.

If you are still having any problems then please send the details to our Support Team.

Thanks,
ceTe Software Support Team.
 Feb 25 2010 10:32 AM
will do!
 Feb 26 2010 8:58 AM
okay..did that....but i get this in my pdf
' there is a problem with this websites security certificate'

it is an https site....so how do i handle this...
 Feb 26 2010 9:15 AM
Posted by a ceTe Software moderator
Hello,

There are no settings to do in order to convert https web pages. You should be able to convert https pages without any problem. Please make sure that you are able to open that page in IE without any problem. Whatever IE displays for the URL you are using, that will be converted into PDF document. If you are still having a problem then please send over the URL you are using to our Support Team so that they can look into it.

Thanks,
ceTe Software Support Team.
 Feb 26 2010 9:39 AM
it runs like a normal page...when called...
what i am doing is calling another aspx file..that calls that aspx file that i am converting.
 Feb 26 2010 9:43 AM
but....its creating a pdf...that asks for the security certificate.
 Feb 26 2010 9:52 AM
i can't send the url...its a secure site.
it runs fine..
 Feb 26 2010 2:05 PM
Posted by a ceTe Software moderator
Hello,

We tested doing a conversion of SSL site to PDF and it works perfectly fine on our end. THere appears to a problem with the SSL certificate that is being used by the web site that could be preventing it from doing the conversion successfully.

You can try converting https://www.DynamicPDF.com and see if it works for you or not.

Thanks,
ceTe Software Support Team
 Mar 01 2010 1:31 PM
it doesn' work converting your url either.   So, it must be the server, but we can't figure it out.
 Mar 01 2010 2:27 PM
Posted by a ceTe Software moderator
Hello,

What behavior are you seeing when trying to convert the ceTe URL? Can you try converting a non SSL site like http://www.DynamicPDF.com and see if the conversion is succussful?

Thanks,
ceTe Software Support Team
 Mar 10 2010 9:31 AM
when convertin any of those from the server, it hangs up.  so, it's not the aspx file, it's some setting on that server.  we think
there is something wrong with the security certificate.
 Mar 12 2010 6:57 AM
Posted by a ceTe Software moderator
Hello,

In the forum post dated Feb 26, 8:58AM you have mentioned that after using the IE7 it did not hang and you got a PDF with text "there is a problem with this websites security certificate". This means the converter product is working fine and the product is unable to access the page you are trying to convert.

You are saying that you are unable to convert the https (SSL) pages. Are you able to convert normal html pages without https?

Please try to convert a .txt file to make sure that converter is installed properly. Then try to convert a static html page. If it is fine then try to convert the Google website.

If you are having problem with only https pages then please make sure that you are able to open that page in your IE browser normally. If you are able to open it in browser then please try running the converter service from your account. You can change the account by going to the service properties and restart the service.

Thanks,
ceTe Software Support Team.
 Jan 25 2011 4:17 PM
I am trying to save in server like MyDocument.Draw("\\server\pdfoutput\abc.pdf")

I am getting below error.The referenced account is currently locked out and may not be logged on to.


I can generate in c:\ drive but not on server. Even I map this server and used Y:\\pdfoutput I am getting same error. Is any other way we can save (draw) pdf files in server. Thanks
 Jan 25 2011 4:58 PM
Posted by a ceTe Software moderator
Hello,

You are specifying the server path in the Draw() method correctly. It seems like the account with which you are running your application is locked out or does not have permissions on the server. Please make sure that the account has relevant permission to access the server resources and you will be able to save the PDF document to the server path.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 12:18 AM.