Invalid sql_drv.cfg File

When running PC School with SQL, you can log in, but then get a “User Count Exceed” or “Registration Expired Error”. The problem is not related to User Counting, or to expired licenses. This is a problem where the sql_drv.cfg file is the incorrect one. It typically occurs when a restored backup, or PC Remote installation fetches the sql_drv.cfg from the wrong location.

Normally you will find the the Flex2SQL tool provided by Mertech will run without error. If Flex2SQL runs with the same error, then using the Mertech Registration program and re-registering your license should correct the problem.

When Flex2SQL does run without error, we can be sure that the correct sql_drv.cfg file can be found in C:\Program Files\Mertech Data Systems\DB Drivers\DataFlex\bin.

Once you’ve located this file, the easiest way to correct the problem is to run a Windows File Search and look for other instances of this file. Once you’ve located the other copies of this file (usually in Visual Dataflex/Bin and/or PCSchool/Programs), simply replace them with the correct copy from the Mertech Data Systems folder mentioned above.

The above information is for users of PCSchool Student Management School Software.


About studentmanagementsoftware

Director Student Management School Software PCSchool
This entry was posted in Trouble Shooting / Error Messages. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s