ERROR mojoPortal.Web.Global

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
6/20/2008 3:41:59 AM
Gravatar
Total Posts 9

ERROR mojoPortal.Web.Global

We keep seeing the same error time and again but with different IPs. The other is about the send forum notification which was logged as a result of the posting but one of the users but when I happened to verify this personally everything went fine,

 

2008-06-18 23:07:54,929 [6680] ERROR mojoPortal.Web.Global [(null)] - 152.3.138.5-en-US - /Controls/StyleSheet.ascx
System.Web.HttpException: Path '/Controls/StyleSheet.ascx' is forbidden.
at System.Web.HttpForbiddenHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2008-06-19 01:58:07,616 [9348] ERROR mojoPortal.Business.WebHelpers.IndexBuilderManager [(null)] - System.Configuration.Provider.ProviderException: No IndexBuilderProvider found.
at mojoPortal.Business.WebHelpers.IndexBuilderManager.Initialize()
2008-06-19 22:40:47,413 [5624] INFO mojoPortal.Web.Global [(null)] - Global.asax.cs Application_End
2008-06-19 22:51:03,757 [4620] INFO mojoPortal.Web.Global [(null)] - Application Started.
2008-06-20 09:57:54,898 [9252] INFO mojoPortal.Web.Global [(null)] - Global.asax.cs Application_End
2008-06-20 10:10:17,538 [9412] INFO mojoPortal.Web.Global [(null)] - Application Started.
2008-06-20 10:10:18,023 [8472] ERROR mojoPortal.Web.Global [(null)] - 81.19.151.110-en-US - /default.aspx
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.BannedIPBlockingHttpModule.IsBanned(String ip)
at mojoPortal.Web.BannedIPBlockingHttpModule.BeginRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2008-06-20 10:10:35,726 [2708] INFO mojoPortal.Web.Global [(null)] - Global.asax.cs Application_End
2008-06-20 10:21:17,570 [9412] INFO mojoPortal.Web.Global [(null)] - Application Started.
2008-06-20 12:10:11,632 [9828] INFO mojoPortal.Web.Global [(null)] - Application Started.
2008-06-20 12:11:15,023 [5868] INFO mojoPortal.Web.Global [(null)] - Application Started.
2008-06-20 12:22:02,116 [4844] INFO mojoPortal.Web.Global [(null)] - Application Started.
2008-06-20 12:58:15,679 [3744] ERROR mojoPortal.Business.WebHelpers.IndexBuilderManager [(null)] - System.Configuration.Provider.ProviderException: No IndexBuilderProvider found.
at mojoPortal.Business.WebHelpers.IndexBuilderManager.Initialize()
2008-06-20 12:59:55,882 [3744] ERROR mojoPortal.Web.mojoBasePage [(null)] - 121.246.81.25-en-US - /ForumPostEdit.aspx?thread=12&forumid=2&pageid=15&pagenumber=1
System.Net.Mail.SmtpException: The operation has timed out.
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at mojoPortal.Net.Email.SendEmail(String from, String to, String cc, String bcc, String subject, String messageBody, Boolean html, String priority)
at mojoPortal.Net.Notification.SendForumNotificationEmail(String subjectTemplate, String bodyTemplate, String fromEmail, String siteName, String moduleName, String forumName, String subject, DataSet subscribers, String messageLink, String unsubscribeForumThreadLink, String unsubscribeForumLink)
at mojoPortal.Web.ForumUI.ForumPostEdit.btnUpdate_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2008-06-20 12:59:55,960 [3744] ERROR mojoPortal.Web.Global [(null)] - 121.246.81.25-en-US - /ForumPostEdit.aspx?thread=12&forumid=2&pageid=15&pagenumber=1
System.Net.Mail.SmtpException: The operation has timed out.
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at mojoPortal.Net.Email.SendEmail(String from, String to, String cc, String bcc, String subject, String messageBody, Boolean html, String priority)
at mojoPortal.Net.Notification.SendForumNotificationEmail(String subjectTemplate, String bodyTemplate, String fromEmail, String siteName, String moduleName, String forumName, String subject, DataSet subscribers, String messageLink, String unsubscribeForumThreadLink, String unsubscribeForumLink)
at mojoPortal.Web.ForumUI.ForumPostEdit.btnUpdate_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2008-06-20 13:02:32,491 [4844] ERROR mojoPortal.Web.mojoBasePage [(null)] - 61.17.37.182-en-US - /ForumPostEdit.aspx?thread=12&forumid=2&pageid=15&pagenumber=1
System.Net.Mail.SmtpException: The operation has timed out.
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at mojoPortal.Net.Email.SendEmail(String from, String to, String cc, String bcc, String subject, String messageBody, Boolean html, String priority)
at mojoPortal.Net.Notification.SendForumNotificationEmail(String subjectTemplate, String bodyTemplate, String fromEmail, String siteName, String moduleName, String forumName, String subject, DataSet subscribers, String messageLink, String unsubscribeForumThreadLink, String unsubscribeForumLink)
at mojoPortal.Web.ForumUI.ForumPostEdit.btnUpdate_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2008-06-20 13:02:32,491 [4844] ERROR mojoPortal.Web.Global [(null)] - 61.17.37.182-en-US - /ForumPostEdit.aspx?thread=12&forumid=2&pageid=15&pagenumber=1
System.Net.Mail.SmtpException: The operation has timed out.
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at mojoPortal.Net.Email.SendEmail(String from, String to, String cc, String bcc, String subject, String messageBody, Boolean html, String priority)
at mojoPortal.Net.Notification.SendForumNotificationEmail(String subjectTemplate, String bodyTemplate, String fromEmail, String siteName, String moduleName, String forumName, String subject, DataSet subscribers, String messageLink, String unsubscribeForumThreadLink, String unsubscribeForumLink)
at mojoPortal.Web.ForumUI.ForumPostEdit.btnUpdate_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2008-06-20 13:06:33,195 [4844] INFO mojoPortal.Web.Global [(null)] - Global.asax.cs Application_End
2008-06-20 13:07:06,991 [3472] INFO mojoPortal.Web.Global [(null)] - Application Started.
2008-06-20 13:14:40,570 [9548] ERROR mojoPortal.Business.WebHelpers.IndexBuilderManager [(null)] - System.Configuration.Provider.ProviderException: No IndexBuilderProvider found.
at mojoPortal.Business.WebHelpers.IndexBuilderManager.Initialize()
2008-06-20 13:46:03,960 [296] INFO mojoPortal.Web.Global [(null)] - Global.asax.cs Application_End
2008-06-20 13:46:27,820 [9548] INFO mojoPortal.Web.Global [(null)] - Application Started.
2008-06-20 13:49:56,632 [9548] ERROR mojoPortal.Business.WebHelpers.IndexBuilderManager [(null)] - System.Configuration.Provider.ProviderException: No IndexBuilderProvider found.
at mojoPortal.Business.WebHelpers.IndexBuilderManager.Initialize()

