PDA

View Full Version : Exception error; can't customize layout


fortesque
12-23-2008, 07:48 PM
Thomas: Started to have new problem in creating Objects and getting "Run Software" to properly function. Can create a new object okay, and new software project as well (at least in the initial windows). However,when I "run software" and try to open newly created object application window to customize layout I receive an error message telling me that "an exception occurs while assigning the Detail View;ID diary_Detail View ..." Don't see why message of "attempted to read or write to protected memory and reference to corrupt files" should prevail. Screen shot below shows error message in full.
I have uninstalled TSBPro several times and purged log.txt files, build and .txt files that are associated with this object. However, each time I do a fresh install of TSBPro I'm getting the same message. Defrag'd hard drive, scanned Windows registry for errors all to no avail.

Do you know what the problem may be and how can I completely purge TSBPro files? On fresh install does TSBPro link up to the Access data base and automatically associate with old installation data? If so how do i get around the problem described by "Exception" message.
Ideas and kind thoughts appreciated!
John Burns

TigerSoftware
12-23-2008, 10:05 PM
Thomas: Started to have new problem in creating Objects and getting "Run Software" to properly function. Can create a new object okay, and new software project as well (at least in the initial windows). However,when I "run software" and try to open newly created object application window to customize layout I receive an error message telling me that "an exception occurs while assigning the Detail View;ID diary_Detail View ..." Don't see why message of "attempted to read or write to protected memory and reference to corrupt files" should prevail. Screen shot below shows error message in full.
I have uninstalled TSBPro several times and purged log.txt files, build and .txt files that are associated with this object. However, each time I do a fresh install of TSBPro I'm getting the same message. Defrag'd hard drive, scanned Windows registry for errors all to no avail.

Do you know what the problem may be and how can I completely purge TSBPro files? On fresh install does TSBPro link up to the Access data base and automatically associate with old installation data? If so how do i get around the problem described by "Exception" message.
Ideas and kind thoughts appreciated!
John Burns

Hi John,


What are the names that you are using for the Software Object and editors.



Thanks,



Thomas

fortesque
12-24-2008, 10:08 AM
Hi John,
What are the names that you are using for the Software Object and editors.
Thanks
Thomas ,

Thomas: for an experiment on the problem named the Software Object "diary" and tried only one editor called "name." Have used the Object "diary" in an earlier application as well as the editor "name." Don't see anything "odd" about either of these.
Thanks
John B

TigerSoftware
12-24-2008, 10:48 AM
,

Thomas: for an experiment on the problem named the Software Object "diary" and tried only one editor called "name." Have used the Object "diary" in an earlier application as well as the editor "name." Don't see anything "odd" about either of these.
Thanks
John B

Hi John,


Try to delete the editor, create a new one and name it DiaryName. The Software Object name seems fine but the problem could be the editor name.



Thomas

Alton
12-24-2008, 10:54 AM
I am adding a number to each of my software objects as I create them. As an example, I might call an object something like

Pets Object 12

...and I name my editors something like

Name Editor 12
Breed Editor 12
Breeder Editor 12
(and so on)

For my captions, I just drop "Object 12" from the caption. The caption is then "Pets". And, likewise for each of the editors captions.

When I make the next software object with it's associated editors, I go to the next higher number, such as 13. Then, as I would create the editors for that object, I would add the number 13 to the end of each one.

This is a method someone else here suggested and it is working. It makes each object and each editor unique. And, that appears to be the key to avoiding conflicts within the databases.

Thomas, maybe you could incorporate something within the software that would automatically assign a unique number to each object and each editor as it is created. Either in sequence or randomly.

Anyway, most of the problems users are having appear to be caused by databases that are confused due to conflicts caused by using the same names in multiple objects.

TigerSoftware
12-24-2008, 11:12 AM
I am adding a number to each of my software objects as I create them. As an example, I might call an object something like

Pets Object 12

...and I name my editors something like

Name Editor 12
Breed Editor 12
Breeder Editor 12
(and so on)

