complete IIS lockup

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
11/22/2010 2:16:59 PM
Gravatar
Total Posts 30

complete IIS lockup

Hi,

I just installed the latest version of mojo.

Looks very promising and I'd love to use it for number of projects. I can't get it working for more than few minutes before it locks up my IIS completely. Only reboot of the computer will fix it. IIS restart or Pool restart do nothing.

It is installe don my dev machine - Vista 64bit. with all frameworks ever issued 1.0.3 through 3.5 (no 4).

mojo is installed as a root app in the Default Website. I created separate pool for to make sure it does not conflict with any other app.

After it locks up the IIS will  not serve even plain HTML from one of virtual directories.

There are no error messages in any of the logs

 

Help!!

Thanks

jakub

This is httpoErr1 log

#Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri sc-status s-siteid s-reason s-queuename
2010-11-22 19:39:34 127.0.0.1 49254 127.0.0.1 80 HTTP/1.1 GET /SpectrumAC/Home.html - - Client_Reset -
2010-11-22 19:41:45 127.0.0.1 49255 127.0.0.1 80 HTTP/1.1 GET /eservices.aspx - - Timer_HeaderWait -
2010-11-22 19:54:19 127.0.0.1 49279 127.0.0.1 80 HTTP/1.1 GET /csshandler.ashx?skin=styleshout-refresh&s=1&v=2.3.5.5 - - Client_Reset -
2010-11-22 19:59:10 127.0.0.1 49361 127.0.0.1 80 HTTP/1.1 GET /Dialog/FileDialog.aspx?ed=ck&type=image&CKEditor=ctl00_mainContent_edContentinnerEditor&CKEditorFuncNum=1&langCode=en - - Client_Reset -
 

 

This is current.log config

2010-11-22 14:34:47,357 INFO mojoPortal.Web.Global - Application Started.
2010-11-22 14:56:36,910 INFO mojoPortal.Web.WebTaskManager - deserialized WebTaskManager task
2010-11-22 14:56:36,920 INFO mojoPortal.Web.WebTaskManager - Queued WebTaskManager on a new thread
2010-11-22 14:56:37,141 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - deserialized IndexWriterTask task
2010-11-22 14:56:37,142 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - Queued IndexWriterTask on a new thread
2010-11-22 14:57:28,126 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - started IndexWriterTask task
2010-11-22 14:57:37,182 INFO mojoPortal.Web.WebTaskManager - started WebTaskManager task

 

11/22/2010 3:20:33 PM
Gravatar
Total Posts 245
mojoPortal Community Expert

Re: complete IIS lockup

The first thing I would try is to delete mojoPortal as the root app in the Default Website.

Web.config files in the root can over-ride other Web.config files and cause the havok you are having.

On a dev PC with IIS, install mojoPortal as a Virtual Web Site pointing to the folder where the mojoPortal Web.config file is.

Hope this works.

Arivixe.com

Rick

11/22/2010 9:31:33 PM
Gravatar
Total Posts 30

Re: complete IIS lockup

I have tried that too. No difference.

I need to develop the portal in the root as it will be moved into production (if I can make it work) as a main site.

 

11/22/2010 10:33:25 PM
Gravatar
Total Posts 30

Re: complete IIS lockup

OK. Wiped out previouos installation and reinstalled into a virtual directory

Locked up whole IIS again

This is currentlog config.

