Skip navigation
lcisawesome
Currently Being Moderated

CreateDesktop, ERROR CODE = 5, Access is denied. WTF!

Jun 5, 2010 10:21 PM

2010-06-06 01:00:17,819 INFO  [com.adobe.pdfg.GeneratePDFImpl] ALC-PDG-001-000-
Job ID for the submitted createPDF job =File.pdf409521-3f3c2f-479b06-b279af-1e90c4-144464
2010-06-06 01:00:17,944 INFO  [com.adobe.pdfg.BMCCaller] ALC-PDG-001-024-File.pdf: Time Job Submitted: 6/6/10 1:00 AM for job = File.pdf409521-3f3c2f-479b06-b279af-1e90c4-144464
2010-06-06 01:00:17,946 INFO  [com.adobe.pdfg.BMCCaller] ALC-PDG-001-017-File.pdf: Job Submitted by User: usersystemcontext
2010-06-06 01:00:17,947 INFO  [com.adobe.pdfg.BMCCaller] ALC-PDG-001-016-File.pdf: Job Type: Convert to PDF
2010-06-06 01:00:17,954 INFO  [com.adobe.pdfg.BMCCaller] ALC-PDG-001-022-File.pdf: Security Settings Used: No Security
2010-06-06 01:00:17,955 INFO  [com.adobe.pdfg.BMCCaller] ALC-PDG-001-023-File.pdf: FileType Settings Used: Standard OCR
2010-06-06 01:00:18,131 INFO  [com.adobe.truststore.crypto.CryptoUtil] encryptBytes: Building secret key for length: 16
2010-06-06 01:00:18,154 INFO  [com.adobe.pdfg.BMCCaller] ALC-PDG-001-021-File.pdf: PDF Settings Used: C:\Users\Administrator\AppData\Local\Temp\pdfg-Administrator\a4\d34d- f7fa82-0d461f-5bbe47-ca5759-448964\pdfg PDFX1a 2001 1595459538722554337.joboptions
2010-06-06 01:00:18,260 INFO  [com.adobe.service.ImpersonatedConnectionManager] Service Native2PDFSvc: Resource ProcessResource@4444eaad(name=pdfgen.exe,pid=0) acquired credential Administrator
2010-06-06 01:00:18,261 INFO  [com.adobe.service.ProcessResource] BMC505: Service Native2PDFSvc: Starting native process with command line C:\Adobe\Adobe LiveCycle ES2\jboss\server\lc_turnkey\svcnative\ServicesNatives2\bin\ProcessLau ncher.exe Administrator - "C:\\Adobe\\Adobe LiveCycle ES2\\jboss\\server\\lc_turnkey\\svcnative\\Native2PDFSvc\\bin\\dll\\p dfgen.exe" PDF-NA8d6e70002 True -WinStaName WinSta0 -DeskName PDF-NA8d6e70002 -beginExecutable "C:\\Adobe\\Adobe LiveCycle ES2\\Java\\32bit\\jdk1.6.0_14\\bin\\javaw.exe" -endExecutable -Xmx64m -cp "C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-appmon. jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-bslj.ja r;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-csa.jar ;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-generat epdf-client.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-pdfg-co mmon-jaxb.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-pdfg-co mmon.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-pdfg-co mmonbmc.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-pdfg-id l-bmc-websphere.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-pdfg-id l-bmc.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-utiliti es.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/avalon-framew ork-4.1.5.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/comfyj-2.4.ja r;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jacorb.jar;C: /Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jaxb-api.jar; C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jaxb-impl.jar ;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jaxb-libs.jar ;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniw2.9.5_acr obat1.1.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniw2.9.5_aut ocad1.1.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniw2.9.5_aut ocad2007.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniw2.9.5_exc el1.3.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniw2.9.5_pdf mapi1.0.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniw2.9.5_pro ject4.4.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniw2.9.5_pub lisher1.0.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniw2.9.5_vis io4.a.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniw2.9.5_wor d8.1.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniwrap-3.6.1 .jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/logkit-1.2.ja r;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/namespace.jar ;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/Native2PDFCon verterServer.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/winpack-3.6.j ar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/ServicesNatives2/jars/adobe-bsl j.jar" com.adobe.native2pdf.bmc.Native2PDFConverterServer -IOR IOR:000000000000002249444C3A636F6D2F61646F62652F736572766963652F4D616 E616765723A312E300000000000000200000000000000F4000102000000000F3139322 E3136382E31302E31303300000DC8000000000018373737343632393433352F42522D3 92F0100000000000000000000050000000000000008000000004A41430000000001000 0001C00000000050100010000000105010001000101090000000105010001000000210 000006400000000000000010000000000000024000000220000007E000000000000000 10000000F3139322E3136382E31302E31303300000DC90040000000000000000000000 0100401000806066781020101010000000000000000000000000000000000000000000 0002000000004000000000000001F00000004000000030000000100000020000000000 00000020000002000000004000000000000001F0000000400000003   -AppServer jboss
2010-06-06 01:00:18,555 INFO  [STDOUT]

 

