How to disable access security notice “A Potential

2019-01-26 09:38发布

问题:

i have a shared access application, i created an accde file for 32-bit machine, when user open the application he/she getting a security warning

is there any way to disable this message from appearing to the users

thank you

回答1:

You have to set their computer to be a trusted source. In order to get around this issue, you will need to create a Digital Certificate. Digital Certificates are good only on the computer they are created on, so if this database will be used on multiple computers then each one will have to create a Digital Certificate.

To do this, you will need to perform the following tasks:

  1. Click on Start -> All Programs -> Microsoft Office -> Microsoft Office Tools -> Digital Certificate For VBA Projects (If you don’t have this, you will need to contact your IT Dept.)

  2. Enter a Certificate Name. Make it obvious like MyProgramName and Click OK

  3. Open the Access database which contains the security warning you want to bypass
  4. Go into the Design View of any Module
  5. Click on Tools -> Digital Signature
  6. Choose your Digital Certificate you created in Step 2
  7. Save and close the database
  8. Re-Open the database. You will now be prompted with a different Security Warning that states the file has been digitally signed.
  9. Check off the “Always trust files from this publisher…” box and click the Open button
  10. All subsequent times you enter this database, you will not be prompted with a security warning.

Note - I wrote the above for our company based on Office 2003. If you're using a more recent version, the instructions may vary somewhat.



回答2:

other way is following:

  1. click on file and then options

  2. click on trust center and then trust center settings on the right

  3. then click on trusted locations and add new location

  4. browse for the location and save.

that's it.. done.. now no more warnings..



回答3:

That is a standard warning to indicate the file you are opening has web links and macros. If you trust the file, just say OK or “Allow”

You can control if this message is displayed: Office button > Excel Options button > Trust Center > Trust Center Settings button (I have no idea why they have this extra button, DUMB DESIGN! )

More Information can be found here



回答4:

I have an Access database that processes other Access databases. I get OP's error when connecting to one of the other Access databases. To fix the issues, I opened the other Access database and clicked Enabled Content. Then, the Access database is trusted and OP's error doesn't occur when connecting to that Access database from another Access database.



回答5:

If anybody else have this problem, it happened to me, with a shared file on a network environment, and the simplest solution was to install Microsoft Office service pack 2, even better is having automatic updates for Office turned on. You can find it here.