2010-11-22 23:01:52,475 INFO mojoPortal.Web.Global - Application Started.
2010-11-22 23:01:52,797 ERROR mojoPortal.Web.WebTaskManager - System.Data.SqlClient.SqlException: Could not find stored procedure 'mp_TaskQueue_DeleteCompleted'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at mojoPortal.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
at mojoPortal.Data.DBTaskQueue.DeleteCompleted()
at mojoPortal.Business.TaskQueue.DeleteCompleted()
at mojoPortal.Web.WebTaskManager.StartOrResumeTasks(Boolean appWasRestarted)
2010-11-22 23:01:53,218 ERROR mojoPortal.Web.BannedIPBlockingHttpModule - handled exception:
System.InvalidOperationException: The stored procedure 'mp_BannedIPAddresses_Exists' doesn't exist.
at System.Data.SqlClient.SqlCommand.DeriveParameters()
at System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command)
at mojoPortal.Data.SqlParameterHelper.DiscoverParameters(String connectionString, String procName)
at mojoPortal.Data.SqlParameterHelper.GetParameters(String connectionString, String procName)
at mojoPortal.Data.SqlParameterHelper.InitializeArray()
at mojoPortal.Data.SqlParameterHelper.Initialize(String pConnectionInfo, String pCommandText, CommandType pCmdType, Int32 pParamCnt)
at mojoPortal.Data.SqlParameterHelper..ctor(String connectionString, String commandText, Int32 paramCnt)
at mojoPortal.Data.DBBannedIP.IsBanned(String ipAddress)
at mojoPortal.Business.BannedIPAddress.IsBanned(String ipAddress)
at mojoPortal.Web.BannedIPBlockingHttpModule.BeginRequest(Object sender, EventArgs e)
2010-11-22 23:01:53,263 ERROR mojoPortal.Business.WebHelpers.CacheHelper - Error trying to obtain siteSettings
System.InvalidOperationException: The stored procedure 'mp_Sites_SelectOneByHost' doesn't exist.
at System.Data.SqlClient.SqlCommand.DeriveParameters()
at System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command)
at mojoPortal.Data.SqlParameterHelper.DiscoverParameters(String connectionString, String procName)
at mojoPortal.Data.SqlParameterHelper.GetParameters(String connectionString, String procName)
at mojoPortal.Data.SqlParameterHelper.InitializeArray()
at mojoPortal.Data.SqlParameterHelper.Initialize(String pConnectionInfo, String pCommandText, CommandType pCmdType, Int32 pParamCnt)
at mojoPortal.Data.SqlParameterHelper..ctor(String connectionString, String commandText, Int32 paramCnt)
at mojoPortal.Data.DBSiteSettings.GetSite(String hostName)
at mojoPortal.Business.SiteSettings.GetSiteSettings(String hostName)
at mojoPortal.Business.SiteSettings..ctor(String hostName)
at mojoPortal.Business.WebHelpers.CacheHelper.LoadSiteSettings()
2010-11-22 23:01:53,266 ERROR mojoPortal.Web.UrlRewriter - System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.UrlRewriter.GetRedirectUrl(String targetUrl)
at mojoPortal.Web.UrlRewriter.RewriteUrl(HttpApplication app)
2010-11-22 23:01:53,268 ERROR mojoPortal.Business.WebHelpers.CacheHelper - Error trying to obtain siteSettings
System.InvalidOperationException: The stored procedure 'mp_Sites_SelectOneByHost' doesn't exist.
at System.Data.SqlClient.SqlCommand.DeriveParameters()
at System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command)
at mojoPortal.Data.SqlParameterHelper.DiscoverParameters(String connectionString, String procName)
at mojoPortal.Data.SqlParameterHelper.GetParameters(String connectionString, String procName)
at mojoPortal.Data.SqlParameterHelper.InitializeArray()
at mojoPortal.Data.SqlParameterHelper.Initialize(String pConnectionInfo, String pCommandText, CommandType pCmdType, Int32 pParamCnt)
at mojoPortal.Data.SqlParameterHelper..ctor(String connectionString, String commandText, Int32 paramCnt)
at mojoPortal.Data.DBSiteSettings.GetSite(String hostName)
at mojoPortal.Business.SiteSettings.GetSiteSettings(String hostName)
at mojoPortal.Business.SiteSettings..ctor(String hostName)
at mojoPortal.Business.WebHelpers.CacheHelper.LoadSiteSettings()
2010-11-22 23:01:53,419 ERROR mojoPortal.Business.WebHelpers.CacheHelper - Error trying to obtain siteSettings
System.InvalidOperationException: The stored procedure 'mp_Sites_SelectOneByHost' doesn't exist.
at System.Data.SqlClient.SqlCommand.DeriveParameters()
at System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command)
at mojoPortal.Data.SqlParameterHelper.DiscoverParameters(String connectionString, String procName)
at mojoPortal.Data.SqlParameterHelper.GetParameters(String connectionString, String procName)
at mojoPortal.Data.SqlParameterHelper.InitializeArray()
at mojoPortal.Data.SqlParameterHelper.Initialize(String pConnectionInfo, String pCommandText, CommandType pCmdType, Int32 pParamCnt)
at mojoPortal.Data.SqlParameterHelper..ctor(String connectionString, String commandText, Int32 paramCnt)
at mojoPortal.Data.DBSiteSettings.GetSite(String hostName)
at mojoPortal.Business.SiteSettings.GetSiteSettings(String hostName)
at mojoPortal.Business.SiteSettings..ctor(String hostName)
at mojoPortal.Business.WebHelpers.CacheHelper.LoadSiteSettings()
2010-11-22 23:01:53,876 ERROR mojoPortal.Business.WebHelpers.CacheHelper - Error trying to obtain siteSettings
System.InvalidOperationException: The stored procedure 'mp_Sites_SelectOneByHost' doesn't exist.
at System.Data.SqlClient.SqlCommand.DeriveParameters()
at System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command)
at mojoPortal.Data.SqlParameterHelper.DiscoverParameters(String connectionString, String procName)
at mojoPortal.Data.SqlParameterHelper.GetParameters(String connectionString, String procName)
at mojoPortal.Data.SqlParameterHelper.InitializeArray()
at mojoPortal.Data.SqlParameterHelper.Initialize(String pConnectionInfo, String pCommandText, CommandType pCmdType, Int32 pParamCnt)
at mojoPortal.Data.SqlParameterHelper..ctor(String connectionString, String commandText, Int32 paramCnt)
at mojoPortal.Data.DBSiteSettings.GetSite(String hostName)
at mojoPortal.Business.SiteSettings.GetSiteSettings(String hostName)
at mojoPortal.Business.SiteSettings..ctor(String hostName)
at mojoPortal.Business.WebHelpers.CacheHelper.LoadSiteSettings()
2010-11-22 23:01:56,516 INFO mojoPortal.Business.SiteSettings - SiteSettings expandoProperties was null so nothing was saved
2010-11-22 23:04:04,896 ERROR mojoPortal.Web.mojoBasePage - 127.0.0.1-en-US - /SAWebPortal/Secure/UserProfile.aspx
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.UI.Pages.UserProfile.PopulateControls()
at mojoPortal.Web.UI.Pages.UserProfile.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2010-11-22 23:04:04,986 ERROR mojoPortal.Web.Global - 127.0.0.1-en-US - /SAWebPortal/Secure/UserProfile.aspx
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.UI.Pages.UserProfile.PopulateControls()
at mojoPortal.Web.UI.Pages.UserProfile.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2010-11-22 23:24:34,057 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
 

