246
Views
7
Comments
There was an error processing your request. Registered role required
Discussion
I am getting a wierd error.

There was an error processing your request. Please try again later...

Registered role required
Environment Information eSpaceVer: 91 (Id=4546, PubId=5592, CompiledWith=9.0.1.35)
RequestUrl: https://10.140.213.101/notificationui/_Default.aspx (Method: GET)
AppDomain: /LM/W3SVC/1/ROOT/NotificationUI-243-130946574538517396
FilePath: C:\...\PS\running\NotificationUI.322471550\CohortSubscription.aspx
Locale: en-US
DateFormat: yyyy-MM-dd
PID: 4324 ('w3wp', Started='12/3/2015 1:05:43 AM', Priv=761Mb, Virt=18359Mb)
TID: 79
Thread Name: 
.NET: 4.0.30319.34209
Stack:
Registered role required
   at ssNotificationUI.Flows.FlowMainFlow.ScrnCohortSubscription.Preparation(HeContext heContext)
   at ssNotificationUI.Flows.FlowMainFlow.ScrnCohortSubscription.Page_Load(Object sender, EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Can anyone help me in here?
2020-09-15 13-07-23
Kilian Hekhuis
 
MVP
What is weird about it? As the error says, you need to be at least registered. Apparently you weren't logged in, then tried to access a page that needs at least a Registered user.

EDIT: Btw, why isn't this in the tech forum?
2020-05-27 11-47-28
Brajesh Mehra
Yes. 

But, when I hit the page this should redirect me to the login page. But it wasn't taking me there instead throughing that error. 

When I give anonymous access then I was able to access the page. 




2020-09-15 13-07-23
Kilian Hekhuis
 
MVP
If you don't get redirected to the login page, you're neither explicitly handling this yourself, nor using a theme that has exception handling.

EDIT: P.S. If you expect to be redirected, why not put that in your first post? Instead, you said it was "weird". You can better describe what you think is weird. It's easier to help you then.
2020-05-27 11-47-28
Brajesh Mehra
May be that could be a reason as I am using SILK UI dublin template theme. 
2020-09-15 13-07-23
Kilian Hekhuis
 
MVP
I'm not sure whether that has login stuff out of the box.
2020-05-27 11-47-28
Brajesh Mehra
Now, Even though I have revoked anonymous access from the pages, I am still able to access the page. This time I am not getting any error. 

It's strange. 
2020-05-27 11-47-28
Brajesh Mehra
See, screenshots 

I don't see any users associated with my application under Users app neither I am seeing application name under users role dropdown. 
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.