Solved

PB 7.0 crashes when opening datawindow painter.

Posted on 2002-05-07
5
1,245 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 column That will then direct you to their download page. From that p…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

729 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