Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

PB 7.0 crashes when opening datawindow painter.

Posted on 2002-05-07
5
Medium Priority
?
1,333 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 200 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

Technology Partners: 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

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…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
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 new code templates in NetBeans IDE 8.0 for Windows.

971 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