11/23/2010 12:02:10 AM
Gravatar
Total Posts 245
mojoPortal Community Expert

Re: complete IIS lockup

I can't get it working for more than few minutes before it locks up my IIS completely.

This statement, that it mojoPortal actually works for a few minutes has me stumped.  Other than asking... did you set the permission on App_Data and Data to be writeable by IIS_WPG and Network Service -  I'm hoping somebody else will jump in here and  help out.

 

11/23/2010 8:01:39 AM
Gravatar
Total Posts 18439

Re: complete IIS lockup

Hi,

The errors you posted are just typical stuff expected to be logged before the setup page has run because the database tables and procedures and the initial data have not been created.

The symptom of IIS hanging after a few minutes is not something common, no-one else is reporting it and you say there is no error information which means it is very difficult for someone else to help you with.

One would expect that anything that can cause that should cause some error to be logged in the windows application log or system log or somewhere.

Vista 64bit. with all frameworks ever issued 1.0.3 through 3.5 (no 4).

eek 1.0 framework on Vista 64, you must be supporting a lot of older code, I would not want to install the 1.0 or 1.1 framework on my machine. In any case it sounds like you have a lot of stuff installed, maybe you have some combination that causes such problems. And if you have all those frameworks why not .NET 4? You need at least 3.5 SP1 to run mojoPortal correctly with no errors. and if you are using .NET 3.5 SP1 then make sure you are installing the mojoportal package for 3.5 like mojoportal-2-3-5-5-mssql-net35-deploymentfiles.zip, or if you do install .NET 4 then use mojoportal-2-3-5-5-net40-deploymentfiles.zip

