16th
Last night I posted some App_Code and the old “p = DirectCast(Cache("MasterPermissions"), CMSPermissions).GetPermissions(Session.SessionID)”

“Object not set to a reference” error occurred. You know the Cache being cleared.

Here are my steps.

1) Posted contract.vb app code

2) a few clicks later the above error came up

3) I restart IIS

4) The error came up again after I posted more code

5) I restarted IIS then restarted computer

6) Still was very paranoid and wanted to find out what happened

7) I checked the Global.asax file on live. It was a version before we figured out how to fill the cache on July 6. I copied the new Global.asax file to the live server.

8) I clicked around made a prospect,made a contract, did some updates and searches. No more of the object ref errors. Still kind of scary though.

I don’t know why this error would start appearing now, but it was just like the error used to be on my machine. Pretty sure the Global.asax should fix it like my machine. You need to look into this. It would be bad if this error came up in the middle of the day. Pretty scary that the Cache would decide to clear itself out.
footimage