Solved

PB 7.0 crashes when opening datawindow painter.

Posted on 2002-05-07
5
1,152 Views
Last Modified: 2013-12-26
I am unable to open the datawindow painter in PB 7.0.    Every time I attempt this, I receive an error that immediately closes Powerbuilder.   I have no problems opening up any other type of objects.    The following is a list of remedies I have tried:  1) Regenerating the objects prior to opening,   2) Rebuilding whole application, 3) Optimizing the object, 4) Exporting/Importing the object, 5) Re-installing PowerBuilder.  

Other developers have had no trouble opening up these same objects, which leads me to believe the objects are fine and that this may be isolated to my desktop.  
0
Comment
Question by:bvogel
5 Comments
 
LVL 4

Accepted Solution

by:
Bhatti earned 50 total points
ID: 6994328
To opening datawindow I had also problem in PB 8.0

I checked my registry for the datawindow entry carefully and now working again.

I answered this to some on and copying the text to you. May this will solve your problem only if the PB 7.0 also have the entry for objects in Registry not in the ini file. If it in the ini file do the same in file:

CAREFULLY:

I open registry: HKEY_CURENT_USER--> SOFTWARE--> SYBASE-->
                     POWERBUILDER--> PB 8--> LAYOUT--> DEFAULT

                     and on the right side FIRST I COPIED THE ENTRY FOR DATAWINDOW in EDITOR and then left the entry empty


                     THEN I opened a datawindow. Datawindow opened and new entry was in registry.

                     Now I have no problem for datawindow in PB 8.

                     I copied first the old entry, because if heppened something wrong then I had the old entry to copy again.

                     Copy first and then let the entry for datawindow empty and open a datawindow.

Please let me the result.


Best regards


Bhatti

0
 

Expert Comment

by:ARUNB
ID: 6994545
As mentioned in the comment-
Go to the registry and delete the Datasource entry from

: HKEY_CURENT_USER--> SOFTWARE--> SYBASE-->
                    POWERBUILDER--> 7.0-->Datawindow

When u open the datawindow, an entry will be created in the registry.
0
 

Author Comment

by:bvogel
ID: 6994550
Thanks for the info!  The developer at my site that had the problem just found this answer from the Sybase site (www.sybase.com):

To fix the problem, you need to run RegEdit and Navigate to the following area:

HKEY_CURRENT_USER
Software
Sybase
Powerbuilder
7.0
Layout

Within Layout, delete the folder named "Datawindow"
Within "default", clear the data for value "Datawindow"

What causes the error is that PB constantly writes to the registry anytime you leave a painter.   It updates it with specifics about the painter you are in.   However, every so often when PB crashes on you, it writes invalid data to this entry so that when you try and reopen the painter, it crashes.   By clearing out this value, PB will automatically recreate this value in the registry the next time you go in.


Thanks!
0
 
LVL 4

Expert Comment

by:Bhatti
ID: 6995893
What do you think about my comment I wrote?

best regards


Bhatti
0
 

Expert Comment

by:SpideyMod
ID: 8297095
Force Accepted

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org (http://seleniumhq.org) Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now