For my captions, I just drop "Object 12" from the caption. The caption is then "Pets". And, likewise for each of the editors captions.

When I make the next software object with it's associated editors, I go to the next higher number, such as 13. Then, as I would create the editors for that object, I would add the number 13 to the end of each one.

This is a method someone else here suggested and it is working. It makes each object and each editor unique. And, that appears to be the key to avoiding conflicts within the databases.

Thomas, maybe you could incorporate something within the software that would automatically assign a unique number to each object and each editor as it is created. Either in sequence or randomly.

Anyway, most of the problems users are having appear to be caused by databases that are confused due to conflicts caused by using the same names in multiple objects.


Great Idea Alton.

I normally use my Software Object name when I create my property editors.

For example I had Diary like John had for my Software Object.

I would have DiaryName for a text editor.

DiaryStartDate
DiaryText

and so on.

It normally keeps me from those types of problems.



Thomas

fortesque
12-24-2008, 06:28 PM
Thomas & Alton:
Solution found! But problem still exists in original script.

At your leisure suggest you read rest of message. Sorry for the length.

Developed a work around by using entirely new and differentiated SoftwareObject title without any reference to root word "diary".

However, the original problem suggests either a bug or a needed set of instructions to prevent similar problem for others.


Alton, I did try your suggestions, thanks.

Here are the steps I followed.

I reworked original failed script. I named Object "dairy1"; however, I named each editor diaryname1, diarytension1, diarymigraine1, etc. adding the suffix "1" at the end, not after diary. That may have been the downfall. Don't know since the text is different, unless program only reads "root" word.

I say downfall because the application still generated the same error message as previously.
Here are some odd happenings.

1. View Screen Shot 3, Software Project window, and you will see that "diary1" is the referenced object in the Software Project "abis headache tracker1".

2. Yet when I load Software Project "abis headache tracker1" the object that is loaded is "diary" not "diary1". If you view Screen Shot 1 below you will see what I mean; "diary" is the indicated object so what is going on?

3. Don't know how this happenens. Went back and re-loaded Object and Project windows live, and that's what happens. I would assume that "diary" and "diary1" are different fields in a data base.

4. Also, a curious thing is when I accessed the file "40c022dd-43f1-450e-985a-2587cc6f9e52eXpressAppFramework" which was generated as result of "run software" for SoftwareProject "abis headache tracker1", the file showed a failure referencing "diary1" while "diary" is referenced in lines above in same .txt file. See Screen Shot 2.

Below are shots showing the error.

Unless I'm completely in the woods ( and it wouldn't be the first time) their is a problem here.
When I used "diary1" in Software Project it somehow seems to read "diary" in the .txt file as well as "diary1". And results in an error. Or am I way off base?

See lines at time 15:28:59: 612 and 15:29:02:299 (these lines refer to "diary") and "error occurred line" where the reference is to "diary1" in third thumbnail image.

I don't want to have to "throw" away the root term "diary" in order to create an application.

