Wednesday, December 14, 2016

Add-SPSolution : Operation is not valid due to the current state of the object.

Add-SPSolution : Operation is not valid due to the current state of the object.

At line:1 char:1

+ Add-SPSolution

+ ~~~~~~~~~~~~~~

+ CategoryInfo : InvalidData: (Microsoft.Share...dletAddSolution:

SPCmdletAddSolution) [Add-SPSolution], InvalidOperationException

+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletAddSolutIon

I have received this error when I’m trying to deploy an .wsp file to the SharePoint farm using PowerShell Scripts.

It’s kind of unusual the error I have got but

image

IIS reset

Solved my problem.

Wednesday, December 7, 2016

Default SharePoint 2013 / 2010 System Pages where you should takecare when you go online

There are list of SharePoint System Pages which inheriting view permission by default. If you are going to make public SharePoint site , you might not want to access these pages by anonymous users or by Form Based Authentication User.

There are may ways to restrict the users access to these pages that I will explain later in a different post.

Below I’m listing down pages ; those are available in each site under layout mapping.

Site Collection and Site Level Recycle Bin Urls

/_layouts/15/AdminRecycleBin.aspx

image

/_layouts/15/RecycleBin.aspx
image

User , User Info , Site Permission related Urls

_layouts/15/permsetup.aspx

This is used to create default groups in SharePoint such as visitors, members and owners.

image

/_layouts/15/people.aspx?MembershipGroupId=0

All People Url , This can be even used to delete users from the site collection

image

User Information Hidden List Urls

/_catalogs/users/detail.aspx

/_catalogs/users/simple.aspx

image

These lists are actually available from previous version of SharePoint. These are hidden lists available in the SharePoint containing user information.

/_layouts/15/userdisp.aspx?id={UserID}&Force=True

This is used to view user information in the same page without redirecting to my site.

image

/_layouts/quiklnch.aspx

This is used to manage quick launch items in SharePoint.

image

/_layouts/15/AreaNavigationSettings.aspx

This is used to modify navigation setting in the site collection.

image

Workflow history hidden list

/Lists/Workflow%20History/AllItems.aspx

This is hidden list for manage and view workflow  history items.

image

Site usage page

/_layouts/15/usage.aspx

This is used to view the usage information. but nothing harmful.

image

Site content and structure pages

/_layouts/15/sitemanager.aspx
This will bring you site management page which is available from SharePoint 2007.

image

/_layouts/vsubwebs.aspx

List of heirachy pages

image

/_layouts/15/settings.aspx

This is the site setting page that contains all administrative links.

image
/_layouts/15/viewlsts.aspx

This is used to view all site contents. List’s visibility if this page can be hidden using SharePoint designer.
image

Site and Site Collection feature management links

/_layouts/15/ManageFeatures.aspx
/_layouts/15/ManageFeatures.aspx?Scope=Site

These links are used activate and deactivate features in site and site collection.

image

SharePoint designer Settings

/_layouts/15/SharePointDesignerSettings.aspx

This is used to enable and disable SharePoint designer settings.

image

Look and Feel Urls

/_layouts/ChangeSiteMasterPage.aspx
This is used to change site collection master pages.

image
/_Layouts/AreaTemplateSettings.aspx

This is where user can change Page Layouts, Site Templates and other related settings.

image
/_catalogs/masterpage/Forms/AllItems.aspx

This is main document library for update and maintain related files and master pages

image