I seem to be having a issue loading a page. I have a login page with which the user logs in and it works fine.
I have a link on a page after the login that when clicked calls another page like so:
Dim myreportlist As New ReportListing
myreportlist.Show
Most of the time it seems to kick me back to the login page but other times will load the page ok. The open event of the page that is suppose to open has some code for loading data from a db to a listbox.
I have debugged and all and cannot pinpoint what causes the link click to push me back to the login page.
I tried the commenting out of code, actually moved it all to the show event and then comment out from there, reran it it multiple times and it still will kick me back to the login screen even though there is no code associated with the loading of the page.
This is troubling and not sure where else to look?
Even setting a break point in the shown method for the page I am calling when this occurs it will not even get to that code at all. Its almost like some place under the hood the page is going to be shown yet never makes it and just goes back to the login page. This is rather scary as there seems to be no way to really diagnose what is happening. Basically I feel I am at the mercy of the framework or something.
After some back and forth on this issue having had some help from Bob Keeney I was able to resolve this issue by deleting the cache folder for xojo and restarting my mac. On the mac the folder is at ~user/Library/Caches/Xojo. Not sure where where it is for Win/Linux.
Glad I could help. I need to write up a blog post on the “What to do if you think you’re either bat shit crazy or Xojo has a major bug in the framework” scenario.