Previous Topic Next topic Print topic


Running the Sample Program

When you have completed the above steps for creating your configuration file and preparing your environment, you are ready to create the new database table. Start Studio Enterprise Edition from the Visual Studio command prompt using the devenv command.

Run your application in Studio Enterprise Edition and step through the code. Upon successful creation, a new table is created in Studio Enterprise Edition.

Errors You May Encounter

When you come to the line OPEN OUTPUT ACCT-OUT, you may receive the error message File Error:9k. Check the log files that were created in the directory pointed to by mftrace.emitter.TEXTFILE#location = C:\DataConnectors\Test\logs, for the following:

init_connection
Trying to open a connection to server MyBadServer
report_status called from 1176
[1] 08001 17 – [DBNETLIB]SQL Server does not exist or access denied.
[2] 01000 53 – [DBNETLIB]ConnectionOpen (Connect()).

where MyBadServer is the value set in your configuration file for A-MSSQL-DEFAULT-CONNECTION.

Previous Topic Next topic Print topic