Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Expert Access 2007 Programming ISBN 978-0-470-17402-9
This is the forum to discuss the Wrox book Expert Access 2007 Programming by Rob Cooper, Michael Tucker; ISBN: 9780470174029
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Expert Access 2007 Programming ISBN 978-0-470-17402-9 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 29th, 2009, 02:54 PM
Registered User
Join Date: Oct 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trust error on deployment?

Hey All,

Im trying to build a deployment MSI of a fairly complex Access app for non techncial types to use. The app uses VBA, some ActiveX, and an external ribbon XMl file. I want it to install with the runtime so non Access owning users can use the app.

The problem i am having is that when I install it on a fresh system and try to run it, it comes back with a 2950 error, which MSFT has documented as a trust error when trying to run VBA code.

The MSFt article on the package Solution Wizard says it can add the installed directory as trusted location, but this doesn't seem to be happening and I cant find any flag anywahere to make it happen.

Reply With Quote
  #2 (permalink)  
Old October 29th, 2009, 03:56 PM
Registered User
Join Date: Oct 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Addenedum... it doesnt seem to be a trust problem, but as problem in specific calling the RunCode macro operation.

My trust check, which occurs before this in macro sequence, passes fine....

Last edited by JeffPK; October 29th, 2009 at 04:41 PM..
Reply With Quote
  #3 (permalink)  
Old October 30th, 2009, 03:01 PM
Registered User
Join Date: Oct 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Further info.

VBA scripts run fine in this app. As do macros.

The ONE thing it throws up on is the AutoExec calling RunCommand to run code that installs a ribbon from a file. And it only throws up on it when deployed in the Access Runtime.
Reply With Quote
  #4 (permalink)  
Old November 2nd, 2009, 04:15 PM
Registered User
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Runtime errors

Hello Jeff,

The problems I have experienced with Access 2007 runtime seem to relate to unsupported options in runtime like the ability to hide navigation pane if this is hard code. This functionality is not supported by the runtime engine probably because the runtime engine does not display the navigation window.
My suggestion is to look what code you run at start up and take out one segment each time to see which part of the code causes your problem.

Kind regards,

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Full Trust vs Partial Trust Problem dparsons C# 1 May 11th, 2007 10:10 AM
Error on Deployment DureSameen BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 February 21st, 2007 05:36 AM
Deployment tool error hemanthb2005 J2EE 0 December 18th, 2005 08:28 AM
Deployment Error BSkelding Pro VB.NET 2002/2003 0 June 3rd, 2004 08:26 AM
Deployment error amrev VS.NET 2002/2003 0 September 22nd, 2003 02:31 AM

All times are GMT -4. The time now is 09:06 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.