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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Creating and sharing new sharepoint site to internet, limiting user access

Posted By:      Posted Date: September 02, 2010    Points: 0   Category :SharePoint
I am a new hire into an existing business as I.T. I know the networking, I know the computers. The owner now wants me to learn Sharepoint among some other things. They currently use WSS 3.0. I have been reading up on this for the last month. I think I am ready to extend the current site to make it an Internet site so the employees can login. Some other things we would like to do I have read up on and it looks like they can be done, things such as inventory tracking in collaboration with QuickBooks and creating a website / portal for clients to have a unique login on and can see the status of their jobs in custom SharePoint lists. As far as I can tell the clients need an AD account. However, apart from that I am not sure what to do. A little background.  The company has multiple clients, and we ship things out daily to those clients.  We use Sharepoint to track the status of the jobs as they progress through the stages ultimately going to delivery. There is one common page that lists all the jobs by all clients that is updated constantly. We would like to allow multiple (different) clients/logins and have a page customized for each client.  For example, you are a client and go to www.companyname.com/sharepointsite.html.  From there you would get to a portal page with a login. Once logged in you will be presented with the Shar

View Complete Post

More Related Resource Links

Programmatically creating a SharePoint Site based on user input


I am working on developing a “Create Website Wizard” for SharePoint 2007 that would do the following (I am simplifying a little for the sake of this post):


1.      Take user input as follows:



Product Code:

Category (I, II, III):

The category will be a choice field (radio buttons or a dropdown)

Internet facing SharePoint site - user shouldn't have to log in to change the langague

Hello, I am using SharePoint 2010 for Internet sites.  Anonymous access has been enabled.  Language packs have been installed so that users can switch to different languages as required.  However, the only way for a different language to be selected other than the default is for the user to log into the site and then the option would be displayed.....This is an internet facing site with anonymous access therefore users shouldn't have to log in to change the language.  Can someone guide/advise on switching the lanuguage of the site without loggin in. Thanks, Shelley

User cannot access Sharepoint site

I have a Windows Server 2008 64bit domain running Sharepoint 2010 and one user, and only one user, cannot access the default website.  I've added them to the users for the site and even given her full permissions.  She still cannot access it.  It comes up with Error: Access Denied.  You are currently logged in as and it gives the user name and an option to log in as a different user.David Kellett

Anonymouse user - Cannot search in SharePoint 2010 internet facing site


Anonymouse user - Cannot see search results in SharePoint 2010 internet facing site. They see blank results.aspx while admin see all search result.

How to make Anonymouse user - see search results in SharePoint 2010 internet facing site?

Access Denied while user logs out sharepoint 2010 FBA site




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;


cannot access sharepoint site through Internet Explorer 8 on a machine running Win XP Service Pack 3


The Sharepoint portal can be accessed fine through Firefox. Opera allows me to access it, but I cannot sign out, check out a shared document or do anything which opens a small window on clicking an option.

I can stay with Firefox, but when I try to edit a shared Word document in Word I get the message "Edit document requires a Windows Sharepoint Services compatible application and Microsoft Internet Explorer 6.0 or greater" We need to edit a shared document/calendar which is uploaded. All I know is we are using Sharepoint 2007 and the version of our site is Does that mean we have Windows Sharepoint Services SP2 on our Sharepoint server?

When I try Internet Explorer, I cannot log on at all. I get a window which asks for my credentials which I enter, it fails to authenticate me, then shows me the You are not authorized to view this page message. I tried with different computers, but cannot get in using Internet explorer.

What could be the issue?

Our Sharepoint admin does not have time to look into such matters so I am on my own.

Any suggestions would be appreciated.

Creating Sites/Lists/List Items under Current User Context in SharePoint By Using SPUserToken

Usually we do this by performing the action under RunWithElevatedPrivileges method and updating the listitem using SPListItem.SystemUpdate() method (see here). but this approach has its own flaws like (RunWithElevatedPrivileges will run under system account, we cannot use SystemUpdate for SPSite,SPWeb,SPList, since it runs under system we will "CreatedBy" by as SystemAccount).

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)


Module 8: Creating Silverlight User Interfaces for SharePoint 2010 Solutions

SharePoint 2010 integrates closely with Microsoft Silverlight to enable you to build compelling user interfaces that interact with SharePoint data.

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..




C# - Creating web client for automating user activity on a HTTPS site

I've been wracking my brain for a couple of weeks on this.  I need to create a web client (I don't want to use the webBrowser control because I need this to be as lightweight as possible) to log in to a secure web site, and then effectively click links and fill in fields to get the data that would normally be displayed in the web browser.  I'm then going to parse the data and perform other actions with it. I have been working with HttpWebRequest and HttpWebResponse and many permutations of suggestions I have found while Googling my issue, but I can't get rid of my problem:  Sometimes when I effictively click the ultimate link that I need to click to get to my data, I get what I am looking for.  However, MOST of the timel, I get a response page that tells me my connection timed out and that I need to log in again.  I have tried messing with cookies and such, but to no avail. I know it's good form to post my code, but it is so sloppy and screwed up right now from tweaking this and trying that, that I'd rather not take the approach of fixing what's there, rather I'd like to start with solid, clean code to begin with. Your help will be greatly appreciated. Thanks, ALo

User Alert Management for a specific list versus entire SharePoint site?

It seems that to be able to manage User Alerts, one must have Full Access to the entire SharePoint site - and then use => Site Settings > User Alerts. Ideally, I would like to be able to grant access to users to only be able to manage alerts for a specific list. Is this possible (without having to do any programming) and, if so, how? If such access is only available at the site level, I will simply create a Permission Level that allows one to only "Manage Alerts" Thanks in advance for any assistance. Dave

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 .....???

In Sharepoint 2007 while creating a group "Give Group Permission to this Site" section is missing

I have a strange anamoly in Sharepoint 2007 but I am guessing I am missing some minor step since I am new to Sharepoint. I am trying to create a new group which I have done before successfully. 1.On the home page of the site,  I click Site Actions, point to Site Settings, and then click People and Groups. 2.On the New menu, I click New Group. 3.Type a name for the group, and then type a brief description of the group's attributes in About Me. 4.I change the owner of the group or click Browse to find an individual's account name. 5.In the Group Settings section, I click the options to specify who can see the members of this group and who can add or remove members. 6.In the Membership Requests section, I click the options (No, No) and no email address entered Here is the problem part: I am supposed to see  the "Give Group Permission to this Site section"  but I see only Create and Cancel buttons.   Can you please help why I do not see  "Give Group Permission to this Site section". Is there another way to assign group permission?

How do I publish public facing SharePoint site(on internet)?

I developed public facing SharePoint 2010 portal publishing website using Window Server 2008 R2 and SharePoint 2010 Server and SPD 2010 on my computer. I have custom master page, page layout, css…. I want to publish it(on the internet).  I want to know cheap host and domain name service provider Company and steps to do it. I’ appreciate any advice in advance.

How to get the list of all Site Collections that a user has access to

Hi All, Whats the best way to get the list of all Site Collections that a user has access to, under a particular Web Application? I have about 20-30 site collectiosn under the same WebApplication, and iterating through all of them for checking if the user has permissions is a bit performance expensive. Is there any other way of doing it?  Manesh K

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
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