ERROR: API        = CreateDesktop
2010-06-06 01:00:18,555 INFO  [STDOUT]        ERROR CODE = 5
       MESSAGE    = Access is denied.
2010-06-06 01:00:18,563 WARN  [com.adobe.service.ProcessResource] BMC024: Service Native2PDFSvc: Process ProcessResource@4444eaad(name=pdfgen.exe,pid=0) terminated abnormally with error code {3}
2010-06-06 01:00:18,565 INFO  [com.adobe.service.ImpersonatedConnectionManager] Service Native2PDFSvc: Resource ProcessResource@4444eaad(name=pdfgen.exe,pid=0) returned credential Administrator
2010-06-06 01:00:18,576 INFO  [com.adobe.service.ImpersonatedConnectionManager] Service Native2PDFSvc: Resource ProcessResource@7bac79bf(name=pdfgen.exe,pid=0) acquired credential Administrator
2010-06-06 01:00:18,578 INFO  [com.adobe.service.ProcessResource] BMC505: Service Native2PDFSvc: Starting native process with command line C:\Adobe\Adobe LiveCycle ES2\jboss\server\lc_turnkey\svcnative\ServicesNatives2\bin\ProcessLau ncher.exe Administrator - "C:\\Adobe\\Adobe LiveCycle ES2\\jboss\\server\\lc_turnkey\\svcnative\\Native2PDFSvc\\bin\\dll\\p dfgen.exe" PDF-NA8d6e70002 True -WinStaName WinSta0 -DeskName PDF-NA8d6e70002 -beginExecutable "C:\\Adobe\\Adobe LiveCycle ES2\\Java\\32bit\\jdk1.6.0_14\\bin\\javaw.exe" -endExecutable -Xmx64m -cp "C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-appmon. jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-bslj.ja r;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-csa.jar ;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-generat epdf-client.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-pdfg-co mmon-jaxb.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-pdfg-co mmon.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-pdfg-co mmonbmc.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-pdfg-id l-bmc-websphere.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-pdfg-id l-bmc.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/adobe-utiliti es.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/avalon-framew ork-4.1.5.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/comfyj-2.4.ja r;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jacorb.jar;C: /Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jaxb-api.jar; C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jaxb-impl.jar ;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jaxb-libs.jar ;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniw2.9.5_acr obat1.1.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniw2.9.5_aut ocad1.1.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniw2.9.5_aut ocad2007.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniw2.9.5_exc el1.3.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniw2.9.5_pdf mapi1.0.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniw2.9.5_pro ject4.4.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniw2.9.5_pub lisher1.0.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniw2.9.5_vis io4.a.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniw2.9.5_wor d8.1.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/jniwrap-3.6.1 .jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/logkit-1.2.ja r;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/namespace.jar ;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/Native2PDFCon verterServer.jar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/Native2PDFSvc/bin/winpack-3.6.j ar;C:/Adobe/Adobe LiveCycle ES2/jboss/server/lc_turnkey/svcnative/ServicesNatives2/jars/adobe-bsl j.jar" com.adobe.native2pdf.bmc.Native2PDFConverterServer -IOR IOR:000000000000002249444C3A636F6D2F61646F62652F736572766963652F4D616 E616765723A312E300000000000000200000000000000F8000102000000000F3139322 E3136382E31302E31303300000DC8000000000019373737343632393433352F42522D3 1302F0100000000000000000000000000050000000000000008000000004A414300000 000010000001C000000000501000100000001050100010001010900000001050100010 00000210000006400000000000000010000000000000024000000220000007E0000000 0000000010000000F3139322E3136382E31302E31303300000DC900400000000000000 0000000001004010008060667810201010100000000000000000000000000000000000 000000000002000000004000000000000001F000000040000000300000001000000200 0000000000000020000002000000004000000000000001F0000000400000003   -AppServer jboss
2010-06-06 01:00:18,623 INFO  [STDOUT]

 

