running RegForm js, get "Access is Denied" - InfoPath Dev
in

InfoPath Dev

running RegForm js, get "Access is Denied"

Last post 10-29-2011 04:46 AM by leGeneral. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 02-11-2009 03:13 PM

    running RegForm js, get "Access is Denied"

     Hi,

    I am using InfoPath 2003 SP2 and do not have access to Sharepoint development.

     

    I want to do something fairly straight forward:

       1. Build InfoPath form template with a database connection
       2. Send a form (or template, whichever) to a person outside the network (e-mail, ftp, website, thumbdrive, whatever)
       3. Have the person fill out the form (or create one from the template and fill it out)
       4. Deliver it back to the network
       5. Have the data submitted to the database

    To that end I am using the RegForm tool to create a fully trusted template.

        * Create a form template with a database table as the Main connection.
        * Save the form template.
        * Test form template using “Preview Form”.
        * Use RegForm /U urn:MyForm:MyCompany /T Yes C:\infoPath\ShoppingList.xsn

                (Returns Building scripts…Completed.)

        * Run ShoppingList.js

              (Returns “An error occurred while attempting to register the form: The following form template cannot be registered: C:\infoPath\ShoppingListC.xsn Access is denied)

    I've tried this on a machine on which I have full admin privalages, I've turned off all indexing services, have re-created several templates always with the same results.  Any suggestions for solving the immediate RegForm problem or the overall distributing a form outside a network solution? Thanks in advance!
  • 11-06-2010 03:03 PM In reply to

    • JCB82
    • Not Ranked
    • Joined on 07-13-2010
    • Saint Lucia
    • Posts 1

    Re: running RegForm js, get "Access is Denied"

     Hi, I'm getting the same problem. I'm on a Vista x64 Home Premium machine if that matters.

     Did you find a solution?

  • 10-25-2011 11:33 AM In reply to

    Re: running RegForm js, get "Access is Denied"

    hi, I receive the same error message on my Win7 x64. Did you or anyone solve this problem? I tried a lot but can't figure out whats going wrong.
  • 10-25-2011 12:29 PM In reply to

    Re: running RegForm js, get "Access is Denied"

    Have you tried using the Run as Administrator option when opening the command console?

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 10-25-2011 01:28 PM In reply to

    Re: running RegForm js, get "Access is Denied"

    Yes I created the .js as an administrator.
  • 10-25-2011 11:09 PM In reply to

    Re: running RegForm js, get "Access is Denied"

    Ok, but did you actually run the JS as an administrator?  And not just while logged in as a user with admin privileges, but specifically running the script with elevated privileges?

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 10-29-2011 04:46 AM In reply to

    Re: running RegForm js, get "Access is Denied"

    Thank you. I successfully registered the form. To excecute the script with "run as administrator" solved the problem.
Page 1 of 1 (7 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.