I'm posting the following as a POSSIBLE solution to an issue I had. I will let the experts pick this apart. If I'm way off I apologize...I just wanted to share this in case it is valid and potentially help others.
Recently I tried to access a development database from my NAV File dropdown of recently accessed databases. I clicked on 'TestDBOne' and got the error "ODBC SQL Server Driver: Database is invalid or cannot be accessed. State ID: HY024."
I searched mibuso on 'HY024' and only found one link that did not seem to apply to my situation. I checked SQL Server Management Studio and saw that TestDBOne and another SQL Reporting Services database were missing the '+' to the left under Databases...there was nothing but the database name, no tables, no data. :shock:
I googled HY024 outside mibuso and did not find a clear direction to take. On a hunch I right clicked the affected database in SQL Server Management Studio and selected properties and got another error, SQL error 945. I searched on the 945 error and found a non-NAV site that suggested restarting the SQL sever as step #1. I did so and had access to the NAV and SQL Reporting Services databases right away (the '+' to see the database detail had returned).
I don't know the reason for the corruption, but I just wanted to make sure anyone who has an issue like I had doesn't give up on days or weeks of hard work. Here's the 945 error link I used.
http://www.lcard.ru/~nail/sybase/error/9744.htm
Comments
Maybe it's the same error code and error solution
This might also be the case for you since the SQL Server restart will kill all connections, then you can access it with a single connection again (but no more).
Check the access status of the database, from Management Studio or from NAV.
This posting is provided "AS IS" with no warranties, and confers no rights.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
dmccrae: where do you check the access status in Management Studio?