Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Infomaker 6.0 creating .exe problems

2 posts in PB Infomaker Report Writer Last posting was on 1998-07-10 03:51:27.0Z
Mark Thornton Posted on 1998-07-09 16:47:14.0Z
Newsgroups: sybase.public.infomaker.general
From: "Mark Thornton" <mark.thornton@wwireless.com>
Subject: Infomaker 6.0 creating .exe problems
X-Newsreader: Microsoft Internet News 4.70.1155
Date: Thu, 09 Jul 1998 12:47:14 -0400
Lines: 11
Message-ID: <348_01bdab61$9755c540$4a118ecd@rgrutko.wwireless.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.infomaker.general:7005
Article PK: 243034

I'm new to IM6 and I'm having problems creating executable files. I'm
trying to create a .exe from a report which accesses SQL/Server through
ODBC. When I go into IM I have no problem getting hooked up to the
database but when I create the .exe file and try to run it, I get "Database
connect failed. Application cannot be run." Any ideas on how to make this
work?

thanks
Mark Thornton
mark.thornton@wwireless.com


Stephen Dupre[Sybase] Posted on 1998-07-10 03:51:27.0Z
Newsgroups: sybase.public.infomaker.general
Date: Thu, 09 Jul 1998 20:51:27 -0700
From: "Stephen Dupre[Sybase]" <No_Spam_Stephen.Dupre@sybase.com>
Reply-To: No_Spam_Stephen.Dupre@sybase.com
Organization: Powersoft Tools, Sybase, Inc.
X-Mailer: Mozilla 3.0 (Win16; U)
MIME-Version: 1.0
To: Mark Thornton <mark.thornton@wwireless.com>
Subject: Re: Infomaker 6.0 creating .exe problems
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 28
Message-ID: <348_35A58FBF.3F47@sybase.com>
References: <348_01bdab61$9755c540$4a118ecd@rgrutko.wwireless.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.infomaker.general:7003
Article PK: 243033


Mark Thornton wrote:
>
> I'm new to IM6 and I'm having problems creating executable files. I'm
> trying to create a .exe from a report which accesses SQL/Server through
> ODBC. When I go into IM I have no problem getting hooked up to the
> database but when I create the .exe file and try to run it, I get "Database
> connect failed. Application cannot be run." Any ideas on how to make this
> work?
>
> thanks
> Mark Thornton
> mark.thornton@wwireless.com

Use the trace in the app.ini file

DBMS=TRACE ODBC

See what the real error being generated by the database. Investigate the
PBTRACE.LOG in your \windows directory and see what error the database
is kicking. I've seen this too often to say it's a simple pathing
issue. Check the DBPARM in the IM.ini and application - see if
something is getting truncated. Get rid of some of the extraneous stuff
like WSID or "application" and see if it connects.

We should kick this error out in the application (we will for 7.0) to
make it easier to diagnose connect issues.

Stephen Dupre
Sybase