Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
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.

Help??
 
Old October 29th, 2009, 03:56 PM
Registered User
 
Join Date: Oct 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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..
 
Old October 30th, 2009, 03:01 PM
Registered User
 
Join Date: Oct 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
 
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,

Arkie





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





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