MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Security exception (Closed) (Mono Support )

Viewed 125106 time(s), 14 post(s) 10/14/2013 9:24:11 PMby darryljneil
darryljneil

darryljneil

10/16/2013 10:19:09 PM
Regarding the first error that I posted on this topic and the image I posted. The behavior we are seeing is the web page displaying an exception (as seen in the image I posted in this thread), once that exception is displayed our log file contains an entry relating to the text showing in the first  post of this thread.

Can you please provide us with:
- correct error that you get with full stack trace if possible
The image I've posted on this thread contains the same stack trace information, unfortunately we're not getting back a very detailed stack trace.
- check if you get the same error with the production app on your local environment 
We do not get the same error in dev environment as well as our locally hosted staging environment. This error occurs only in the externally hosted production environment.
- provide us with your production hosting environment specification
I'm unable to provide you with hosting specs right now, but will asap.

Could heavy reliance on the Session be an issue with our web parts and MonoX? I'm thinking no, but though it wise to ask now.
This content has not been rated yet. 
207 Reputation 23 Total posts
khorvat

khorvat

10/17/2013 10:03:53 AM
Please send us the hosting specs so I can see if there is anything suspicious there.

Regarding the session and MonoX, you can safely use the Session in MonoX, what I was thinking is that you may be using WebFarm or some kind of cloud that can trigger that kind of exception if you didn't handle "cloud" scenarios ?
Could heavy reliance on the Session be an issue with our web parts and MonoX? I'm thinking no, but though it wise to ask now.
Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
darryljneil

darryljneil

10/22/2013 7:55:00 PM
Thanks for all your help on this issue. As it turns out, the issue apparently is due to frequently changing app pools so that storing the session data in-process is not possible and instead we have to use a ASP.NET state server.
At this time I'll mark the thread as answered.

Regards
Rated 5.00, 1 vote(s). 
207 Reputation 23 Total posts
khorvat

khorvat

10/23/2013 6:48:02 AM
Ok, get back to us if you find any other issues related to the section we have reviewed. I'm closing this topic so please open another if needed.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
1 2