Hi,
I set up a test environment to mimic a clients live environment for the purpose of API development.
Test Environment
- Windows 2012R2 standard (Build 9600) evaluation with 170days left
- SQL Server 2016 Developer - 13.0.5102.14 (X64)
- Visual 9.0.3 full install
- Visual API Toolkit version 161 installed; test database registered and all tests successful
- Visual Studio Community 13 installed
I created a simple C# form application to connect to the database copying the code/steps from the API toolkit video. It works in the live environment but not in my test setup. I get the error message "Instance <DBNAme> not defined and cannot be opened".
1. The database.config file is in the same folder as the C# project.
2. The connection is setup for SYSADM
3. The Test function for that test database all show success on VmfgConfigForms.exe
4. Log in to Visual as SYSADM works
5. Database name is 8 characters long
I contacted Infor support but still haven't found a solution.
I attached the code. In Visual Studio running x86 CPU. I also ran procmon.exe while running the app to see what was blocking but can't really decipher the results.
[View:/cfs-file/__key/communityserver-discussions-components-files/5/API_5F00_connect.txt:320:240]
Any help appreciated.