Question

Photo of Raul ald

0

login/redirect issue

Not sure if this is a bug or just a wrong setup on my part.

 

When users log in, they are sent to a "page not found" and I get the following e-mail:

 

An exception has occurred. Details of this error can be found below:

An error occurred on the Rock RMS site on page:
http://site.org:80/page/316

HttpUnhandledException in System.Web

Message
Exception of type 'System.Web.HttpUnhandledException' was thrown.

Stack Trace
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.themes_rock_layouts_fullwidth_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

-ArgumentException in System

Message
The parameter 'address' cannot be an empty string. Parameter name: address

Stack Trace
at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding)
at System.Net.Mail.MailAddress..ctor(String address, String displayName)
at Rock.Communication.Transport.SMTPComponent.Send(Communication communication)
at Rock.Communication.MediumComponent.Send(Communication communication)
at Rock.Communication.Medium.Email.Send(Communication communication)
at RockWeb.Blocks.Crm.PhotoSendRequest.btnTest_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.LinkButton.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)

 

 

Any help is appreciated, thanks.

  • Photo of Raul ald

    0

    Hello Frank,

    Thank you for taking the time to reply.

    I have setup security roles, right now the only one that gets directed where it needs to is the top level admin. I added a user with pastoral level access with I'd assume would be able to access quite a bit but it goes to that restricted access page.

    Are there certain security that are allowed that, that I should be adding them to?

    • Frank Grand

      Each block can have it's own security, looks like most of the blocks I looked at had permissions for admin, staff, and staff like users and then deny for everyone else. I would think the options are if you want that pastoral level to have access you need to check each block's security and make sure it's added. Otherwise, staff or staff like might be what you want.

    • Rock RMS

      To confirm Frank's answer above it was intended that users in the 'Pastoral Staff' role would also be in the 'All Staff' role.

  • Photo of Raul ald

    0

    Please disregard error thrown part, that is something entirely different, although help on that would be helpful as well.

     

    But main concern is login redirect to this: http://shpdg.us/1kLJp

  • Photo of Frank Grand

    0

    Hi Raul,

    Have you set up User Accounts and given them security roles?  You can do this on a person's profile page, under the security tab.

    I've made the mistake a bunch of times of setting up an account, but not giving them a security role.

  • Photo of Raul ald

    0

    Thank you very much for the help!