Showing posts with label Microsoft Sharepoint Services. Show all posts
Showing posts with label Microsoft Sharepoint Services. Show all posts

Wednesday, May 30, 2012

User can still access Allitem.aspx via Mobile site after Lockdown Mode

Issue:
One of my user requested to block Allitems.aspx page to be blocked for internet users and I blocked it using following command
stsadm -o activatefeature -url <site collection url> -filename ViewFormPagesLockDown\feature.xml) it works and user get 401 Unauthorized.
However, when user browse into a mobile page they are able to see all the items in the AllItem.aspx page.
Resolution:
  • To turn off site access from mobile device we need to edit the “compat.browser” file for our SharePoint site.
  • To find this file, look in your IIS directory for your SharePoint site and look for the App_Browsersfolder.
C:\inetpub\wwwroot\wss\VirtualDirectories\<Site Folder>\App_Browsers
Edit the file as guided in http://blog.drisgill.com/2009/11/sp2010-branding-tip-6-mobile-browsers.html

Wednesday, March 23, 2011

MySite Search issue with Access Denied error


Each time the crawling on MySite site collection would generate numerous errors in event log as below
Error:
System.UnauthorizedAccessException: Access denied.
   at Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(Exception ex)
   at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
   at Microsoft.SharePoint.Library.SPRequest.CheckOutFile(String bstrUrl, String bstrWebRelativeUrl, Boolean bCheckoutToLocal, String bstrLastModified)
   at Microsoft.SharePoint.SPFile.CheckOut(Boolean bCheckoutToLocal, String lastModifiedDate)
   at Microsoft.SharePoint.SPFile.CheckOut()
   at ABC.Intranet.Web.UI.WebControls.MySiteModifier.b__0()Additional Information:
  Site Collection URL - http://xyz.abc.com/personal/user |
  Web Site URL - http://xyz.abc.com/personal/user |
  HttpRequest URL - http://xyz.abc.com/personal/user/Personal Documents/Forms/AllItems.aspx |
  HttpContext User  - abc\Crawl_Acct |
  SPWeb User - abc\ Crawl_Acct |
The crawling account has READ permission over My Site collection and this account does have NO access to the specific URL in error below –
Resolution:
This issue is resolved after adding Content Access Account under
 Central Administration > SSP > User Profiles and properties > Personalization services permissions
with "Manage user profiles" permission

Tuesday, September 15, 2009

How to Publish Microsoft Sharepoint Services with ISA Server 2006 ?

First, we have to install Microsoft .NET Framework 3.0 or higher on the Server where we want to install Sharepoint services. You can download the .NET Framework from the Microsoft website. The link is provided at the end of this article.
Installing the .NET Framework is very easy. Simply follow the Wizard installation instructions



Figure 1: .NET Framework 3.0 installation

After the .NET Framework has been installed, start the installation of Microsoft Sharepoint Services 3.0. You can download the Sharepoint services for free from the Microsoft website. The link is provided at the end of this article.
For this example we will choose the Standalone installation option. The typical installation option installs the Sharepoint services with a local MSDE (Microsoft SQL Server Desktop Engine) – Windows Internal Database. For advanced options choose the other setup option.




Figure 2: Standalone Setup option

After installing Sharepoint services 3.0 it should be possible to open the default Sharepoint Team site. It is now up to you to create custom Sharepoint sites which you want to use internally or with ISA Server publishing over the Internet.




Figure 3: .Default Sharepoint Services website

In this example I created a new Sharepoint website with the Blog template to publish a Blog about ISA Server.
Figure 4: New Team site

Specify the Title and the URL location for the Sharepoint Team Blog website.

  

Figure 5: Creating the Sharepoint Blog site

After successfully creating the Sharepoint Blog site, you can open the website by specifying the correct URL


Figure 6: The new Sharepoint Blog site

