403 Forbidden Error

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.
8/15/2010 3:40:08 AM
Gravatar
Total Posts 21

403 Forbidden Error

Hi,

I have created website before a month in mojoportal.

The site was running successfully till yesterday.

Now , when i load the site it showing

Forbidden
You do not have permission to access this document.


--------------------------------------------------------------------------------

I have not yet changed any in web.config file.

 

Regards,

Ramesh

8/15/2010 3:56:56 AM
Gravatar
Total Posts 21

Re: 403 Forbidden Error

System Log details

2010-08-15 14:20:58,040 ERROR mojoPortal.Web.PageNotFoundHttpModule - 59.92.12.47 PageNotFoundHttpModule handled error.
System.Web.HttpException: The file '/Default.aspx' does not exist.
at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 

8/15/2010 12:27:06 PM
Gravatar
Total Posts 18439

Re: 403 Forbidden Error

Hi,

There was an issue in previous versions of mojoPortal where certain types of errors could trigger the ip address to be banned, specifically path too long exceptions.

Once the ip address is banned it will result in the 403 forbidden response. In the latest version of mojoPortal, we no longer ban ip addresses for this type of error because it can happen under normal circumstances. 

You can disable the BannedIPBlockingHttpModule by commenting it out from the <httpModules section and the <modules section in Web.config

Then you can go to Administration > Advanced Tools > Banned IP Addresses and find your address and delete it from the list of banned ip addresses.

The error in your log sounds like the file /Default.aspx does not exist on disk, it should exist. I would check and make sure it has not been removed or renamed.

Hope it helps,

Joe

8/15/2010 11:22:17 PM
Gravatar
Total Posts 21

Re: 403 Forbidden Error

Hi Joe,

Thank You... I Have uploaded the default.aspx from my backup to the root folder now the site is working Fine..

Regards,

Ramesh Karthik .B

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