rendering of menu issues and some random session expiring issues

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
11/26/2007 1:39:02 AM
Gravatar
Total Posts 23

rendering of menu issues and some random session expiring issues

Hi Joe,

I have a some random errors which keeps occuring.

1) Sometimes the left hand nanigation menu dosent appear or it not rendered. It just goes invisible.

2) The entire site is rendered without any skins from my Data/Sites/1/Skins?skin_name folder..it appears as if the skin was locked or the directory was unable.

After  a few refreshes it works fine.

3) Sometimes, just sometimes the user roles get confused when loggin in an loggin out continuosly a few times, a particular user gets the previously logged in users credentials...

4) The Session times out sometimes or sometimes 

SiteSettings siteSettings = CacheHelper.GetCurrentSiteSettings(); in global.asax or even Request.isAuthenticated sometimes generates an error....

happens in more than one place...any suggestions on the above would be great...thank you in advance...

 

Aaron

 

 

 

 

11/26/2007 6:18:10 AM
Gravatar
Total Posts 18439

Re: rendering of menu issues and some random session expiring issues

Hi Aaron,

What version of mojoPortal? What database? What kind of hosting?

Since I am not experiencing these issues, my best guess is you are hosted in an environment without enough resources. If there is not enough RAM available or if the db times out frequently or the app recycles continuously strange things can happen. This is what I think is happening.

If you can tell me steps to reproduce a problem then I can fix it, but if the problem is not enough resources I have no solution except to suggest to get better hosting.

Wish I could help,

Joe

11/26/2007 6:25:53 AM
Gravatar
Total Posts 23

Re: rendering of menu issues and some random session expiring issues

The server has sufficient resources since thats the only application being hosted.

Also, I am not recycling anything ..the application experiences the same prob on dev as well.

I even take care that the application in which it is configured does not recycle often which would clear the application cache....

I never had this problem with the other implementation of my corporate intranet which has turned out beautifully and error free.

 

11/26/2007 6:49:30 AM
Gravatar
Total Posts 18439

Re: rendering of menu issues and some random session expiring issues

I was not suggesting that you were recycling the app manually. There are settings in machine.config that cause this to happen based on ram usage, so a starved machine will recycle on its own frequently.

You did not answer any of my 3 questions.

Joe

11/26/2007 7:09:05 AM
Gravatar
Total Posts 18439

Re: rendering of menu issues and some random session expiring issues

Ok, I guess you did answer about the hosting, I can conclude from what you said that you have complete control of the machine and it is running only 1 app.

How much ram?

Is it configured in full trust or medium trust?

Is the database on the same machine?

What version of mojoPortal?

What daabase platform?

Are you running any custom code?

Joe

11/26/2007 8:18:38 AM
Gravatar
Total Posts 23

Re: rendering of menu issues and some random session expiring issues

Database in on the same machine

Intel R Xeon 3.2 Ghz.

768 MB ram.

Full Trust

Current Mojopoprtal dll version 1.0.2886.32711

This is an older version which i had downloaded a long time ago..sometimes around April.

SQL 2000 is the database.

 

Custom Code...tonz...buts thats all separated...in a way....

 

11/26/2007 8:44:33 AM
Gravatar
Total Posts 18439

Re: rendering of menu issues and some random session expiring issues

Hi Aaron,

April was a long time ago, it is probable there are bugs in the version you have that have since been fixed. It sounds like you built your custom features against mojoPortal release dlls instead of source code?

I recommend you checkout mojoPortal trunk from svn then copy and rename one of the solution files and add your custom projects and build against the source code. This way you can stay up to date with the core by doing svn update.

Your custom code will probably not compile against the latest mojoPortal code so you will have to fix some things due to some renaming that has happened. Things like .SiteID .PageID, and .ModuleID are now .SiteId, PageId, and .ModuleId to match FxCop recommendations.

Also if you use the DatePicker it has been renamed to DatePickerControl. If you run into other errors compiling against the latest mojoportal code just let me know and I'll help you solve it.

I think if you get your code working and tested against the latest code in mojoportal svn trunk it will likely solve the problems.

Hope it helps,

Joe

11/26/2007 11:41:17 PM
Gravatar
Total Posts 23

Re: rendering of menu issues and some random session expiring issues

Yeah that seems like a good idea...will give that a try...

You must sign in to post in the forums. This thread is closed to new posts.