Each Web application has a set of internal URLs which are used for accessing the internal website. A public URL is what users type to get to the SharePoint site, and that URL is what appears in the links on the pages. If you try to open the published Sharepoint site from outside the Internal network, you have to activate the Alternate access mapping feature for the Sharepoint website you want to publish through ISA Server.



Figure 7: Alternate access mapping

Specify the external website URL in the Internet section on the Public Zone URLs.


 
Figure 8: Edit Public Zone URLs

After that, the Sharepoint part is done and we have to configure ISA Server 2006.

The next step is to create a Webserver certificate for the ISA Server Sharepoint Listener. The Common Name (CN) of the certificate must match the FQDN you use on the Internet to access the website. For normal use you should use certificates from your internal CA or a commercial certificate. For this article we will be using self signed certificates with the help of the SELFSSL tool from the IIS 6 Resource Kit. You can download the IIS 6 Resource Kit for free from the Microsoft website. The link is provided at the end of this article.

















Figure 9: Installing IIS 6 Resource Kit

SELF SSL is a command line tool used to create a certificate.


Figure 10: Using SELFSSL

SELFSSL has several options for creating certificates. Executing SELFSSL with /? will show you the available options.
Note:

Pay special attention to the /V: parameter. The /V: parameter specifies the lifetime of the certificate in days!

After creating the certificate, you have two ways to bring the certificate to the other ISA Server node which is already a member in an ISA NLB cluster:

0.Export the certificate with a private key from the first node.
1.Create a new certificate with the same settings on the second node.
 


Figure 11: Certificate MMC

For the example in this article we export the certificate from the first node, move it to the second node and import it into the local computer certificate store.


Figure 12: Import the PFX file into the local computer certificate store

Note:
Because we are using a self signed certificate, we have to import the self signed certificate into the Trusted Root Authority store on both ISA server nodes.

  • Open the ISA MMC and create a new Sharepoint publishing rule with the help of the wizard.  
  • Name the rule.  
  • Select Publish a single Web site or Load balancer.


 Figure 13: Publish a single website or Load Balancer


In this example we are not using SSL from the ISA Server to the Sharpoint services Server.

 

Figure 14: Use a non secured connection to connect to the SPS Server


If you want to use a secured connection from the ISA Server Enterprise array to the published Sharepoint Server, you must request a certificate for the Sharepoint Server and ISA Server must have the trusted Root CA certificate from the issuing CA.
Next, specify the name of the internal site. The name you typed here, must match the common name of the certificate when you use HTTPS Bridging from ISA Server to the published Sharepoint Server.


 
Figure 15: Specify the internal site name


In the Public Name Details accept requests only for the domain name sps.it-training-grote.de.



Figure 16: Public Name details


Create a new Weblistener, name the Weblistener and select Require SSL secured connections with clients.



Figure 17: Use SSL for accessing the ISA Server from the client


The Weblistener is the EXTERNAL network. If you have more than one IP address bound to the external network interface on ISA Server, select the IP address for the Sharepoint publishing manually to avoid problems with other Publishing rules.





Figure 18: Specify the External Weblistener


In the Listener SSL Certificates section, select the issued certificate.


Figure 19: Listener SSL certificate


As the Authentication option, select HTML Form Authentication and Windows (Active Directory) as the Authentication provider.




Figure 20: Select the Authentication method


Do not enable SSO. For this article we select NTLM as the Authentication model.


 
Figure 21: Specify Authentication method


Because we activated the Alternate access mapping feature on the Microsoft Sharepoint 3.0 services before we start the ISA publishing wizard, we doesn’t have to activate this feature and we can select SharePoint AAM is already configured on the SharePoint server.


 
Figure 22: Alternate Access Mapping configuration


ISA Server 2006 can limit who can access the published server. It is possible to limit access to specific users or user groups. For this article we select the predefined All Authenticated Users set.




Figure 23: Specify User Sets



After ISA Server publishing has finished, you can try to access the published website, and if everything is configured correctly, you should see a website like this in the following picture.




 Figure 24: The published website through ISA Server