Make sure you have all the windows updates applied.

Other things that could be a factor

  • any 3rd party modules installed in IIS
  • a virus on your machine
  • anti-virus software on your machine
  • services like indexing service if they are running especially if they try to index the folders where the web site is running
  • low memory or disk space
  • mercury in retrograde

If it were me I would dig extensively into the windows logs and maybe monitor processes and memory leading up to the hang, I would look into uninstalling older frameworks if you are not using them and any other software that you may have installed just to try but are not using. Then try installing .NET 4 and use the .NET 4 version of mojoportal.

With no error detail, that's all I've got for you, sorry.

Best,

Joe

11/23/2010 11:07:53 PM
Gravatar
Total Posts 30

Re: complete IIS lockup

Thanks for your answers.

Figured it out. It appears to be caused by the AVG Antivirus. It only happens in Admin pages

I am not sure what is causing it, since it happens even when the resident shield is disabled. Only when entire AVG is disabled it does not happen. I have the mojo root in the Ingnore list in AVG.

Not sure how to fix it. All my other Net apps run fine with AVG.

Thanks for your help. Now that I got it running (sort of) I really like it.

 

 

11/24/2010 9:01:25 AM
Gravatar
Total Posts 18439

Re: complete IIS lockup

I use the free Windows Security Essentials and have not had any problems on my dev machine, I don't know about AVG maybe it is being overzealous about the word admin in the url or something, there is certainly nothing virus like in the code.

Make sure you don't have any .NET 3.5 or 2.0 apps running in the same application pool as a .NET 4 app, that would cause a hang if mojoportal was running and then a request came in for the other app that uses a different framework version. The same issue exists if you try to run a 1.x framework app in the same app pool as a 2.0/3.5 app, so if you are running the 3.5 .NET version of mojoPortal and you have another app like a 1.x app running in the same app pool that would cause it to hang as soon as the other app gets a request.

11/24/2010 9:55:06 AM
Gravatar
Total Posts 30

Re: complete IIS lockup

I will try to track down the AVG issue.

I have separate Pool for each NET version. Even created separate pool for the mojo just to be sure.

Is there any compelling reason to use NET 4? Every NET version tends to break stuff in apps developed in previous versions, so I am hesitant to  add it. I have enough NETs installed as it is :)

 

11/24/2010 11:29:07 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: complete IIS lockup

To me, the most compelling reason to switch to .NET 4 is that mojoPortal began the .NET 4 transition on May 20, 2010, and support for running mojoPortal under .NET 3.5 is eventually going to end. In fact, there have been so many problems posted to the forums where people have been mixing and matching their .NET versions incorrectly with mojoPortal, I actually hope the transition can be completed very soon just to end the confusion! Obviously, Joe will have to wait until he feels .NET 4 is sufficiently supported by .NET shared hosting sites.

If you are curious about what .NET 4 offers in general, take a look at this MSDN page.

11/24/2010 8:51:47 PM
Gravatar
Total Posts 30

Re: complete IIS lockup

Well, I ended up removing AVG. There was no way to make it work with Mojo. I switched off all modules that could be switched off and it still killed the mojo.

Still do not know why. Now I have Essentials but that does not seem to scan emails

I will probably set it up in NET 4 on the staging server and on production server. Is there a way to upgrade/move the content (backend and templates) from the 3.5 version on my Dev computer to Net 4 on the staging server?

Thanks

 

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