What does "The Parameter is Incorrect" mean in a message box in Access?

Hello Everyone,

I have an Access 2010 program that when the user opens it, it looks to see if a newer version is on our Azure server.  If a newer version exists the program will close, update to the newer version and then reopen.

SO far it has worked flawlessly...until now.  A user installed it on a windows 8 machine.  When they open the file, instead of looking for the newest version and updating I get a small Microsoft Access error box that says "The Parameter is Incorrect".

It will not update to the newest version.  I do not even know where to look.  Like I said, no other computer has an issue, they all update properly.

Could the problem be in the shortcut command?  Could it be in the vba code?

If you need to see more I can do that.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Can you show the update code, and the code where you look for the newer version.
Boyd (HiTechCoach) Trimmell, Microsoft Access MVPDesigner and DeveloperCommented:
I agree with Scott the we need more detail on the update process.

Also, does it work on any other Windows 8 PC?

Also what version of Access? And Is it the full or runtime?

The Parameter is Incorrect might be caused but the database not being in a trusted location?
alevin16Author Commented:

I have attached a text file of the parts of the code I think you would need.  The last chunk (under the double dotted lines) I do not think it ever gets to because I see no messages about a new version being there.

The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

alevin16Author Commented:
SOrry Boyd I forgot to answer your questions

1. It is not on any other machine that has windows 8.  SO far this would be the only one
2. It is Access 2010, and on this machine it would be the runtime, the machine itself does not have Access
3. I am not sure how I find the trusted location when it does not have a full version of Access.  Would it be in the registry somewhere?

Gustav BrockCIOCommented:
You may have to create a small debugging app that does the download to track this down.

I can recommend installing your application in a subfolder of yours under %localappdata%. This works even in a Citrix environment without setting anything in the Access app not to say writing the Registry.

Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Regarding Trusted Locations, see this article for various ways of setting them up:


This could also be caused by user permissions, depending on how tightly locked the Win8 machine is. A few things to check might be:

Can you manually navigate to the location defined in your variable:  "http://" & AZURE_IP & "/" & strFilename

If your log_LogMessage writes to a Text file, then be sure users have sufficient permissions to write to that location.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
alevin16Author Commented:
These are great ideas to try!  I will have access to the machine tomorrow (the person is away at a conference.  Wish me luck!

alevin16Author Commented:
The Registry was already set correctly from an earlier time (I forgot I did that) but when Scott talked about trust and such we looked further and windows 8 needed us to verify that the user that was logged on was the correct user.  We verified and it worked!
Boyd (HiTechCoach) Trimmell, Microsoft Access MVPDesigner and DeveloperCommented:
Curious, Are you saying it was an authentication issue with the AZURE site or something else?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.