Solved

PB 7.0 crashes when opening datawindow painter.

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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: …
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
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.

840 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