SharePoint (2003 thru Online): IIS
Showing posts with label IIS. Show all posts
Showing posts with label IIS. Show all posts

Wednesday, October 5, 2016

SSL Certificate Update


In SharePoint, IIS is the only place where the SSL Certificate needs to be uploaded and attached to the Site in the Site Bindings.

1. Click on the root node in IIS 7 Manager and select the “Server Certificates” icon in the feature pane on the right, you should Import your Cert here.

clip_image002

2. Enter a name (I’m using company.com in this example) and click OK. You should see your certificate appear in the list of server certificates.

clip_image006

3. Select the IIS site that is running the SharePoint application and click on the “Bindings…” link on the right hand side of the page.

4. To enable SSL click “Add”, select “https” and select the SSL certificate we created earlier:

clip_image007


5. Click OK. At this point we have configured IIS to allow connections to this site over SSL but we need to let SharePoint know to map these requests to the correct web application.

Configure SharePoint to accept requests over HTTPS

6. Navigate to Central Administration > Operations, select “Alternate Access Mappings” and click “Edit Public URL’s”

clip_image009

7. Select the Alternate Access Mapping Collection for the FBA web application and enter the relevant HTTPS address (e.g. My FBA site is located at http://www.company.com as an example so I would enter https://www.company.com). It is up to you which Zone you put the URL in as this doesn’t affect anything and is just there to help you remember what they are each used for.
clip_image011


Sometimes, even after the SSL Certificate is updated properly and the old Certificates are deleted, it will still be showing the OLD SSL Cert and may cause issues.

We should run the below Commands to make the NEW SSL Cert get updated.

  • 1. Issue an iisreset /stop command
  • 2. Then type net stop http followed by net start http
  • 3. Issue an iisreset /start command


Even though you ran the above Commands sometimes, site will not be accessible. Verify the below option of the specific Web Site and make sure it is set to 'Ignore'. Don't forget to reset IIS, if the below option is modified.



Thursday, December 11, 2014

Blocked File Types >> SharePoint - IIS


When you want to unblock Files Types, First you need to do in SP Central Admin and then do in IIS for the specific Web Site. In IIS you won't see all File Types you seen in SP Central Admin.

SharePoint 2007

Go to Central Admin >> Operations >> Under Security Configuration you will see "Blocked File Types". Click on it and Select the required Web Application.


_________________________________________________________________________________

SharePoint 2010

Go to Central Admin >> Applications Management >> Manage Web Applications. Select one Web Application and you will see "Blocked File Types" listed.


You need to remove the required Files Types from the "Blocked File Types", to allow them.
_________________________________________________________________________________
IIS

Open the IIS Manager, go to Sites and Select the required Site. Under IIS, you will see the option "Request Filtering". Open (double click) it.



You will see all Blocked File Types with Allowed 'False'. Make it 'True'.


Friday, September 12, 2014

Uploading Large Files To SharePoint


We had an issue uploading large files into SharePoint. We tried all the Workarounds listed in the below tech blog. But no LUCK!!!

http://blogs.technet.com/b/praveenh/archive/2012/11/16/issues-with-uploading-large-documents-on-document-library-wss-3-0-amp-moss-2007.aspx


We found another solution working with my friend.


Go to IIS Manager >> Sites and click on the required website you have the upload issue.



Click on "Request Filtering" and under Actions click on "Edit Feature Settings"



In Maximum allowed content length field, the value will be 30000000, which is equal to 30 MB. Change it to the size you required. We changed the below number to match 1 GB.


1 GB = 1073741824 Bytes

2 GB approximately = 2147480000 Bytes


Do IISRESET once you are done.

Its working Awesome without any issues.

Tuesday, August 19, 2014

Windows Process Activation Service

http://support.microsoft.com/kb/975



If you have issues with IIS, sometimes you see all the App Pools and Web Sites in Stopped mode. When you try to restart the App Pools and Web Sites in the IIS Manager, you cannot and will see the above error message.

This also may happen, if you have anything scheduled like IIS Restart automatically and if IIS failed to restart.

You restart IIS by using the IISRESET /RESTART command.