asna.com Sign In
DataGate Error: Database Name not found on Vista, Windows 2008 Server 

SUMMARY

Windows Vista and Windows 2008 Server both use a different security model compared to previous version of Windows.  One of the new features prevents even Administrator credentials from writing to the registry automatically.  To correctly install or register ASNA products on Vista or Win2008 server you must right click on the installation package or Registration Assistant and choose "Run as Administrator".

SYMPTOMS

When compiling an application the following error displays "error VR2820: Could not open database '*Public/xx'. DG Error: Database Name not found" although there is a valid connection in Database Manager.

CAUSE

The User Account Control (UAC) which is new with Windows Vista and Windows 2008 prevents the automatic installation of unauthorized applications.  When Database Manager is opened without running "Run as administrator" and a database is create.  The entry to the registry does not get written which causes the error.     

RESOLUTION

Open Database Manager right click on the option and select "Run as Administrator", then delete the database name and re-add it.

 

Related Articles
Article Downloads
 
Keywords:
Vista, Windows 2008 Server, DataGate
Article ID: 482 
Category: ASNA DataGate; ASNA DataGate : Installation and Registration; ASNA DataGate : ASNA DataGate for System i; ASNA DataGate : ASNA DataGate for Windows Servers and Desktops; ASNA DataGate : ASNA DataGate for SQL Server 
Applies To: DataGate 
Article Date: 1/16/2009