181 reputation
521
bio website
location Argentina
age 26
visits member for 2 years, 11 months
seen Mar 16 at 17:39

Jan
13
comment Problem with SP2013 solution scope: WebApplication vs GAC
@WaqasSarwarMCSE Added
Dec
27
comment Where to store dynamic connection string in provider-hosted app?
Yes but the script that creates the database is a powershell script. And it runs before the app is installed, so there's no web.config...
Dec
27
comment Where to store dynamic connection string in provider-hosted app?
I don't think that's going to work in a provider hosted app. The code from the link includes things like SPSecurity.RunWithElevatedPrivileges which is clearly not available in a Sharepoint App.
Nov
15
comment Getting 401/403 in High Trust App for Sharepoint 2013
@aliSharepoint Yes I know, but it all the guides I've read, where it tells you to use a self-signed certificate and walk you through the whole process it tells you that you can OPTIONALLY disable HTTPS requirement for OAuth, it doesn't say it's mandatory when using a test certificate like it says in the link I posted in my last comment.
Nov
14
comment How to know which users viewed which documents in provider-hosted Sharepoint 2013 App
Can you elaborate or link me to a resource to do number 2? If I can generate a HTTP Post request from the client side that will track (and save to an on-premise sql db) when a user views or modifies a document that would be PERFECT.
Nov
14
comment How to know which users viewed which documents in provider-hosted Sharepoint 2013 App
According to this msdn.microsoft.com/en-us/library/jj245254.aspx SP.ChangeQuery API is JS. I'm looking for something that can be used from server side (I'm using a high-trust STS app so server side code is available, just not full trust code). 2) and 3) doesn't seem to be a viable solution since I need to provide this for different companies, with different environments and I need something that can be all packed-up in a provider-hosted SP app. 3) is what we did on SP2010 full-trust solution. Isn't a way to query the SP.ChangeQuery via CSOM?
Oct
25
comment Getting 401/403 in High Trust App for Sharepoint 2013
@aliSharepoint Ok, I finally got it working. I had to turn of the HTTPS requirement for OAuth during development (msdn.microsoft.com/en-us/library/fp179901.aspx) because I'm using a self-signed test certificate. I don't know why I was getting 401, but now it works and it's all I care. Thank you again for all your answers.
Oct
25
comment Getting 401/403 in High Trust App for Sharepoint 2013
@aliSharepoint Unfortunately I've already seen that post and double-checked everything it says. I've tried all the things I've found in blog posts, articles, etc. about High Trust Apps in Sharepoint 2013 and how to get rid of the 401 error. I'm pretty sure it's something about the configuration of Sharepoint 2013 in the Cloudshare environment. But I don't know what it is.
Oct
23
comment Getting 401/403 in High Trust App for Sharepoint 2013
It's not the loopback thing, I've already tried that. The site is accessible from a client machine. I still haven't found the issue. I gave you the bounty cause you were really helpful with your long answer. But still dealing with this problem. I'm using NTLM, I have synchronized the profiles, I've done the New-SPTrustedSecurityTokenIssuer several times.... This is frustrating.
Oct
17
comment Getting 401/403 in High Trust App for Sharepoint 2013
Thanks again for the answer. I'll check everything you pointed out but want to make clear that there are no 2 servers. The same place where the app resides is where Sharepoint is and where I develop using VS2012. It's a Cloudshare environment.
Oct
16
comment Getting 401/403 in High Trust App for Sharepoint 2013
Thanks for the long reply. Unfortunately, I've already tried all of that. Tried disabling HTTPS, didn't work. Yes, I'm using the default code that comes with the provider-hosted app for Sharepoint 2013 which indeed uses the TokenHelper class. Regarding permissions, I'm not trying to do anything but the default code which I think only authenticates the user and nothing more. And regarding the ID, VS2012 doesn't update the IssuerId, just the ClientId. The IssuerId corresponds with the one get from Get-SPTrustedSecurityTokenIssuer, and yes, both are lowercase. This is driving me crazy.
Oct
15
comment Getting 401/403 in High Trust App for Sharepoint 2013
@billfredtom It was set to "Trusted sites". I move it to "Local intranet", nothing happened. Same error.
Sep
26
comment Feature with Id 'guid' is not installed in this farm, and cannot be added to this scope
@MarcoScheel Yes, yes it is.
Sep
26
comment Getting “(401) Unauthorized” error while trying to run Provider-Hosted app in SharePoint 2013
Have you been able to fix this issue?
Sep
24
comment Feature with Id 'guid' is not installed in this farm, and cannot be added to this scope
I'm testing this installer in Cloudshare environments, which are just one VPS with SP2013 and everything needed to run it. Yes, I can manually enable the feature via the site and also via powershell.
Sep
22
comment Feature with Id 'guid' is not installed in this farm, and cannot be added to this scope
The installer is based on this project: sharepointinstaller.codeplex.com which already has a step that waits for the deployment job to be finished before trying to activate the feature.
Apr
9
comment How to get all keywords from the Keywords termset programatically (Enterprise Keywords)
Yes, I've already done that... but once I have a Term I can't find how to get the documents that have this term as enterprise keyword. I'm thinking this is not possible from these Taxonomy classes.
Feb
28
comment How to search/query by Enterprise Keywords?
I have to do it programatically.
Feb
26
comment How to search/query by Enterprise Keywords?
And where exactly does that query go? SPQuery?
Jan
4
comment How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#?
@natdico Well this worked in a Console test project but it doesn't in a ASP.NET project. Maybe it's because the default credentials for each one are different? I mean they're running with different accounts? How can I check that?