Mobile 2.0 Redirect error

Mobile 2.0 Redirect error

This question is not answered

We have the following Mobile 2.0 (TelligentCommunityMobile-2.0.168.19073) setup:

• Mobile is a separate site on IIS 7.5 (same server as the TC 6.0 site)

• Using a separate Application pool

The mobile site works well except when an anonymous user clicks a User Name it throws the following error. It should be a redirect to the sign in page. New registrations work.

Exception of type 'TelligentEvolution.Mobile.Web.Data.Entities.ActionNotAuthorizedException' was thrown.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: TelligentEvolution.Mobile.Web.Data.Entities.ActionNotAuthorizedException: Exception of type 'TelligentEvolution.Mobile.Web.Data.Entities.ActionNotAuthorizedException' was thrown.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:

[ActionNotAuthorizedException: Exception of type 'TelligentEvolution.Mobile.Web.Data.Entities.ActionNotAuthorizedException' was thrown.]

  TelligentEvolution.Mobile.Web.Areas.People.Controllers.ProfileController.Index(String username) +1719

  lambda_method(Closure , ControllerBase , Object[] ) +127

  System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +264

  System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +39

  System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +129

  System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +818314

  System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +314

  System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +818432

  System.Web.Mvc.Controller.ExecuteCore() +159

  System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +335

  System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +62

  System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +20

  System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +54

  System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +469

  System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +375

All Replies
  • Is mobile installed to a sub folder or a sub domain?

  • I tried to run it as an application (per the instructions) in our TC 6.0 site but it trys to load other non-TC assemblies in the sites bin folder.

    I had success running Mobile 1.0 as a seperate site so I was trying this again.

  • Tried this in the's site web.config but that does not prevent this error either.

    <location inheritInChildApplications="false">

    <system.web>

    //Settings

    </system.web>

    </location>