Solved

PB 7.0 crashes when opening datawindow painter.

Posted on 2002-05-07
5
1,169 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VS2008 C++ memory leaks and how to fix them 7 192
add relation in Intellij on MAC 4 72
I could not build boost code, 10 79
The line on IDE 4 71
In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

863 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

21 Experts available now in Live!

Get 1:1 Help Now