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.

Error in Migrating from pb6.5 to pb10

2 posts in General Discussion (Chinese) Last posting was on 2008-04-21 10:18:38.0Z
Manich Posted on 2008-04-18 16:00:38.0Z
Sender: 4802.48085d89.1804289383@sybase.com
From: Manich
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: Error in Migrating from pb6.5 to pb10
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4808c5a6.52ec.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 18 Apr 2008 09:00:38 -0700
X-Trace: forums-1-dub 1208534438 10.22.241.41 (18 Apr 2008 09:00:38 -0700)
X-Original-Trace: 18 Apr 2008 09:00:38 -0700, 10.22.241.41
Lines: 18
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:337
Article PK: 104360

Hi,

I have an application developed in PB6.5 and due to changing
requirements application has to be switched to PB10.
There when I am trying to regenerate the contents of my PBL,
it is giving error stating:

C0042 : cannot compile without valid database signon.

This error is coming for few windows but not for the
functions I have made in my pbl. It is working perfectly
fine for pb6.5.

Can you please help me on this.

Thanks in advance.

Manich


qliang Posted on 2008-04-21 10:18:38.0Z
Sender: 31fa.480c637e.1804289383@sybase.com
From: qliang
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: Re: Error in Migrating from pb6.5 to pb10
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <480c69fe.3289.1681692777@sybase.com>
References: <4808c5a6.52ec.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 21 Apr 2008 03:18:38 -0700
X-Trace: forums-1-dub 1208773118 10.22.241.41 (21 Apr 2008 03:18:38 -0700)
X-Original-Trace: 21 Apr 2008 03:18:38 -0700, 10.22.241.41
Lines: 12
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:341
Article PK: 104364

This error usually hints that pb can't connect to database
successfully.

In order to verify data related objects, PB need to connect
to database while compiling. PB also has a switch with which
you can disable this behavior if you don't have db setup
correctly and thus don't want pb to verify with a db
connection.

You can do like this in pb IDE: Select menu [Tools]->[System
Options...], in the dialog [General] page, check "Disable
database connection when compiling and building".