Windows 8 / Windows 2012 – How To Disable UAC Completely


1) Run -> msconfig > tools -> uac->change uac settings -> launch -> never notify

2) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

change “EnableLUA” value to “0”.

and restart your system.

 

Sharepoint 2010: Error While Deploying Custom List Instance Feature


Error:

Error occurred in deployment step ‘Activate Features’: Feature ’00bfea71-d1ce-42de-9c63-a44004ce0105′ for list template ‘100’ is not installed in this farm. The operation could not be completed.

ULS:

Failed to find the list schema for FeatureId ’00BFEA71-D1CE-42de-9C63-A44004CE0105′, list template ID 100. Cannot create list in web “http://” at URL “Lists/”.

<nativehr>0x8107058a</nativehr><nativestack></nativestack>Feature ’00bfea71-d1ce-42de-9c63-a44004ce0105′ for list template ‘100’ is not installed in this farm. The operation could not be completed.

Solution:

Replace your FeatureID in Elements.xml with:

00BFEA71-DE22-43B2-A848-C05709900100

Like this:

<Elements xmlns=”http://schemas.microsoft.com/sharepoint/”&gt;

    <ListInstance

        Title=”CustomList”

        Description=”Desc”

        FeatureId=”00BFEA71-DE22-43B2-A848-C05709900100″

        Id=”B3738CB0-EFE0-4B20-BF50-5D42E637D4EF”

        Url=”Lists/CustomList”

        OnQuickLaunch=”TRUE”

Sharepoint – List Type Numbers


100 Generic list
101 Document library
102 Survey
103 Links list
104 Announcements list
105 Contacts list
106 Events list
107 Tasks list
108 Discussion board
109 Picture library
110 Data sources
111 Site template gallery
112 User Information list
113 Web Part gallery
114 List template gallery
115 XML Form library
116 Master pages gallery
117 No-Code Workflows
118 Custom Workflow Process
119 Wiki Page library
120 Custom grid for a list
130 Data Connection library
140 Workflow History
150 Gantt Tasks list
200 Meeting Series list
201 Meeting Agenda list
202 Meeting Attendees list
204 Meeting Decisions list
207 Meeting Objectives list
210 Meeting text box
211 Meeting Things To Bring list
212 Meeting Workspace Pages list
301 Blog Posts list
302 Blog Comments list
303 Blog Categories list
1100 Issue tracking

Fast for Sharepoint 2010 – How To Add Content Type To Refinement Panel


1) Set the refiner property

The first problem will here to find the managed properties area for fast 🙂 The managed properties is not under Central Administration > Manage Service Applications > FAST Query > Metadata Properties

you have to navigate to: Central Administration > Manage Service Applications > FAST Query> FAST Search Administration > Managed Properties

– you haven’t to add a new property like sharepoint search, just go to the properties of ‘ContentType’ and check the options “Refiner Type” and “Deep Refiner”.

2) Start a full crawl.

3) Go to the refinement panel web part options and add a new category  to -> Options > Refinement -> Filter Category Definiton

<Category Title=”Content Type” Description=”The content type of the item”
                      Type=”Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator”
                      MetadataThreshold=”5″ NumberOfFiltersToDisplay=”4″ MaxNumberOfFilters=”0″
                      SortBy=”Frequency” SortDirection=”Descending” SortByForMoreFilters=”Name”
                      SortDirectionForMoreFilters=”Ascending” ShowMoreLink=”True”
                     MappedProperty=”ContentType” MoreLinkText=”show more” LessLinkText=”show fewer”/>

4) Uncheck “use default configuration”.

Olaaaaaa 🙂

 

 

Update: 7/19/2012:

If you want to add custom values to the refinement panel, you have to add a category filter. Attention: Content type value have to be an ID not the content type name!

1) Copy the url of content type, for example: of ITEM:

 

2) Encode url and take the content type id’s value:

 

3) Go to the refinement panel web part options and add a new category  to -> Options > Refinement -> Filter Category Definiton

and add your category filter:

<Category Title=”Content Type” Description=”The content type of the item” 
                      Type=”Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator” 
                      MetadataThreshold=”5″ NumberOfFiltersToDisplay=”4″ MaxNumberOfFilters=”0″ 
                      SortBy=”Frequency” SortDirection=”Descending” SortByForMoreFilters=”Name” 
                      SortDirectionForMoreFilters=”Ascending” ShowMoreLink=”True” 
                     MappedProperty=”ContentType” MoreLinkText=”show more” LessLinkText=”show fewer”>

<CustomFilters MappingType=”ValueMapping” DataType=”String” ValueReference=”Absolute” ShowAllInMore=”False”>
<CustomFilter CustomValue=”MY CUSTOM TEXT“>
<OriginalValue>AQRJdGVtC2NvbnRlbnR0eXBlAQFeASQ=</OriginalValue>
</CustomFilter>
</Category>

Powershell: Remote Connection


to enable and accept the connection modify and run the script on server:

get-service winrm
Enable-PSRemoting –force
winrm s winrm/config/client ‘@{TrustedHosts=”CLIENTPCNAME“}’
winrm quickconfig

to connect and run commands on remote pc use:

New-PSSession -ComputerName “CLIENTPCNAME
Enter-PSSession -ComputerName “CLIENTPCNAME

Nöbetçi Ezcane SOAP REST XML Webservice yayına başlamıştır…


Örnek: http://herkul.dyndns.org/NobetciEzcane.svc/istanbul?id=1

Bölgeler

id=1 ADALAR

id=33 ARNAVUTKÖY

id=34 ATAŞEHİR

id=2 AVCILAR

id=3 BAĞCILAR

id=4 BAHÇELİEVLER

id=5 BAKIRKÖY

id=3 5BAŞAKŞEHİR

id=6 BAYRAMPAŞA

id=7 BEŞİKTAŞ

id=8 BEYKOZ

id=36 BEYLİKDÜZÜ

id=9 BEYOĞLU

id=10 BÜYÜKÇEKMECE

id=11 ÇATALCA

id=37 ÇEKMEKÖY

id=13 ESENLER

id=38 ESENYURT

id=14 EYÜP

id=15 FATİH

id=16 GAZİOSMANPAŞA

id=17 GÜNGÖREN

id=18 KADIKÖY

id=19 KAĞITHANE

id=20 KARTAL

id=21 KÜÇÜKÇEKMECE

id=22 MALTEPE

id=23 PENDİK

id=39 SANCAKTEPE

id=24 SARIYER

id=25 SİLİVRİ

id=26 SULTANBEYLİ

id= 40SULTANGAZİ

id=27 ŞİLE

id=28 ŞİŞLİ

id=29 TUZLA

id=30 ÜMRANİYE

id=31 ÜSKÜDAR

id=32 ZEYTİNBURNU

Sharepoint 2010: “Access Denied” Error Message While Activating A Timerjob Site-Feature


Error:

ULS: Access denied. w3wp.exe (0x1E30) – 6615 – Critical under /_layouts/ManageFeatures.aspx?Scope=Site

Getting a error message while activating a timerjob site-feature (on a production system with uac) as farm and local administrator on a sharepoint site.

Solution:

1) Execute this powershell script as farmadmin:

function Set-AccessDenied-False()
{
# load sharepoint api libs
[System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”) > $null
[System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint.Administration”) > $null# get content web service
$contentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
# turn off remote administration security
$contentService.RemoteAdministratorAccessDenied = $false
# update the web service
$contentService.Update()

}

Set-AccessDenied-False

2) App pool recycle or iisreset

3) Active your feature again 😉