.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Kaviya Balasubramanian
Imran Ghani
Post New Web Links

Sharepoint 2010 Multi-Tenancy Access Denied on Tenant Administration Site

Posted By:      Posted Date: September 03, 2010    Points: 0   Category :SharePoint
 
Hi, I am currently implementing a Sharepoint 2010 Multi-Tenancy solution. Multi-tenancy is the partitioning of service applications in 2010 to allow data to be separated between web applications or site collections. I am using multi-tenancy to separate data and user profiles between site collections hosted on a single web application. I have partitioned the User Profile Service Application and Proxy using Windows Powershell. The paritioned Proxy Application is then associated with the single web application. I am also using the Sharepoint Foundation Subscription Service Application to subscribe to different site collections within the web application. In this way data and user profiles can be separated. However, the tenant administration site, used to manage each collection, does not allow administrator access to manage the User Profile Service. I receive a standard Sharepoint 'Access Denied' error message. No other errors or details are provided. I have tried assigning different accounts to the tenant administration site but the error still appears. The issue arises when I issue the following SPSite Powershell cmdlet: NEW-SPSite -Owneralias DOMAIN\Username -Secondaryowneralias DOMAIN\Username. The attributes provided in the Cmdlet above are used to assign tenant site administrators however, the accounts cannot access the User Profile Service. Any ideas or recommendati


View Complete Post


More Related Resource Links

Access Denied while user logs out sharepoint 2010 FBA site

  

Hi,

 

I've sharepoint 2010 site configured as forms based authentication having my custom membership provider. 

On this site, i've a simple webparts that basically contains a asp.net login status control to allow users to login/logout. it works fine .. when user is not logged in it shows Login link that redirects users to the login page and when user is logged in, it shows Logout link. 

but when i click logout link, user is not logged out completely. I get this error - Access denied and when i go back to the page (by clicking on the link provided on error page or just refresh the page) - the user is still logged in on the site !!

Here's the code snippet of my webpart:

This exact same functionality is working fine MOSS but it doesn't seem to work here !!

 

