Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Missing forms
Any suggestions on what I may need to fix so that OI finds stuff that it seems to have lost?
This mornings example, I received a REP300 error telling me the form I was launching doesn't exist.
I go to the form designer to open it and sure enough, it's not there in the list.
However, the records exist in both sysreposwins and sysreposwinexes so the form does indeed exist.
I've tried rebuilding system index to no avail.
I had the same issue a few days ago (such and such form does not exist) and whilst that didn't make any sense to me I didn't have time to investigate so just redeployed it from a backup. Now that I've seen it again, I am concerned that I just don't know what else may or may not be supposedly missing.
This mornings example, I received a REP300 error telling me the form I was launching doesn't exist.
I go to the form designer to open it and sure enough, it's not there in the list.
However, the records exist in both sysreposwins and sysreposwinexes so the form does indeed exist.
I've tried rebuilding system index to no avail.
I had the same issue a few days ago (such and such form does not exist) and whilst that didn't make any sense to me I didn't have time to investigate so just redeployed it from a backup. Now that I've seen it again, I am concerned that I just don't know what else may or may not be supposedly missing.
Comments
Short of restoring them from a backup, you can create a new form of a different name (but similar to your form...e.g., EWO_DETAILS_2_TEMP) and then open this using an editor and doing a Save As and changing the name to what it should be. Then edit the internal references to the correct form name.
I mean if I had accidentally copied from the wrong system, one that was so old not to have these windows in it then the sysreposwins and corresponding commuter source code wouldn't exist either.
I could do the form designer thing or just deploy from my original source but the bigger concern is I don't know what's missing that I haven't stumbled across as yet.
For that I would just write a quick utility that rummaged through the SYSREPOSWINS and/or SYSREPOSWINEXES and then looked for a missing corresponding SYSREPOS pointer and then create a report with that information.
I have though just got an updated copy of the original source files and everything seems to be there this time.
I must have just screwed up the original copy/paste somehow.
Hopefully crisis averted.