This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Unable to create new project with SQL dialogs
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 19, 2012
06:15 AM
Unable to create new project with SQL dialogs
I have an existing project (created under InstallShield 2012 a year ago). This works as it should..but...
I have just tried to create a new InstallScript MSI project (in InstallShield 2012Spring) and then add the OnSQLLogin handler to my script.
N.B. I added SQLCONV.obl to the list of libraries in the build settings.
re-built the project and launced it.
As I reach the execution of the OnSQLLogin function I get the following error message.
'There was an error loading ISSQLSRV.DLL. This file needs to be loaded for InstallShield SQL operation. Verify that the file is in the SUPPORTDIR directory. Setup will now terminate.'
I have just installed InstallShield 2012Spring.
This left InstallShield 2012 still installed.
I have tried exectly the same project creation in InstallShield 2012 and get exeactly the same error.
Q. Am I missing a further addition to any project settings ?
I noticed that the 'Binary' table was missing the following line:
ISSQLSRV.DLL [Binary Data]\redist\language independent\i386\issqlsrv.dll.
When I add it I get a different error:
'Error Number: 0x80040707 Description: DLL function call crashed: ISSQLSRV.ISSQLServerGetConnections'
This seems to imply the dll is now being found.
I noticed there are several more lines missin in other tables when comparing the new project with an existing one that still works.
Q. Has something changed in how the editor changes the project when the SQL reqirements are added. i.e. Is this a bug !
I have just tried to create a new InstallScript MSI project (in InstallShield 2012Spring) and then add the OnSQLLogin handler to my script.
N.B. I added SQLCONV.obl to the list of libraries in the build settings.
re-built the project and launced it.
As I reach the execution of the OnSQLLogin function I get the following error message.
'There was an error loading ISSQLSRV.DLL. This file needs to be loaded for InstallShield SQL operation. Verify that the file is in the SUPPORTDIR directory. Setup will now terminate.'
I have just installed InstallShield 2012Spring.
This left InstallShield 2012 still installed.
I have tried exectly the same project creation in InstallShield 2012 and get exeactly the same error.
Q. Am I missing a further addition to any project settings ?
I noticed that the 'Binary' table was missing the following line:
ISSQLSRV.DLL [Binary Data]
When I add it I get a different error:
'Error Number: 0x80040707 Description: DLL function call crashed: ISSQLSRV.ISSQLServerGetConnections'
This seems to imply the dll is now being found.
I noticed there are several more lines missin in other tables when comparing the new project with an existing one that still works.
Q. Has something changed in how the editor changes the project when the SQL reqirements are added. i.e. Is this a bug !
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 19, 2012
07:50 AM
I read your article (Using SQL Dialogs with DIM Projects)
I tried adding a dummy SQL Connection and that seems to make it all work again.
It removes the library reference when I remove the SQL Connection, so I guess I shall have to leave it in for now 😞
Hope you will be releasing an SP1 for 2012 Spring with fiexes for these things !
I tried adding a dummy SQL Connection and that seems to make it all work again.
It removes the library reference when I remove the SQL Connection, so I guess I shall have to leave it in for now 😞
Hope you will be releasing an SP1 for 2012 Spring with fiexes for these things !