protected override void CreateChildControls()
{
LoginStatus loginStatus = new LoginStatus();
loginStatus.LoginText = "Log in";
loginStatus.LogoutText = "Log out";
loginStatus.LogoutAction = LogoutAction.RedirectToLoginPage;

this.Controls.Add(login

Sharepoint site client access denied

  

I have an sharepoint application which was working fine.

I encountered a license expired message in sql server enterprise evaluation 2008 version after which i changed the date to 2 months earlier date, I have also changed HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100\ConfigurationState to 3 after which sql server started working but the issue is that the clients are unable to access the sharepoint site completely. On providing the url the web site requests for logon information and then access is denied. The same url with the same authentication credentials is accessible from the server and the entire application works fine from the server. 

From the  client the below error page appears.

You are not authorized to view this page

You do not have permission to view this directory or page using the credentials that you supplied.


Please try the following:

  • Contact the Web site administrator if you believe you should be able to view this directory or page.
  • Click the Refresh button to try again with different credentials.

HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.
Internet Information Services (IIS)


Techni

SharePoint 2007 Expiration Policy Not working : Access denied for the site

  

I have a SharePoint 2007 List with Expiration Enabled in Information and Policy Management. I have a datatime column ExpiryDate which i used in Expiration. On Expiration I have chose to delete the item. Through Central Admin I run the expiration by clicking "Process Expired Items now" button. I got the following error in the Windows event viewer.

Expiration Service for site http://md-rmanimaran failed.

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

EventID: 5016

Category: Information Policy Management 

Where I need to specify the login details to get rid of this error? Anybody Please help..

Thanks

R.Manimaran

 


Sharepoint 2010-Site Anonymous access

  
i have enabled Anonymous access for my site , and also turned the option 'Entire Site' under Anonymous Access but still i am prompted for the authentication when i try to access the Site. is there any solution for this .....???

custom timer job Access denied sharepoint 2010

  
Hi, I have a question regarding to custom timer job will be happy if you could help us. The problem is that - owstimer.exe running the timer job crashes. - Question why? Launch debugg in the feature - running the timer job is falling on taskJob.Update (); writes SecurityException  I developed the Job TIMER on moss2007 that everything worked, Now we turned from 2007 to sharepoint 2010 and Job TIMER does not work. I tried to note all of the code is inside the function Execute in  job timer might have something to code blocks. But it also did not help. Eventvwr he writes in the following error: The description for Event ID 0 from source Application can not be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: Custom Timer Jobs: func FeatureActivated Access denied. the message resource is present but the message is not found in the string / message table what the solution to that-timer job that will work? Thank you Moshes

Cannot access parent site list from subsite in XSLt List View webpart in sharepoint designer 2010

  
Hi    We are using sharepoint 2010  for internet facing sites for our big client in healthcare domain .  I am using XSLT list view webpart in sharepoint designer 2010 for retrieving contents from sharepoint list & displaying it by using XSLT List view webpart in publishing sites. We are having lot of list in rootsite collection, If i am creating pages by using XSLt list view webpart in root site collection I can access the list,View and Display in Pages by XSLT List view webpart. Now the requirement is i have to access the list in roosite collection(parent site) from subsites.  In Sharepoint designer 2010, while i am inserting XSLT list view webpart, i could not find datasource to access the list that exist in rootsite collection(Parent site) from subsite. Below is the the code i am using for accessing the list& view from parent site & creating the pages in parent site by using xslt list view webpart,now i wants to access parent site list from subsite by using XSLT list view webpat in subsite pages.  Pls let me know what i have to change in the code level <WebPartPages:XsltListViewWebPart runat="server" Description="The list for the conditions details" ListDisplayName="" PartOrder="2" Default="FALSE" HelpLink="" AllowRemove="True" IsVisible="True" All

Cannot access parent site list from subsite in XSLt List View webpart in sharepoint designer 2010

  
Hi    We are using sharepoint 2010  for internet facing sites for our big client in healthcare domain .  I am using XSLT list view webpart in sharepoint designer 2010 for retrieving contents from sharepoint list & displaying it by using XSLT List view webpart in publishing sites. We are having lot of list in rootsite collection, If i am creating pages by using XSLt list view webpart in root site collection I can access the list,View and Display in Pages by XSLT List view webpart. Now the requirement is i have to access the list in roosite collection(parent site) from subsites.  In Sharepoint designer 2010, while i am inserting XSLT list view webpart, i could not find datasource to access the list that exist in rootsite collection(Parent site) from subsite. Below is the the code i am using for accessing the list& view from parent site & creating the pages in parent site by using xslt list view webpart,now i wants to access parent site list from subsite by using XSLT list view webpat in subsite pages.  Pls let me know what i have to change in the code level <WebPartPages:XsltListViewWebPart runat="server" Description="The list for the conditions details" ListDisplayName="" PartOrder="2" Default="FALSE" HelpLink="" AllowRemove="True" IsVisible="True" All

Configuring SharePoint Foundation 2010 with ADFS 2.0 in a multi-tenant environment using subscripti

  
Hi, I am trying to configure SharePointFoundation 2010 and ADFS 2.0 in a multi-tenant environment, where I have one Web Application and two site collections, each one under one subscription.  At this point is still a very simple infrastructure with one single Domain, AD and ADFS.  My problem starts with the configuration of ADFS 2.0 as Identity Provider in SharePoint. Since I have only one web application, the directory for the incoming token is "_trust" is placed at the root level or the application. Is there a way to change the location where this directory is created, so I can have one distinct one for each one of my site collections ? Or in other words, is there a way to have on identity provider by site collection ?  Thank in you advance for any information on this.   --MD.      

Access Denied/The workflow could not copy the item workflow error after Sharepoint 2010 upgrade

  
We have a sharepoint designer workflow that copies a document from one library to another on the same site.  Before the upgrade to 2007 it worked fine, but now with 2010 it gives an error and cancels the workflow when it gets to the copy list item step.   The error on the workflow page: The workflow could not copy the item. Make sure the source and destination lists have the same columns and column settings.  Access Denied   Specifically it is the "copy list item current item to documentlibrary" sharepoint designer workflow action.   I have given the system account full permissions to the library and double checked that all columns are the same in both libraries. These are the verbose trace logs:   09/01/2010 09:46:04.05 w3wp.exe (0x17C4) 0x093C SharePoint Foundation Workflow Infrastructure 72er Medium System.UnauthorizedAccessException: <nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied. at Microsoft.SharePoint.SPFile.UpdateInternal(Boolean migrationSemantics, Boolean reGhost) at Microsoft.SharePoint.Workflow.SPWinOEWSSService.CommitCopyFile(Transaction txn, Object[] transData) 09/01/2010 09:46:04.05 w3wp.exe (0x17C4) 0x093C SharePoint Foundation Workflow Infrastructure 72fe High Error in commiting pending workflow batch items: Sys

Access list from other site-sharepoint 2010

  
i am building a SharePoint site with many sub sites , in a publishing sub site i need to display a data view of a list that exists in other site how do i do it through Share-point designer 2010 or is there way using Visual Studio 2010 .Please provide me the best solution.  Thanks in advance.

SharePoint 2010 organization installation without access to Central Administration?

  
Our organization of 5000+ internal users and 1000 external vendors wants to integrate SharePoint 2010. We are are being mandated to use an offering of SharePoint 2010 in the cloud. All peer organizations are also being told to use this service, and we are all going to be on a single SP farm. We want to have several internal site collections, customization of MySites, an extranet, and a public facing site. We will not have the ability to access central administration ourselves, we have to go through a centralized state IT department and have them make changes for us. We will only have admin abilities for our own site collections. Installing 3rd party web parts will be a nightmare process as well as making small changes to central admin resources as we are dependent on their time-line to test and integrate these for us. What issues are we likely to see because of this, and is this even a feasible option for us? BTW, they do not uphold SLA agreements and currently they sometimes take days or weeks to fix issues, where our people would take care of it in hours if possible.

Handling access denied in sharepoint 2010

  

Hi all,

we have the following scenario:

we want to add users to sharepoint site programmatically. The authentication provider is custom.

The user login using the login form and if the user is authenticated on the custom provider but not present on sharepoint, we would like to add it to sharepoint site. Can we intercept the access denied and then add the user by code?

Anyone can help about the scenario?


SharePoint 2010 - Crawl Fails - Access is denied

  

Please help!!  I have recreated the Search Service Application and when I try to do any type of crawl - I get the following error.  I can not figure out where the problem is.  The event logs indicate the same error as well.  I think it should be pretty straight forward.  I have already disabled the loopBackCheck in the registry.

Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has "Full Read" permissions on the SharePoint Web Application being crawled.

Please help!  Thank you.

Walid


Sharepoint 2010 Central Administration Web site on Windows 7 comes up empty

  

Using the information presented at http://msdn.microsoft.com/en-us/library/ee554869.aspx (slightly modified to accommodate the fact that the SharePoint 2010 is today distributed in the form of an ISO file), I was able to finish all steps including all 10 steps of the configuration wizard. Dismissing the wizard should result with launching the browser showing the new SharePoint site - in my case however, that browser shows a completely empty page.

Similarly, selecting the SharePoint 2010 Central Administration entry from the Microsoft SharePoint 2010 Products folder (on the list of all installed products) results with the browser started at URL http://nik-workstation:23789/ - which is also completely empty

Since UAC is disabled - it ought to be the database. I believe that before installing SP 2010, I had SQL Server 2008 and SQL Server 2008 R2 November CTP (this is required by Azure AppFabric development) and I was hoping that the SP installer will find the database that fits the best. 

What is the best way to handle this? What is causing the problem?


Nik

SharePoint 2010 - Access Denied 403 error when viewing a list

  

Hey,

We have a solution packaged as a WSP. It has worked fine on three machines now, but the person that is going to be doing a demo cannot get this working right. The features activate fine for the site collection, however, when he goes to view any of the lists created by this feature (or any of the layouts application pages),  he gets 403 forbidden errors. He can view the built in lists OK. It seems like an IIS configuration issue, we have double checked all of his settings, anything we could be missing?

 

EDIT - He can open SharePoint Designer and view the lists fine from there, even navigate to the permissions for them.


SharePoint Foundation 2010 Multi Tenancy

  

I have couple of questions regarding SharePoint Foundation 2010 multi tenancy

 

  1. What authentication should be used for hosting multi tenant applications on SharePoint foundation Classic or Claims??
  2. What would be the licensing requirements to be taken care of? If I host it on cloud do i need to procure internet license  as well??
  3. If I use site subscriptions on host header-ed site collections, is there a way to take care of the web.config which will be shared across site collections??
  4. Can I associate an existing customized site collection to a site subscription??

Can anyone help me answer these questions?

 


Deny the access to subsites for FBA enabled SharePoint 2010 site using visual studio

  

Hi,

I've created a FBA enabled site.In that I want  my FBA users would not able to acess specific subsites.And I want to acheive it programatically.Pls help me.

Regards,

Shamia


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend