SQL Error: HY024

Navision Articles

Get our Free Newletter

Don't you have the time to be online here at DUG every day? So how do you follow what is going on in the Dynamics industry and community?
If you subscribe to the DUG Newsletter then you can relax! We will make sure that you don't miss the big news!

Check out our
Newsletter Subscription Center
page a complete list of our different newsletters.

Solution (Verified) This post has 1 verified solution | 16 Replies | 1 Follower

Top 10 Contributor
Male
5,053 Posts
94,835 Points
Joined: Oct 1, 1995
Last Online:
Mar 22, 2010 12:46
Location: Copenhagen, Denmark
DynamicsNAVMVP
Moderator
SystemAdministrator
Erik P. Ernst posted on Oct 16, 2002 18:11
How helpful was this post/question? Please rate here:

Does anyone know what this error means: Error: [Microsoft][ODBC SQL Server Driver]Database is invalid or cannot be accessed. State ID: HY024




It comes when I'm trying to upload a new license file to the server from the Attain 3.60 client.

Best regards,
Erik P. Ernst

DUG’s Admin's Blog

Don't forget to "Verify Solution" the post(s) that solved your problem. This credits the experts who helped, earns you points and marks your thread as Resolved so we all know you have been helped.

Solution (Verified) Verified Solution

Top 25 Contributor
Male
808 Posts
5,920 Points
Joined: Jul 3, 2001
Last Online:
Feb 2, 2010 19:23
Location: Vedbæk, Denmark
MicrosoftEmployee
Solution (Verified) Dean McCrae replied on Jul 15, 2008 16:30
How helpful was this comment/solution? Please rate here:
Verified by Erik P. Ernst

An update 5 years later...

This can occur when the user attempting to perform the Upload of the license is not a member of db_owner in the NAV database.

The connected user must both be a db_owner, and also have UPDATE permission to the [$ndo$srvproperty] table in the master database, in order to upload a server license. Of course, any higher permissions is ok too, such as sysadmin.

 

This posting is provided "AS IS" with no warranties, and confers no rights.

All Replies

Top 10 Contributor
Male
5,053 Posts
94,835 Points
Joined: Oct 1, 1995
Last Online:
Mar 22, 2010 12:46
Location: Copenhagen, Denmark
DynamicsNAVMVP
Moderator
SystemAdministrator
Erik P. Ernst replied on Mar 20, 2009 22:37
How helpful was this comment/solution? Please rate here:

Hi Dean,

Thank you. Even though this is over 6 years ago now, then I do know that the database was not in "single-user" mode. But I do know that there was other users online, also that there was more than one user online. But that's all.

Best regards,
Erik P. Ernst

DUG’s Admin's Blog

Don't forget to "Verify Solution" the post(s) that solved your problem. This credits the experts who helped, earns you points and marks your thread as Resolved so we all know you have been helped.

Not Ranked
Male
4 Posts
20 Points
Joined: Feb 1, 2000
Last Online:
Aug 28, 2009 10:51
Location: Denmark
frede replied on May 14, 2009 11:42
How helpful was this comment/solution? Please rate here:

Big Smile

Super Thx....Just couldn't understand why I wasn't able to create new Windows User for my new Romainian NAV Database! It was in Single User-mode because I had to change the sorting...

You just saved the day!!!

It's fantastic how good people contributing to such forums can help "the rest of the world". Thank you again!!!

Regards, Henrik Frederiksen, Denmark
Page 2 of 2 (17 items) < Previous 1 2 | Get this RSS feed | Bookmark and Share

Related Posts

    No Related Posts