PDA

View Full Version : ERROR 401 with InstallShield Express 2 Standard?



NewsArchive
10-22-1997, 12:00 AM
Dear All,

I have got ERROR 401: String variable is not large enough
for string. Please check string declarations. This error happens after
setup.exe displays blackground and before welcome screen.

Excerpt from Article X1096
" InstallShield was trying to copy a text string into a string
variable. However, the text string was larger than the length you
declared for that string variable. Before copying a
string into a string variable, InstallShield checks the length of
the string variable. There may be instances when InstallShield3 may be
unable
to detect such string overwrites. Check the declared length of the
string
variables. Increase the length to the maximum allowed value. Check the
logic
to make sure that you do not have a loop which generates strings longer
than
512 bytes for Windows 3.1 and 1,024 bytes for Windows NT and Windows
95. "

The problem is I never declared a string and could not find any where in
InstallShield Express 2 Standard where any string can be defined. How
should I fix it?

NewsArchive
10-23-1997, 12:00 AM
On Wed, 22 Oct 1997 12:20:36 -0400, chuanlarp satchavarodom
<chuanlarp@bigfoot.com> wrote:
>The problem is I never declared a string and could not find any where in
>InstallShield Express 2 Standard where any string can be defined. How
>should I fix it?

You might check your name of the application. Perhaps that name is too
large for the string variable that is defined for it.

Stefan
ellipse data systems

NewsArchive
10-24-1997, 12:00 AM
I checked that and other directory name. My application name has only 5
characters. It should not be a problem. And the destination directory
is not long at all. Any other sources of the problem any body can
think of?

TIA
chuanlarp

Stefan Paetow wrote:

> On Wed, 22 Oct 1997 12:20:36 -0400, chuanlarp satchavarodom
> <chuanlarp@bigfoot.com> wrote:
> >The problem is I never declared a string and could not find any where
> in
> >InstallShield Express 2 Standard where any string can be defined.
> How
> >should I fix it?
>
> You might check your name of the application. Perhaps that name is too
>
> large for the string variable that is defined for it.
>
> Stefan
> ellipse data systems

NewsArchive
12-30-1998, 01:00 AM

NewsArchive
12-31-1998, 01:00 AM
On Wed, 30 Dec 1998 16:01:28 -0700, Ron Jackson <ronjack@advmicroinc.com>
wrote:
>How long are the strings for Program names in ISX 2.11. I am getting
>the same error.

Check that your application name does not include a forward slash or any
other character that may cause this.

Stefan Paetow
InstallShield Software Corp.

NewsArchive
03-31-2000, 01:00 AM
>Error 401 usualy means you do not have a file in a file group.
>Please make sure that you have at least on file in a file group.


I get this error when INSTALLING, not when building media or testing the
setup - are you aware of this? I eliminated some SQL-links and drivers and
now the setup works. But maybe there is another hidden problem.

Bernd

NewsArchive
04-03-2000, 12:00 AM
Hello Bernd

My apologies I had been think of another error number. Please find below the
3 comon causes
of error 401.

1)
Cause:
A component has too many file groups

Solution:
In Express there is a limit of 92 file groups per component. Therefore make
sure that each component does not have more than 92 file groups.

2)
Cause:
The parameters for the DSN are too long

Solution:
Go to Specify InstallShield Objects on the yellow checklist. Go to ODBC. On
the "ODBC Step 4 of 5" you should see a DSN parameter that was too long.
Shorten it.

3)
Cause:
Destination directory is too long.

Solution:
In Express there is a Default Destination Directory Field. This is located
in the "Set the Visual Design" section of the yellow checklist. There is a
Windows limitation of 255 characters in a path. If you have entered more
than 255 characters in the Default Destination Directory Field you will get
the error -401. Make sure you do not exceed 255 characters.

--
Regards
Franco Pagnamenta
InstallShield Software Corp.

InstallShield® Professional 2000 is now available from InstallShield
Software Corporation! Take advantage of new event-based scripting
and enhanced third-party technology support. Target the Windows Installer
service of Windows 2000. Find out more! Visit www.installshield.com
and upgrade to InstallShield Professional 2000 today!
Bernd Maierhofer <BerndM@dato.at> wrote in message
news:38e4edd4.0@news.installshield.com...
> >Error 401 usualy means you do not have a file in a file group.
> >Please make sure that you have at least on file in a file group.
>
>
> I get this error when INSTALLING, not when building media or testing the
> setup - are you aware of this? I eliminated some SQL-links and drivers and
> now the setup works. But maybe there is another hidden problem.
>
> Bernd
>
>