ERROR: API        = CreateDesktop
2010-06-06 01:00:18,623 INFO  [STDOUT]        ERROR CODE = 5
       MESSAGE    = Access is denied.

 
Replies
  • Currently Being Moderated
    Jul 22, 2010 8:24 AM   in reply to lcisawesome

    Did you ever find a resolution to the original problem (the CreateDesktop, Error Code 5, Access is denied. problem)?

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 22, 2010 9:30 AM   in reply to gilgoodridge

    I find that I'm having this problem only when I run the turnkey install as a service.  As soon as I tried running it from the command line (run.bat -c lc_turnkey -b 0.0.0.0) everything worked fine.  I also found that when I run it as a service using "Local System account" it works fine.  But when running it under a specific domain account, it doesn't work.  Any thoughts?

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 22, 2010 9:47 AM   in reply to gilgoodridge

    In this case LiveCycle is trying to execute the native program (such as Microsoft Office) by using the account under which the JBoss server is running.  Most likely the domain account is not permitted to either run the native program, or the services that LiveCycle uses to call the native program.

     

    Try adding the domain account to the administrators group under Windows and see if that helps.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 22, 2010 10:23 AM   in reply to Hodmi

    When I run it using "run.bat" I'm signed on as the exact same user that I configured to run the service as (which is the same user that I installed everything as).  When I set the service to run as "Local System account" with the "Allow service to interact with desktop" it seems to work (but other things don't work because "Local System account" doesn't have access to the network shares).

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 22, 2010 10:25 AM   in reply to gilgoodridge

    And I should add that the user in question is in the administrator group (and the original person that started this thread was actually "administrator").  So, it's not an administrator/non-administrator issue.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 23, 2010 11:45 AM   in reply to gilgoodridge

    I have further information on my symptoms.  I found that if I first run the service as "Local System", convert a document, and then restart the service using my user account (who is in the Administrators group)... everything works fine.  In fact, I can keep restarting the service and everything will work great.  However, as soon as I completely reboot the server, the problem starts happening again.  So, I have to unnacceptable work-arounds:

     

    1. Start LiveCycle using "run.bat" from a command line.  This works fine.  However, the next time the computer reboots I'll have to go to a command prompt and start LiveCycle back up again.  Also, I can't close the terminal or it will stop JBoss/LiveCycle.  So, this isn't acceptable at all.

     

    2. Start LiveCycle under windows services using "Local System" and then restart it using my administrator account.  This isn't acceptable because the next time the computer is rebooted I have to remember to restart the service two different ways before it will work correctly.

     

    I've checked to make sure that I've set "Admin Approval Mode" to "Elevate without prompt" (per "Preparing to Install LiveCycle ES2 (Single Server)" on page 26).  I've also checked to make sure that I've disabled Windows UAC (per page 27 of that same document).  I've also checked to make sure that my user is in the Administrators group.  I've also checked to make sure that I've granted the "Replace a process level token privilege" to the user (per page 36 of that same document).

     

    The problem appears to be something with the way permissions within CreateDesktop works in Windows Server 2008.

     

    Has anyone else seen this problem?  lcisawesome... are you still seeing this problem?  We've been working with Adobe support for nearly two months now and they can't figure it out either.  Not sure where to go from here... any suggestions?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 25, 2010 1:46 PM   in reply to gilgoodridge

    I'm having the same problem.  I have 2 LCES2 environments and only the one behind the firewall (with no internet access and Symantec running) has this problem.  Has Adobe provided a solution or recommendation?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 26, 2010 5:59 AM   in reply to s_stuff

    For our specific problem, Adobe claims that the fix will be in ES2 SP2.  You should probably talk to Adobe about when that will be released and whether the fix will also solve your problem.  I don't want to give you any incorrect information.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points