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

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

Force SharePoint 2010 Webapplications to use https intead of Http

Posted By:      Posted Date: October 07, 2010    Points: 0   Category :SharePoint


Environment :

Sharepoint 2010 server enterprise, Website uses host headers, impleted wild cart cert and reqeusts over http and https are both working fine.

i want to force user to use https instead of http so that any request comming in over http is automatically redirected to https, i have tried the following but did not work for me :

1. IIS>SSL Settings>  select Require SSL, but with this option all requests with http are dropped.

2. IIS>http Redirect> enter the same url but with HTTPS, this bring the IE request in a loop, might be becuase i am using host headers but IE keeps thinking forever.

Can any one suggest what is the best way to handle this issue.



View Complete Post

More Related Resource Links

User permissions in SharePoint 2010 act differently in http and https

I installed SharePoint 2010, created a site (complete with a document library), and assigned user permissions.  Additionally, I set up certificate authentication for all users.  Two problems occur: 1. As the system administrator, when I access the https site, I no longer have permissions to add/edit users 2. When user's, who have permissions to edit/add a document/folder click on "Add document" or the folder icon to add a new folder, they get an error. Any help is much appreciated.

Setting of sharepoint 2010 custom WCF service "web.config" file for both HTTP and HTTPS



        I have created a custom SharePoint 2010 WCF service that is deployed to 14\ISAPI\MYService folder. The issue i am facing is that this service should be accessible from all Web applications, that can be HTTPS (i.e. SSL) enabled or normal HTTP. If i am making in web.config file for web application that has HTTPS enabled, then it fails for Web applications having normal HTTP configuration. My requirement is that when this WCF service is deployed it should accessible from all web applications that can be HTTPS or HTTP both. I went through number of blogs and tried whatever option they had suggested but none of them worked for me :(. Here are some of the blog that i tried:-

HTTP Error 500.19 - Internal Server Error after SharePoint 2010 In-place upgrade

Hello We have done an SharePoint 2010 In-Place Upgrade. After the upgrade, we can access the Central Administration page without problems. However, when accessing the standard http port 80 site, the following error appears: Error Summary HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.   <fieldset><legend>Detailed Error Information</legend> Module IIS Web Core Notification Unknown Handler Not yet determined Error Code 0x80070032 Config Error The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration Config File \\?\C:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config Requested URL http://coolsharepoint:80/ Physical Path   Logon Method Not yet determined Logon User Not yet determined </fieldset> <fieldset><legend>Config Source</legend> 534: </location> 535: <system.web.extensions> 536: <scripting> </fieldset>

how to open force SharePoint 2010 to open documents withint the browser instead of invoking word app

guys, when user clicks on the word document within a document library, it opens up in the word IDE , how can i change this so that documents opens up in the browser. the "Library settings\ advanced settings\ open documents in the browser" setting is set to "open in the browser"   thanks sameer

HTTP 500 After Sharepoint 2010 Install on Win 2008 R2

Environment specifics: Windows 2008 R2 SQL 2008 (Version: 10.0.2746.0) No internet connection so I installed all the prerequisite software. I have two domain accounts: SPAdmin and SPFarm SPAdmin is what I use to install Sharepoint. SPFarm runs the app pool, timer service etc. Domain: Development domain. Scenario: After the SP Setup Wizard, Central admin is inaccessible and gives a HTTP 500 error. I checked the recommended permissions for both accounts and they both appear to be in the correct groups. The only way I can get it to work is to add the SPFarm account as a local admin. So it appears to be a permissions issue. But I can't figure out what the issue is or even where to start. Any advice would be greatly appreciated.

SharePoint / Project Server 2010 Unable to edit a HTTPS site in SharePoint designer 32 bit



I posted this thread below under a different forum and was requested to move.  Below is our current problem and the feedback that was given.

We currently have a project server 2010 site with several workspaces associated with it.  When trying to edit the site (either from choosing edit is designer from the site actions or from trying to open from within the designer) a dialog appears asking to choose a certificate for the site.domain.com.

The certificate issued by the site is a GeoTrust certificate and checks ok when browsing the site in IE.  This Windows security dialog also appears when trying to export to excel on the same site.

Any thoughts to what we are missing?




Dear Partner,


Thank you for posting in our Partner Online Technical Community.



HTTP 401 when adding a HttpModule to SharePoint 2010 on RPC request


We need to add a HttpModule from .NET to capture some requests (including FrontPage ones). Everything works fine on the web UI side, but we encounter unexpected beahvior when trying to open a Word document : the user keeps being prompted for his credentials. Canceling the dialog boxes opens the Word document as read-only and we are unable to enter modification mode.

The server is a W2K8 running a Microsoft SharePoint Server 2010 (14.0.4763.1000). The site runs under II7, with its pipeline.

After digging a bit, we found out that this simple line in the HttpModule breaks everything :

void OnPostAuthorizeRequest(object sender, EventArgs e)
  HttpApplication application = sender as HttpApplication;
  string method = application.Request.Form["method"];

(as you may guess, we register to the OnPostAuthorizeRequest event).

If we comment out the 'string method = ...' line, everything works fine !

Activating IIS7 pipeline traces, we found out that the request which fails when the line is uncommented is on URL _vti_bin/shtml.dll/_vti_rpc and 2 warnings are recorded :
- ERR 403 (FORBIDDEN), Module : IsapiModule, Notification : EXECUTE_REQUEST_HANDLER
- followed by ERR 401 (Unhautorized); module : SPRequestModule, Notification

Short Overview of SharePoint Features in Visual Studio 2010

As you probably know, Visual Studio 2010 was announced earlier this week and it contains a lot of cool features and project templates for SharePoint developers. Below is a short overview for some of the SharePoint development related features and project templates.

How to get more information about the exceptions that can happen in SharePoint 2010 projects?

In case there is an exception anywhere in the SharePoint 2010 project (most common place an exception would happen is during deployment of your SharePoint project, custom deployment configuration or custom deployment steps), there's a registry key EnableDiagnostics available for you to use.

InfoPath 2010 cannot connect to SharePoint 2010

You have installed Office 2010 beta and you are trying to connect to SharePoint 2010 from InfoPath but you get an error

Installing and configuring SharePoint 2010

The following steps show how to install SharePoint 2010 on VMware workstation 7.0. Host computer used during the preparation of this walk-through was a Vista (32-bit) machine and guest machine used was VMware workstation 7.0 with Windows Server 2008 Service Pack 2 (64-bit).

Content Query Web Part missing in SharePoint 2010

If you don't see content query web part listed in the web parts list, this is because you have not enabled "Search Server Web Parts" feature in site collection features. Enable this feature and content query web part will show in the list of web parts.

Developing on SharePoint 2010 Intro Tutorial

Folks, this is a exciting news for SharePoint Geeks that the availability of Developing on SharePoint 2010 Tutorial can be access here.

Accessing SharePoint 2010 Data with Server-Side APIs

Accessing SharePoint data in server-side solutions is one of the most common tasks that you will perform as a SharePoint developer. SharePoint 2010 provides powerful server-side APIs that enable you to retrieve, add, edit, and delete SharePoint data programmatically. SharePoint 2010 also includes the new LINQ to SharePoint technology that enables you to work with SharePoint data efficiently and easily.

What Developers Need to Know About SharePoint 2010

Visual Studio 2010 integrates with SharePoint much more closely than in previous versions. Visual Studio 2010 includes SharePoint-specific project types and project item types, and includes powerful packaging, deployment, and debugging features that help increase your efficiency as a SharePoint 2010 developer.

Creating Dialogs and Ribbon Controls for SharePoint 2010

SharePoint 2010 provides new user interface components, such as server ribbons, and the new dialog platform. As a developer, you can create controls for the server ribbon and dialog boxes for the dialog platform.

Sandboxed Solutions for Web Parts in SharePoint 2010

SharePoint 2010 provides a new sandboxed environment that enables you to run user solutions without affecting the rest of the SharePoint farm. This environment means that users can upload their own custom solutions without requiring intervention from administrators, and without putting the rest of the farm at risk.
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