6/20/2008 5:59:03 AM
Gravatar
Total Posts 18439

Re: ERROR mojoPortal.Web.Global

Hi,

The smtp error likely means that it failed to relay mail to one or more of the subscribers to your forums. This is most likely incirrect email addresses or mail server not available or not responsive. So its not a problem in mojoportal, its trying to relay the mail but its getting a timeout when relaying to some addresses.

The other error and variations thereof I see all the time in my own logs as well and I believe they are bots not real visitors raising those errors.

ASP.NET protects certain file extensions like .ascx and .config as these files are not meant to be requested directly by an http request. .ascx is a user control, its never requested directly, its normally contained inside a page (.aspx is a page extension it is not protected as it is expected to be requested via an http request).

Whenever a web request is made for a protected file, ASP.NET invokes the HttpForbiddenHandler which does not serve the file but raises an exception. mojoPortal is just logging this exception and this is what you see in your log.

Its possible for a user to raise this exception but it won't happen in normal use of mojoportal. You can try it your self by requesting the url yoursiteroot/Controls/StyleSheet.ascx

or

yoursiteroot/Web.config

You will see the same errors in your log.

These bots are a big nuisance but are not causing any real harm unless you get huge volume of requests like this.

Best,

Joe

6/20/2008 6:41:04 AM
Gravatar
Total Posts 9

Re: ERROR mojoPortal.Web.Global

Thanks for the prompt reply. I am a coder/product manager myself and understand the architecture of ASP.NET or .NET as a framework but could not decipher the error that was logged and thought it might be best to ask you or get help from mojoPortal forums itself. I did verify all the email ids of the members and found them to be valid email. Another error that has just popped up is as follows

2008-06-20 14:19:46,976 [3472] ERROR mojoPortal.Web.mojoBasePage [(null)] - 121.246.81.25-en-US - /ForumPostEdit.aspx?thread=10&forumid=2&pageid=15&pagenumber=1
System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: not local host gmail.com, not a gateway
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at mojoPortal.Net.Email.SendEmail(String from, String to, String cc, String bcc, String subject, String messageBody, Boolean html, String priority)
at mojoPortal.Net.Notification.SendForumNotificationEmail(String subjectTemplate, String bodyTemplate, String fromEmail, String siteName, String moduleName, String forumName, String subject, DataSet subscribers, String messageLink, String unsubscribeForumThreadLink, String unsubscribeForumLink)
at mojoPortal.Web.ForumUI.ForumPostEdit.btnUpdate_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2008-06-20 14:19:47,085 [3472] ERROR mojoPortal.Web.Global [(null)] - 121.246.81.25-en-US - /ForumPostEdit.aspx?thread=10&forumid=2&pageid=15&pagenumber=1
System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: not local host gmail.com, not a gateway
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at mojoPortal.Net.Email.SendEmail(String from, String to, String cc, String bcc, String subject, String messageBody, Boolean html, String priority)
at mojoPortal.Net.Notification.SendForumNotificationEmail(String subjectTemplate, String bodyTemplate, String fromEmail, String siteName, String moduleName, String forumName, String subject, DataSet subscribers, String messageLink, String unsubscribeForumThreadLink, String unsubscribeForumLink)
at mojoPortal.Web.ForumUI.ForumPostEdit.btnUpdate_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2008-06-20 14:52:02,320 [5888] INFO mojoPortal.Web.Global [(null)] - Application Started.
 

I do not think so that authentication is an issue over here.

 

6/20/2008 6:55:07 AM
Gravatar
Total Posts 18439

Re: ERROR mojoPortal.Web.Global

The error is very clear:

Mailbox unavailable. The server response was: not local host gmail.com, not a gateway

There is some address it is trying to relay to and this error is happening. I don't think its an authentication issue. Authentication will only be for the sending email account, this error is returned by the server for the recipient not the sender.

google this error for more

I would make sure your default from address in site settings is the same as the actual account used to send mail as the above response can also happen if the recieving server thinks the sender is spoofing a different email account. Some spam blockers will return this response to discourage traffic they detect as spam and this can happen if the from address is not the real sender.

Hope it helps,

Joe

6/20/2008 10:13:05 AM
Gravatar
Total Posts 9

Re: ERROR mojoPortal.Web.Global

Thanks. We did have different mail ids configured. We've changed that.

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