Again, when I used a completely new term for Software Object and Software Project, (created Object titled "experiment1" and Project "experiment1", TSBPro allowed me to customize layout and application works.

Ideas and good thoughts welcome!
John B

fortesque
12-25-2008, 10:17 PM
Thomas & Alton:
Spoke to quickly. Created another application following Alton's method of naming object and editors. Ran into same fatal error as before. One difference in new application that failed and experimental one did work was the use of check box editor. Can't for the life of me figure out the cause of the error.
John B

Alton
12-26-2008, 08:23 PM
Using my technique, I would name the software object "Diary Object 1" and by using the word Object, would be assured that I would not get an confusion between my objects and my editors. And, by assigning a number to the end of each software object as it is created, I would avoid any confusion between any succeeding objects I would create later. In other words, this leaves it open for you to have editors associated with "Diary Object 1", that are called "Diary Editor1", with a caption of Diary.

The way I do it, I use the same number all the way down through every editor that is under a particular object. I have about 16 editors built so far. There were others, but until I tagged them with a number, I kept having error after error. So, they were deleted.

The end use sees none of these numbers as they use my products.

I hope that helps. This simple little system is still working for me today. I worked all day without any errors.

TigerSoftware
12-28-2008, 12:32 AM
Thomas & Alton:
Spoke to quickly. Created another application following Alton's method of naming object and editors. Ran into same fatal error as before. One difference in new application that failed and experimental one did work was the use of check box editor. Can't for the life of me figure out the cause of the error.
John B

John, I am having a hard time following.


Is this the same Software Project?



Thomas

fortesque
12-29-2008, 11:19 AM
Thomas: same software project with change that I have followed Alton's suggestions on naming objects and editors. Can't understand why run software fails and generates exception error.
Did try an experiment using Alton's method with the only difference of not using check box editor. That experiment worked. Thought I had the solution. When I went back to my "project" and followed Alton's suggestions, I did use check box editor. Problem occurs at point after launching software project and selecting project and TSBPro defaults to "reports window" . When I click on the navigation and bring up the object, it does show the editors in grid fashion. Click on "new" to load the project for layout customization and error message is created. Here's an attempt to show what happens; see four screen shots.
I've deleted build files and re-installed TSBPro numerous times but to no avail. Assume new TSBPro reads old data base setting and gets confused.
Thanks
JWB

TigerSoftware
12-29-2008, 11:28 AM
Thomas: same software project with change that I have followed Alton's suggestions on naming objects and editors. Can't understand why run software fails and generates exception error.
Did try an experiment using Alton's method with the only difference of not using check box editor. That experiment worked. Thought I had the solution. When I went back to my "project" and followed Alton's suggestions, I did use check box editor. Problem occurs at point after launching software project and selecting project and TSBPro defaults to "reports window" . When I click on the navigation and bring up the object, it does show the editors in grid fashion. Click on "new" to load the project for layout customization and error message is created. Here's an attempt to show what happens; see four screen shots.
I've deleted build files and re-installed TSBPro numerous times but to no avail. Assume new TSBPro reads old data base setting and gets confused.
Thanks
JWB

If you didn't delete the folder, in program files, when you uninstalled than the database still exists.

Export your software layout file and email it to me at tbelknap (at) profittigerpro (dot) com and I will test it out.



Thanks,



Thomas

TigerSoftware
12-29-2008, 12:41 PM
John, it seems to be the static text you added that is causing the problems. I think it is a licensing problem with the component which doesn't make sense. The word processor using the same component without any problems.


I will try to figure this out, fix some of the problems people are having and get a update this week or next.



Thomas

fortesque
12-29-2008, 04:41 PM
John, it seems to be the static text you added that is causing the problems. I think it is a licensing problem with the component which doesn't make sense. The word processor using the same component without any problems.


I will try to figure this out, fix some of the problems people are having and get a update this week or next.



Thomas

Thomas: cleaned out TSBPro installlation by deleting what I thought were relevant folders and .txt files. Then re-installed TSBPro. I followed Alton's instructions carefully this time on naming Objects and Editors and per your comments did not insert Static Text. Did not save project when dialog box showed. Was able to successfully open customize layout and re-layout editors.
Thanks for the help
John Burns

TigerSoftware
12-30-2008, 02:08 PM
Thomas: cleaned out TSBPro installlation by deleting what I thought were relevant folders and .txt files. Then re-installed TSBPro. I followed Alton's instructions carefully this time on naming Objects and Editors and per your comments did not insert Static Text. Did not save project when dialog box showed. Was able to successfully open customize layout and re-layout editors.
Thanks for the help
John Burns

Hi John,


I have been fixing some problems and using your layout for testing and noticed something you did wrong on the static text. It is my fault for not creating any videos on it.

The description is for your own use, it allows you to distinguish between copies of text.

In order to show text you have to input that text into the word processor section. This is what shows up on the window. I noticed a url in one of your static text records. You can create a clickable url in the word processor that will show and will be clickable.


I just tested it out with your layout file and it works.


Let me know if this doesn't make sense.



Thanks,



Thomas