Skip navigation
Currently Being Moderated

Connection for Source failed because the environment is not trusted

Oct 4, 2011 9:04 AM

Good day all,

 

This is the second time I come across this error on two different forms.

 

This happens whenever I have a form connected to my database(SQL) and configured my ODBC.

 

My form is Reader Extended, when I load it outside LC Designer I get this error : "Connection for Source failed because the environment is not trusted".

 

I have searched for solution, one that I saw says one must change bindings from None to Normal, I've done that and didnt solve my problem.

 

Can someone please assist me.

 

Regards,

 

Ace

 
Replies
  • Currently Being Moderated
    Oct 4, 2011 9:46 AM   in reply to SirAce

    How did you Reader Extend the form?

    If you extend using the Server software, then you have option to connect to database and webservice.

    But if you do it with Acrobat PRO, you do not have that option.

     

    Try opening the same form in Acrobat PRO instead of Adobe Reader and try the database connectivity.

     

    Thanks

    Srini

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 4, 2011 10:59 AM   in reply to SirAce

    Check the two below links and see if they can be of any helpful to resolve your issue.

     

    In this thread Paul is asking to change the DSN setting.

    "If you set up your DSN as a system DSN instead of a user DSN then that message shoudl disappear."

    http://forums.adobe.com/message/2873482

     

     

    In the below blog, Steve is mentioning to clone the connection to get rid of the issue.


    You should be able to get around this by changing this line:

    var oDB = xfa.sourceSet.nodes.item(nIndex);

     

    to this:

    var oDB = xfa.sourceSet.nodes.item(nIndex).clone(1);

    http://forms.stefcameron.com/2006/10/12/displaying-all-records-from-an -odbc-data-connection/

     

    Thanks

    Srini

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 4, 2011 2:07 PM   in reply to SirAce

    May be Paul or some one can answer this.

     

    Thanks

    Srini

     
    |
    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