I am attempting to fire up ISQL 4.10DC1 on MS-DOS 6.22, but cant seem to get PSTARTSQL.EXE to load, it says DOS16M Error[6]: Not enough memory.. I have DEVICE=C:\DOS\HIMEM.SYS as my first line in CONFIG.SYS and properly set all environment variables, including DOS16M=3. Anyone have any experience with this version of ISQL?..Does anyone have additional documentation for this legacy version?
====================
RELEASE NOTES
FOR
INFORMIX 4.10.DC1 PRODUCT RELEASE
=============================================================================
TABLE OF CONTENTS
I. OVERVIEW OF RELEASE NOTES
II. PRODUCTS CONTAINED IN THE 4.1 DOS CLIENT RELEASE
III. GENERAL DATABASE SERVER CONCERN
IV. SPECIAL CONSIDERATIONS FOR DEVELOPERS USING '4.1' RELEASE SOFTWARE
A) Un-bundling Of Database Server
B) Application Tool Compatibility
C) Compatibility Of Application Tools And Database Engines
D) Compatibility Items For Existing Applications
E) Changes From .02 & .06 In Cursor Manipulation With Transactions
F) Cursor Manipulation in the 4.1 Release
G) Impact of MODE ANSI Databases On Applications
H) Additional Documentation Information
I) C Functions In ACE And PERFORM
J) STORES & STORES2 Demonstration Databases
V. ISSUES FOR ALL PRODUCTS
A) Installation Memory Requirements
B) 932 Error using UNIX 4.1 SE Or 4.1 OnLine Engines
VI. INFORMIX-SQL SPECIFIC ISSUES
A) ISQL Real Mode Memory Requirements
B) ISQL Demonstration Programs
C) Use Of User Menu With Mode ANSI Database
D) The INFORMIX-SQL Menu AND SERIAL COLUMNS
E) Change In Terminology
VII. KNOWN PROBLEMS
11945 - 826: FORK SYSTEM CALL FAILED Message Using ISQL under
Low Memory Conditions
1896 - With ";", PAGE Trailer Prints on Wrong Page
2277 - SPERFORM Does Not Recognize All DBA Privileges
3448 - Extra Blank Line is Printed at the End of ACE Reports.
4318 - ACE Will Not Allow a Column Name to be the Same as a
Table Name in ORDER BY
4518 - ALTER TABLE With No Permission Allows Alter Then
Giving Errors at Build
12082 - Incorrect Output Using PISQL.EXE if Redirected to a File
12221 - The "OUTPUT TO PIPE" SQL Statement Generates Error 809
============================================================================
I. OVERVIEW OF RELEASE NOTES
The purpose of these release notes is to make you aware of
changes in products that might affect existing applications.
The release notes contain information on changes from previous
releases, known problems, and workarounds. Problem IDs are assigned
to known problems to assist you in identifying the problems in
discussions with Client Services personnel.
Release notes are not intended to be all-inclusive;
it is a tool to assist you in the update process. Please consult
Informix product manuals for additional information on product
features and for clarification of product behavior.
II. PRODUCTS CONTAINED IN THE 4.1 DOS CLIENT RELEASE
The following products are contained in the '4.1' version of this
DOS Client Release:
Product Name
------------
INFORMIX-SQL
INFORMIX-ESQL/C
INFORMIX-NET PC
III. GENERAL DATABASE SERVER CONCERN
It is particularly important to run the UPDATE STATISTICS command
occasionally. YOu should use it frequently when there is a great deal
of data manipulation occurring. This command updates the statistics
used by the query optimizer. The query optimizer determines the most
effective method for retrieving data from the database. Because the
optimizer is cost-based, the statistics it uses (number of rows,
minimum or maximum value in an index column, and so on) should be as
up-to-date as possible.
IV. SPECIAL CONSIDERATIONS FOR DEVELOPERS USING '4.1' RELEASE SOFTWARE
A) UN-BUNDLING OF DATABASE SERVER
==============================
Starting with the 4.1 release of the DOS products, all application
development tools (for example, INFORMIX-SQL), embedded language
products (for example, INFORMIX-ESQL/C), and database servers (for
example, INFORMIX-SE) are available as separate products. Therefore,
the DOS database server (Informix-SE) is no longer included with each
application tool. Please see the next section, "Compatibility of
Application Tools and Database Engines," for additional information.
B) APPLICATION TOOL COMPATIBILITY
==============================
Application tools labelled with a version number of X.10.06 do not work
with 4.10 I-Net-PC; the 06 products use a different communication
mechanism than the 4.1 products. Since different mechanisms are used,
it is not possible for an application built with an .06 application tool
to communicate with the 4.1 I-Net-PC.
If you want to use an application based on one of the .06 products
with 4.1 I-Net-PC, you must recompile the application with the 4.1
version of the application tool.
C) COMPATIBILITY OF APPLICATION TOOLS AND DATABASE ENGINES
=======================================================
The 4.1 DOS/Windows application tools can use either a remote 4.1 or 5.0
database engine via Informix-Net PC. No change isrequired in the 4.1
application to access a 5.0 database engine. However, some functionality
available in the 5.0 database engine will not be available to the
4.1-based application. For example, even though the 5.0 database engine
supports stored procedures, the 4.1 application tools do not have the
capability to use stored procedures. The general rule is that all
functionality available to the application tool in the 4.1 release is
available to the tool in the 5.0 database engine, but that functionality
available to 5.0 application tools cannot be taken advantage of by the
4.1 application tools.
D) COMPATIBILITY ITEMS FOR EXISTING APPLICATIONS
=============================================
Some of the changes, bug fixes or enhancements made in the 4.1
release could potentially require changes to existing applications.
We expect that incompatibilities will be rare; however, we are
providing the information so you can determine if you have any
applications that may require updating. Many of the following
items have references to additional information contained in the
documentation.
1. A change was made in the behavior of an ANSI-compliant database
so that cursors not explicitly declared "FOR UPDATE" are still
treated as update cursors. This is correct ANSI behavior. However,
if the cursors are not declared for update, no update lock is put on
the row when it is read. As a result, users may get lock errors when
they try to update the row. See the DECLARE statement in the
"Informix Guide to SQL: Reference" for further information.
2. For ANSI-compliant databases, if any statement fails to access rows,
the return code is now 100, instead of 0 as it is for databases
that are not MODE ANSI. See the section "SQLNOTFOUND and ANSI
Compliant Databases in Chapter 2 of the INFORMIX-ESQL/C Programmer's
Manual for further discussion.
3. The ANSI standard requires that all identifiers, including
owner names and login names, be in uppercase letters. In MODE
ANSI, you must enclose lowercase and mixed-case identifiers
in quotes if you want to preserve the case. Otherwise, all
owner and login names (except Informix and public) will be
shifted to uppercase. See the "Identifier" segment in Chapter 6 of
the "Informix Guide to SQL: Reference" for further information.
4. A new variable, SQLCODE, is available in INFORMIX-ESQL/C, and is
automatically set to return the same value as sqlca.sqlcode. This
variable was added for ANSI compliance. If an ESQL/C application
defines a variable called SQLCODE, then there will be conflicts with
the new, included SQLCODE variable. See the section "Using the
SQLCODE Variable" in chapter 2 of the INFORMIX-ESQL/C Programmer's
Manual for further information.
E) CHANGES FROM .02 & .06 IN CURSOR MANIPULATION WITH TRANSACTIONS
===============================================================
Following is an overview of the differences in the way that cursors
can be manipulated between 2.10.02 and 2.10.06 applications and 4.1
applications.
Note about DECLARE
------------------
The DECLARE statement establishes a relation in the application
tool between a cursor name and an SQL statement (INSERT or SELECT).
It declares and initializes the necessary application tool structures
to accommodate the sending and retrieval of data through subsequent
statements involving that cursor. It does not itself communicate
with the database engine. The only restriction placed upon location
of the DECLARE statement is that it must be within the same source
code module and prior to all other references to the cursor name.
For the rest of this discussion, be aware that the DECLARE statement
will not be considered as a cursor manipulation statement, and
therefore is not required to be within a transaction.
DOS 2.10.02 versions
--------------------
In DOS 2.10.02, Informix introduced the concept of INSERT cursors.
For databases that log transactions, all manipulation of INSERT
cursors (OPEN, PUT, FLUSH) must occur within explicit transactions.
DOS 2.10.06 versions
--------------------
Starting with the .06 version, both UPDATE and INSERT cursors needed
to be opened within transactions. Read-only SELECT cursors could
still be manipulated outside of transactions. COMMIT WORK still
closed all cursors.
.06 also marked the introduction of comprehensive release notes.
One statement in these release notes warned customers that Informix
Software would require all cursor manipulation to be inside
transactions in the next release. Subsequently, Informix Software
decided NOT to require all cursor manipulation to reside within
transactions.
Instead, the current release will allow cursors to be manipulated
in the same fashion as in .06, with the addition of the WITH HOLD
option so that cursors remain open and current positions maintained
even after a COMMIT WORK is issued.
DOS 4.1 version
---------------
The only change from .06 to 4.1 is the introduction of WITH HOLD
syntax in the DECLARE statement.
The use of the WITH HOLD keyword in 4.1 applications will have the
following effects:
- No WITH HOLD cursors will be closed when a COMMIT WORK is executed.
Instead, such cursors will be closed by a close cursor call or by
the exit of the program.
- WITH HOLD insert cursors can be manipulated totally outside of a
transaction.
- WITH HOLD update cursors can be opened and fetched outside of a
transaction. However, an UPDATE/DELETE WHERE CURRENT OF
cursor-name and its associated FETCH must occur within an explicit
BEGIN WORK / COMMIT WORK transaction block.
All other cursor capabilities from .06 remain the same.
See the discussion of the DECLARE statement in Chapter 6 of the
"Informix Guide to SQL: Reference" for further information.
Migration Implications
----------------------
Any 2.10.02 applications that use update cursors may need to be
modified to work with .06 and later releases. Essentially, if the
update cursor is manipulated (using an OPEN, FETCH, UPDATE, or DELETE
statement) outside of a transaction, it will receive an error. The use
of the WITH HOLD keywords in the declare statement should allow these
programs to achieve equivalent functionality within transactions as they
had with cursor manipulation outside of transactions.
F) CURSOR MANIPULATION IN THE 4.1 RELEASE
=======================================
The following rules are adhered to in the 4.1 release and will
be in effect for all later releases.
CLOSE CURSOR
------------
1. Cases that should result in an error:
a. Closing a cursor that has been declared but never opened.
b. Closing a closed cursor in a MODE ANSI database.
2. Cases that should NOT result in an error:
a. Closing an already closed cursor in a non-MODE ANSI database.
FREE CURSOR/STATEMENT ID
------------------------
1. Cases that should result in an error:
a. Closing a freed cursor.
2. Cases that should NOT result in an error:
a. Freeing a cursor or statement-id twice.
b. Freeing a cursor that has been declared but never opened.
In addition to the preceding rules, the following rules also apply:
A statement-id that has been FREEd needs to be
PREPAREd again in order to be used again.
A cursor that has been FREEd needs to be
DECLAREd again in order to be used again.
G) IMPACT OF MODE ANSI DATABASES ON APPLICATIONS
=============================================
The 4.1 Release offers support for MODE ANSI databases. One of the
features of the ANSI specification is that all objects (e.g., tables,
views, etc.) are associated with a specific owner, and permissions
are granted with respect to that object. This is commonly referred
to as the ANSI owner.object feature. One implication of this feature
is that a previously built application may encounter errors when
interacting with a MODE ANSI database. The database will expect
that all referenced objects be prefaced with a user name if
a user other than the object owner is attempting to access the
object, while the application would have been constructed without
user names. It is important that old applications be examined before
being used with a MODE ANSI database.
Additional differences that are introduced if you change a database
to MODE ANSI include:
- the BEGIN WORK statement is not needed, since transactions
are implicit
- the default system action upon a runtime error is CONTINUE,
rather than STOP
In a non-MODE ANSI database, the default is to grant all table-level
access privileges (except ALTER) to all users (PUBLIC). In a MODE
ANSI database, no default table-level privileges are granted. You
must explicitly grant these privileges. If you use START DATABASE
to convert your database to MODE ANSI, however, the existing
privileges remain in effect
If you set the new DBANSIWARN environment variable to test at runtime
for compliance with ANSI syntax, the BEGIN WORK statement can produce
an error, and other Informix extensions to the ANSI standard for SQL
syntax produce warnings.
H) ADDITIONAL DOCUMENTATION INFORMATION
====================================
Additional information and documentation updates for ISQL, I-NET PC,
and ESQL/C is available in the "documentation notes" files. This
documentation can be found in the RELEASE subdirectory where the
product(s) have been installed. Please review the following files
for information that is not in the printed publications.
ISQL - DOCISQL.410
I-NET PC - DOCINET.410
ESQL/C - DOCESQLC.410
I) C FUNCTIONS IN ACE AND PERFORM
==============================
For the 4.1 release, the capability of customizing ACE
reports and PERFORM forms (ACE and PERFORM are in the INFORMIX-SQL
product) with C language routines was removed from INFORMIX-ESQL/C
and has been incorporated into the INFORMIX-SQL product. This
capability is described in the INFORMIX-SQL Reference Manual.
J) STORES & STORES2 DEMONSTRATION DATABASES
========================================
The STORES demonstration database used in the x.10.06 release has been
replaced. The new name of the demonstration database is STORES2.
V. ISSUES FOR ALL PRODUCTS
A) INSTALLATION MEMORY REQUIREMENTS
===============================
User's must have at least 450K of conventional memory available on
their PC before installing any of the DOS 4.1 products. The
INSTALL program may give the user a runtime error in certain
situations where memory is less than 450K. If users encounter
this problem, they will need to "free-up" conventional memory
and re-run the installation program.
B) 932 ERROR USING UNIX 4.1 SE OR 4.1 ONLINE ENGINES
=================================================
There is a known problem with some ports of the 4.1 UNIX engines
(both SE and OnLine) that will occur when trying to select an existing
database from ISQL. If a new database is created, it can be accessed
during the ISQL session in which it was created. However, error number
932 may occur when the database is selected during a new ISQL session.
This problem has been fixed in the 4.1 & 5.0 engines. Customers
experiencing this problem should contact Informix to request the
status of a software patch.
VI. INFORMIX-SQL SPECIFIC ISSUES
A) ISQL REAL MODE MEMORY REQUIREMENTS
==================================
The following chart shows the minimum memory requirements (in KBytes)
for running ISQL 4.1 in DOS Real Mode. Additional memory would be
required to compile a form or report.
------------------------------------------------------------------------
| |IPX| |PCTCP| |NFS| |StarGroup| |Pathway|
------------------------------------------------------------------------
| Actual Protocol Driver Requ.:* 60 103 85 178 33 |
| I-NET PC Memory Requ.: 65 70 71 55 79 |
| ISQL 4.1 Memory Requ.: 380 380 380 380 380 |
| --- --- --- --- --- |
| Total: 505 553 536 613 492 |
------------------------------------------------------------------------
* The following versions were used to compute these figures:
Novell's IPX/SPX ver. 3.11, FTP's PC/TCP ver. 2.05PL4,
SUN's PC-NFS ver. 3.5, AT&T's StarGroup ver. 3.4,
Wollongong's Pathway Access ver. 2.0.
B) ISQL DEMONSTRATION PROGRAMS
===========================
The ISQLDEMO program for ISQL can only be used by customers
that have installed the protected mode version of ISQL on their
workstation. See the DOCISQL.410 file for more information.
C) USE OF USER MENU WITH MODE ANSI DATABASES
=========================================
Because of the owner identification of objects in MODE ANSI databases,
the person who first creates the user menu by choosing the Modify
option is the only user who will be able to change the menu. All
others attempting to modify the user menu will receive an error
message.
D) The INFORMIX-SQL Menu AND SERIAL COLUMNS
========================================
Prior to the 4.1 release, INFORMIX-SQL allowed a user to modify the
indexing of a serial column through its menu. This was incorrect usage
of the menu and is no longer allowed. However, a change to the indexing
status of a serial number may still be achieved through the use of a
query-language script.
E) CHANGE IN TERMINOLOGY
=====================
All references to the RDSQL language in 4.1 documentation have been
changed to SQL.
VII. KNOWN PROBLEMS
Bug # 11945: 826: "FORK SYSTEM CALL FAILED" MESSAGE USING ISQL UNDER
LOW MEMORY CONDITIONS.
-----------------------------------------------------------------------
Under certain low-memory conditions, ISQL will not present the user
with the standard "Out Of Memory" message. Instead, error message
"826: fork system call failed " will be displayed.
WORK AROUND: Free more conventional memory for use.
Bug # 1896: WITH ";", PAGE TRAILER PRINTS ON WRONG PAGE
-----------------------------------------------------------------------
In ACE, if the last line of your PAGE TRAILER control block
suppresses the line feed (That is, the last PRINT statement ends with
a ';'), then the text prints at the top of the following page.
WORK AROUND: There is no good reason to end a PAGE TRAILER without
a line feed. Add a PRINT "" statement at the end, or remove the ';'.
Bug # 2277: SPERFORM DOES NOT RECOGNIZE ALL DBA PRIVILEGES.
-----------------------------------------------------------------------
SPERFORM does not recognize that a DBA has all table level access.
WORK AROUND: GRANT {DBA-user} ALL ON {table-name}
Bug # 3448: EXTRA BLANK LINE IS PRINTED AT THE END OF ACE REPORTS.
-----------------------------------------------------------------------
SACEGO appends a blank line to the end of reports when the statements
OUTPUT TO "file-name" or OUTPUT TO PIPE "program-name" are used.
WORK AROUND: Use the "quiet" option with SACEGO which suppresses the
banner. Example: Use "sacego -q {report-name}"
Bug # 4318: ACE WILL NOT ALLOW A COLUMN NAME TO BE THE SAME AS A TABLE
NAME IN ORDER BY
-----------------------------------------------------------------------
A SELECT statement of the type
SELECT * FROM xyz
ORDER BY xyz.xyz
causes syntax errors when trying to compile with ACE, even
if xyz is a valid column in the table, xyz.
WORK AROUND: Use the column number in its place or leave of the
"xyz." part.
Bug # 4518: ALTER TABLE WITH NO PERMISSION ALLOWS ALTER THEN GIVES
ERRORS AT BUILD TIME
-----------------------------------------------------------------------
If you use the Alter option from the TABLE menu on a table for
which you do not have permission, INFORMIX-SQL lets you go ahead and
perform your alterations, and then notifies you that you have no
permission when you attempt to Exit or Build the table. You have done
nothing permanent. However, ideally, you would be notified before you
performed the alterations.
WORK AROUND: There is none needed, because ISQL does not modify the
table.
Bug # 12082: INCORRECT OUTPUT USING PISQL.EXE IF REDIRECTED TO A FILE
-----------------------------------------------------------------------
When you run INFOMRIX-SQL from a command line and redirect the output
to a file an extra blank line will be added to the end of the file.
WORK AROUND: None
Bug # 12221: THE "OUTPUT TO PIPE" SQL STATEMENT GENERATES ERROR 809.
-----------------------------------------------------------------------
"OUTPUT TO PIPE" command is not supported in DOS environment.
WORK AROUND: None, this is unsupported in the DOS environment.
Resolved by adding option /INT15=32768 to HIMEM.SYS.
Related
We have recently started using Duplicati for backup of some of our data systems. We run an ERP solution that uses Pervasive (v10).
When Duplicati begins its backup process, to the best of my understanding, it's using either the file date, and or the file byte size to determine what to back up.
The problem that I see with that solution is that some of the data is missing from the table. For example, the workorders module we are certain had new rows of data on the server (source machine) that were NOT copied over to the new file.
Last night we backed up our ERP platform then restored to a new location so as to do a compare of what was backed up during the evening against what the source machine had. We noticed that there are rows missing from one table in the restored backup, that are there in the source table.
The backup is being created from the data directory. We are NOT using the integrated backup that came with the ERP suite.
What I personally believe is happening is that the database isn't writing out the data to the table until the last client disconnects from the ERP software. Also, the byte size of the file missing data and the source machine are the same, even though the source file holds more data.
Last week we did the same test that we did last night and I noticed when I closed the ERP suite, the file updates its modified stamp and the new rows are added to the table, but not before the client disconnects.
Can someone shed some light on why this is happening?
Are the data files open according to Pervasive when the backup occurs? If so, you should be using some sort of agent to close the files or put them into Continuous Operation mode or Backup Agent.
From the docs:
Continuous Operations provides the ability to backup data files while
database applications are running and users are connected.
When Continuous Operation mode is started, a delta file (.^^^) is created and the original data file is 'closed' so backup programs can access the file and back it up.
Backup Agent puts a GUI front end to Continuous Operation mode but is only supported with PSQL v11 and newer.
With Duplicati, you can set --disable-filetime-check=true to ignore the timestamps and sizes, and scan each file for changes.
This option is not active by default, because it may take a long time to fully read the file contents. For normal file operations, the OS should set the timestamp, but some applications, like TrueCrypt, will revert the timestamp.
I want to conditionally compile some blocks of code depending on type of client i'm running in. this is fine for batch and tty as i can use the {&BATCH-MODE} but how to test for when the code is being compiled in webspeed agent? eg. {&IF} not {&SOMETHING} EQ "YES" {&THEN}
{&ANALYSE-SUSPEND}
foo
bar
{&ANALYSE-RESUME}
{&ENDIF}
it would be helpful if this did not rely on defines auto generated by the architect in .w's etc but that would be a nice to have not essential.
Compile time isn't run time. If the program can be run different ways (as a part of a of webpage using webspeed, as a part of a batch and as a part of some other kind of client etc) you're most likely better of evaluating this in run time instead.
You can identify in what environment you're running:
SESSION:CLIENT-TYPE
This will identify your type of client.
DISPLAY SESSION:CLIENT-TYPE.
Type of client Attribute value
-------------------------------- -----------------------
ProVision standard ABL client 4GLCLIENT
WebClient WEBCLIENT
AppServer agent APPSERVER
WebSpeed agent WEBSPEED
Pacific Application Server agent MULTI-SESSION-AGENT
Other special-purpose clients Unknown value (?)
Documentation
Using VST
If you have at least one database connected
_Connect-ClientType tells you what kind of client this particular connection is:
Value Client
-------- ---------------------
ABL ABL client
SQLC SQL client
WTA Webspeed agent
APSV AppServer agent
SQFC SQL Federated client
Example:
FIND FIRST _myconnection NO-LOCK.
FIND FIRST _connect NO-LOCK WHERE _connect._connect-usr = _myconnection._MyConn-userid.
DISPLAY _connect._Connect-ClientType.
Based on OS
Perhaps you run different OS:es?
DISPLAY OPSYS.
Other ways
There's a number of other ways of doing this, including perhaps looking at PROPATH, Working directory etc.
Try to stick with a solution that won't change over the course of time because of Progress upgrades, new OS:es, new directory structures etc.
IMHO there is no such preprocessor variable out of the box.
But you could create your own include file and include that in the code that's relevant. You need two versions of that file, one says
&GLOBAL-DEFINE WebSpeed WebSpeed
and the other
&GLOBAL-DEFINE NoWebSpeed NoWebSpeed
And then configure your compile sessions so that they find exactly one of the files in propath.
But as you will agree, this is probably dangerous as the result will heavily rely on the proper PROPATH used during compilation. I'd rather attempt to use a runtime condition instead.
What are you trying to achieve in detail?
finally figured it out this morning {&webstream} and {&out} are not defined in in normal sessions so i can just test for that. runtime is not an issue in my case i just want to compile the code in all cases. in this shop dont ask me why but every single piece of code is session compiled. poor cpu but there u go. i could be defensive and add some logic with session:Client-type for bells and whistles you're right. if not can-do then boogie :)
I have created a Basic MSI Installer using InstallShield 2014 for a server/client program and have to hide features dynamically based on the License Key of a database that is installed prior to our Server app being installed. I have created conditions for the features that need to be hidden, setting the InstallLevel to 0 if they are not licensed and 1 if they are licensed. I am getting the license key after the SQL Login dialog (because the installer wouldn't know what database to look in otherwise) but conditions are evaluated during the CostFinalize action, which runs before the dialogs are created. So after I get the license key and run some other custom actions to determine the availability of each feature, I call the CostFinalize action before the CustomSetup dialog is shown.
I am getting the correct behavior for the features that need to be shown, and you can select or deselect said features in the dialog, however, when the installation executes, the selected feature is not installed....and the log file says that the feature is not selected for install, even though the user clearly selects it. Why would this be happening? Is there another approach to hiding features dynamically (I have tried the FeatureSetData function in an InstallScript action, but to no avail)?
Also, after I added the conditions to the features, whenever I try to uninstall the program from the Programs and Features app, I get an Error 1606 Could not access network location. It's like the registry key gets messed up when there are conditions on the features...Any help would be greatly appreciated.
I found the problem...If you set the features InstallLevel to 0 to start with and have a condition that sets it to something greater than zero, then it will not install the feature, regardless of whether it's selected. If you invert this logic and start with the features InstallLevel set to 1 and have a condition that changes the installlevel to 0, it will hide or show the feature AND it will be installed properly. This also caused the error 1606 I was getting on the uninstall...
Also, if anyone ever has components that get installed that aren't supposed to be installed, then you might try switching the Dependency Checking to none. For some reason, the .NET dependency check that InstallShield does causes certain components to install all the time, even if their assigned feature is turned off. Hope this helps someone in the future.
The CostFinalize can also be run by a dialog to refresh the feature list. Here are the steps:
In the Next PushButton of the SetupType Dialog, create a new item at the top.
Event: DoAction
Argument: CostFinalize
Condition: 1=1
In my case, I was hiding a feature based on a previous dialog and needed it to reevaluate conditions in the Program Feature.
Condition: Level:0 GLOBAL_VAR=0
Condition: Level:1 GLOBAL_VAR=1
I have a QBFC application written in C# that runs automatically from the scheduler and, among other things, inserts invoices from a remote client into QB.
Recently, I upgraded it to add an "InventorySite" to invoice items for clients using QB's "Advanced Inventory" module. I upgraded to QBFC 12 at the same time.
The program now errors out when it attempts insert an invoice, saying the InventorySiteLocationRef element is unrecognized. All other functions work as usual.
The following is an excerpt from QBSDKLog.txt:
20130712.143859 I 736 QBSDKProcessRequest Application named 'IOS Briefcase Sync' starting requests (process 1264).
20130712.143859 W 736 QBNInvoiceAdd::HandleAggregate unexpected tag 'Memo'.
20130712.143859 E 736 XercesSAXErrorHandler Unknown element 'InventorySiteLocationRef' -- error at line 19, column 26 in XML data.
20130712.143859 I 736 MsgSetHandler Parser error, finishing.
20130712.143859 I 736 QBSDKProcessRequest Application named 'IOS Briefcase Sync' finishing requests (process 1264), ret = 1.
20130712.143859 E 1264 RequestProcessor Process Request error = 80042500, There was an error when parsing the provided XML file.
20130712.143937 I 1264 RequestProcessor Connection closed by app named 'IOS Briefcase Sync'
20130712.143937 I 1264 RequestProcessor ========== Ended Connection ==========
The client is running Quickbooks Enterprise Solutions Manufacturing and Wholesale Edition 12
I installed QBFC12_0 and QBXMLRP2 using the installers provided with the SDK. A HostQuery returns 11 as the highest supported QBXML major version, and this is the version I use when creating requests.
I did not uninstall QBFC7, which was the version previously in use at this client site, because I wanted the ability to roll back (which I did). Could that be the problem?
Do I need to install or uninstall something else? Would a reboot help? I haven't been able to get anyone at the client site to reboot yet.
The problem, in my case, turned out to be that I was using the wrong field. I should have used "InventorySiteRef" rather than "InventorySiteLocationRef," which referes to a bin number within a site. Once I made this correction, everything worked.
The problem with "InventorySiteLocationRef" remains, however. It's a legitimate field in QBFC, and the supposedly all-knowing Onscreen Reference from Intuit does not indicate that it may fail. Fail it does, however, for many if not all versions of QB. I finally found, in the QBFC 12 Release Notes, a rather extensive list of fields that appear to be legitimate, but don't actually work. Here's how Intuit describes them. You can search for this text to find the list in the Release Notes:
NOTE: A majority of these changes have NOT been implented in Quick-
Books. These are spec changes only to allow for implementation in a future
release of QuickBooks.
I've just set up TFS2010 and connected VS2010 to it, then created a New Team Project using the default Agile template. No worries to that point. Then I tried to add a Task. It wanted a value in Title, so I supplied one, no problem there. But then it reported
The field 'Changed By' contains the value 'login-name' that is not
in the list of supported values.
By login-name I mean the name between the single quotes is my Windows Domain login name. I can't even make a guess at a valid value, because this is not a value the user supplies. It's not even displayed on the UI.
When I try to save the Task, I get this
---------------------------
Microsoft Visual Studio
---------------------------
Save failed.
TF20015: The field 'Changed By' contains the value 'pwone' that is not
in the list of supported values.
TF20015: The field 'Activated By' contains the value 'pwone' that is not
in the list of supported values.
---------------------------
OK
---------------------------
Am I incompetent at using this? Is there some configuration I have failed to set? Help! Help! I'm being repressed!
To make things even more confusing, a day later and the whole thing mysteriously works. Neither workstation nor Sharepoint server has been rebooted to the best of my knowledge. It's all too weird for words.
Within TFS there is a job that synchronizes usernames from Active Directory to Work Item Tracking for users that have access to the server. It populates the available values for the Assigned To, Changed By and Activated By fields.
It's possible that this job had a problem or hadn't run yet, which is why it mysteriously started working again the following day.
If it happens again, you can download the Team Foundation Server 2010 Power Tools from here. Then install the Best Practices Analyzer (BPA) component and then run a health scan. It should identify what the problem is.