Translate

Saturday 24 September 2011

SharePoint Timer Job + Access Denied + FBA

We have configured Form Based authentication on a SharePoint 2010 claims based site and is working fine.

However timer job account is running under "Claims based user" rather than the actual ""set up account". in other words timer job is running under ” i:0#.w|dev\"setuplogin” instead of “dev\setuplogin”. Which is creating access denied error

("because the current user is not a Farm Administrator" ).

Resolution
I resoled this issue by removing and adding the user again in services. initially the user was shown as dev\mylogin and it was not working. after i removed the user and addded again it was showing as mylogin@dev.com . so i presume its taking the correcct user now.

The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact you

I was getting the below error in sharepoint 2010 server. however when i look into the state service i could see the service is running.
The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator

Resolution
1)Checked the heath analyzer and found that there is an error which says "No database is associated with the state service applications"
2) run the powershell script which most of the people suggested. it didnt work out.
3) so deleted the existing state service from central admin and recreated.
4) attached the application to the state service

It worked this time

Thursday 8 September 2011

Remedy Webservice Error

I was getting the error while trying to submit data via remedy webservice. thought of bloging my finding as it may help some one
Error
"A user name must be supplied in the control record"

Resoulution
credentials were not passing before calling the webservice.
mywebservice.AuthenticationInfo auth = null;
auth = new mywebservice.AuthenticationInfo();
auth.userName = "id@myid.com";
auth.password = "mypassword";