Reputation
266
Top tag
Next privilege 300 Rep.
Create new tags
Badges
2 11 29
Impact
~72k people reached

  • 0 posts edited
  • 0 helpful flags
  • 18 votes cast
Mar
28
revised Access denied in Sharepoint 2010 HTTP handler (.ashx)
deleted 502 characters in body
Mar
22
revised Access denied in Sharepoint 2010 HTTP handler (.ashx)
solution added
Mar
22
comment Access denied in Sharepoint 2010 HTTP handler (.ashx)
Yes, I understand, but if you see my Update 2 you will see that the problem is inside the handler, not accessing it. I can access it, but some code inside is doing something that non-admin users doesn't have permission to do.
Mar
22
revised Access denied in Sharepoint 2010 HTTP handler (.ashx)
added 299 characters in body
Mar
22
comment Access denied in Sharepoint 2010 HTTP handler (.ashx)
Yes, the http handler is located under 'root-site/_layouts/myHandler/myHandler.ashx'. See my update, the users getting this errors are those that aren't admin, but contributing members. The weird thing is that the other 2 web parts that works, also have a http handler like this, located under layouts mapped folder. So I don't know why these 2 works, but the other one doesn't. I didn't understand where to use what you said. I'm just trying to access the handler via URL to test if it works. The webpart uses jQuery.ajax to call the handler.
Mar
22
revised Access denied in Sharepoint 2010 HTTP handler (.ashx)
added 197 characters in body
Mar
22
asked Access denied in Sharepoint 2010 HTTP handler (.ashx)
Feb
13
awarded  Popular Question
Feb
6
awarded  Popular Question
Dec
28
comment Problem with WCF Web Service in SP2010
@AmitKumawat Yes, the project is in .NET 3.5.
Dec
28
comment Problem with WCF Web Service in SP2010
@JamesLove I've updated the answer including the content of the .svc file.
Dec
28
revised Problem with WCF Web Service in SP2010
added 583 characters in body
Dec
27
asked Problem with WCF Web Service in SP2010
Dec
16
awarded  Popular Question
Nov
10
accepted Problem with HTTP Handler deployed on Sharepoint 2010
Nov
10
comment Problem with HTTP Handler deployed on Sharepoint 2010
Don't be so religious, he's not saying to modify the global.asax permanently. I've just found what the error was using this method, fixed the problem and the reverted the global.asax to its default version. So what's the problem with that? This was the only answer that gave me a way to find the exception I was getting. Thanks Amit.
Nov
9
comment Problem with HTTP Handler deployed on Sharepoint 2010
Yes, I did iisreset. I don't think how deploying the handler in another folder in _layouts would help, but I'll try it anyway.
Nov
9
comment Problem with HTTP Handler deployed on Sharepoint 2010
Yes, I'm trying to do the Application_Error in global.asax but this is a Sharepoint 2010 application and I can't see the global.asax file anywhere. Is there a way to create it and add this event to catch the error?
Nov
9
comment Problem with HTTP Handler deployed on Sharepoint 2010
1. Yes, I have already replaced the Assembly directive with the correct name, version and token (from SN command), still the same. 2. The content type is set to text/html because it actually returns html code. 3. There's no error in the code, because I put a big try/catch to get the exception and it's not raising, the error is from the ashx file not the .cs.
Nov
3
comment Problem with HTTP Handler deployed on Sharepoint 2010
I did register the httpHandler in the web.config but it didn't change anything. Same error...