Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.


Authorization failure. Invalid attempt to connect.

Authorization failure. Invalid attempt to connect.

Dear listers,

I am having problems when connecting to my Mimer SQL 9/10 database.

I am using Mimer Data Provider 9.4.2A from my .NET application to connect. Additionally, I am using a VAR key, which I include in the connection string "...; varid=my-company-id; vac=xxx", where the xxx is obtained from a P/Invoke call to a GetVac() method in an object file we have received from Mimer.

I repeatedly open and close the connection in my application. Initially, connecting to the database works fine. However, after a few connection operations, I often get the following Mimer exception: "Authorization failure. Invalid attempt to connect." Why?

I am not sure if it is a coincidence, but the failure often seems to happen after I have temporarily activated another application.

Previously, I did not use a VAR key to connect, but I relied on the developer license that is included in the Mimer SQL installation kit. Using this license, I have never experienced the above error message. Thus, it seems that the authorization failure is in some way related to the VAR key, but I cannot figure out how.

Any help is highly appreciated.

Anders Gustafsson

RE: Authorization failure. Invalid attempt to connect.

The error message you get indicates there's a problem somewhere in the VAR connect process. I suggest you contact the Mimer support directly, they'll be able help you solving this!

RE: Authorization failure. Invalid attempt to connect.

Thanks for the confirmation that the error is in the VAR connect process. I have now been able to investigate further, and the problem was a silly mistake from my side. I only requested the VAC number once when I start the application. Since this number only enables a time-limited license, connection will fail after a few minutes. Lesson learned, I will not do this mistake again smile

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close