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
- :
- SQL Server Build Error
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 14, 2008
10:13 PM
SQL Server Build Error
I'm doing dynamic reflection of emitting of SQL scripts at build time. Things have been fine until recently this error message came up during the core build phase:
Class table successfully built
Extension table successfully built
ODBCDataSource table successfully built
ODBCDriver table successfully built
ISDEV : fatal error -7086: An error occurred while encrypting the SQL Script file '%s'
SB-OLG-SVC-DC-REAPER3\Release - 1 error(s), 0 warning(s)
I get through the pre-build automation phase without errors. The problem comes up during the build phase.
Anyone ever see this before?
Class table successfully built
Extension table successfully built
ODBCDataSource table successfully built
ODBCDriver table successfully built
ISDEV : fatal error -7086: An error occurred while encrypting the SQL Script file '%s'
SB-OLG-SVC-DC-REAPER3\Release - 1 error(s), 0 warning(s)
I get through the pre-build automation phase without errors. The problem comes up during the build phase.
Anyone ever see this before?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 15, 2008
10:20 AM
I found the source of the problem. One of my DBA's checked in a 0 byte SQL file. The automation interface allowed it to be added but the compiler failed with very little useful information.
As a workaround I'll have to write some code in my build automation to validate the SQL script. I'm not sure if the requirement should be not empty, contains USE, contains GO .... ectera.
As a workaround I'll have to write some code in my build automation to validate the SQL script. I'm not sure if the requirement should be not empty, contains USE, contains GO .... ectera.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 15, 2008
10:58 AM
I filed the work order #IOC-000075090 so that an appropriate build error message will be given in a future release.
Thank you for reporting this.
Thank you for reporting this.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 15, 2008
12:48 PM
Thanks, another question for you. Does it matter (from a build perspective) if my DBA's check in UNICODE or ANSI files?
When I was troubleshooting the previous problem I was clicking on the scripts to make sure they were there and I had a pop-up talking about converting from unicode to ansi.
BTW, can you comment on the minimum expected data? USE, GO, anything goes?
When I was troubleshooting the previous problem I was clicking on the scripts to make sure they were there and I had a pop-up talking about converting from unicode to ansi.
BTW, can you comment on the minimum expected data? USE, GO, anything goes?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 15, 2008
01:12 PM
If SQL scripts contain non-English strings such as Japanese, I recommend that you use UNICODE files. The Japanese characters will be garbled when you run them on non-Japanese system. The warning message is prompted because the SQL Script editor in the SQL Scripts view currently does not support UNICODE files.
Also, you need to have at least one character in a SQL Script file in order to avoid the build error -7086. It should work if you only have an inline comment as such --.
Also, you need to have at least one character in a SQL Script file in order to avoid the build error -7086. It should work if you only have an inline comment as such --.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)