Інструменты

InfoPath Укладзены файл Памер памылцы

When you try to add attachments to the InfoPath Browser Enabled form, you may get the following error. If the attachment file size is beyond the configured maximum user session data.

The Selected file is too large and is causing the form to exceed the amount of allowable resources. Select another file.

Рэзалюцыя:

Націсніце на Агульныя параметры дадатку цэнтра адміністравання

Націсніце на Налада InfoPath Forms Services ў InfoPath Forms Services

The file attachments will be kept in session for the user in state service. Increase the maximum size of user session data in kb, to allow large attachments.

Калекцыя сайта Рэзервовае капіраванне з дапамогай PowerShell

PowerShell заўсёды дае адміністратару адчуваю праграмавання, У асноўным, я з'яўляюся распрацоўшчыкам не вельмі шмат у выкарыстанні опцыі меню або зрабіць задач, як рэзерваванне (Я ніколі не выкарыстоўваў опцыю рэзервовага капіявання ў цэнтры адміністраванняJ)

Давайце пагаворым аб рэзервовае капіраванне сайта калекцыі з дапамогай PowerShell з прыкладамі.

Сінтаксіс:

Backup-SPSite <<Калекцыя сайта URL>>

-Шлях <<Шлях да файла>>

[-Група]

[-Пацвердзіць]

[-NoSiteLock]

[-UseSqlSnapshot]

 

Прыклад 1:

    Backup-SPSite HTTP://лакальны шлях C-:\SiteBackup.bak

Стварае запасную копію вузлоў, Файл рэзервовай копіі будзе захоўвацца ў C: дыск з імем, як SiteBackup.bak

 

Прыклад 2:

    Backup-SPSite HTTP://лакальны шлях C-:\SiteBackup.bak-Force

Калі працу плануецца правесці штодзённае рэзервовае капіраванне, Калі файл рэзервовай копіі ўжо існуе па паказаным шляху, Працэс рэзервовага капіявання будзе спыненая.

Выкарыстанне-група захаванне перапісаць на існуючы файл.

 

Прыклад 3:

Па змаўчанні Бэкап-сайта каманды Хай будзе мноства вузлоў, як толькі для чытання, у той час як рэзервовае капіраванне, каб пазбегнуць абнаўлення і / або прадухіліць файла рэзервовай копіі з карупцыяй. Выкарыстанне параметру-NoSiteLock камутатар не будзе блакіроўкі вузлоў толькі для чытання, час рэзервовага капіявання ў ходзе.

 

Прыклад 4:

    Switch
UseSqlSnapShot будзе выконваць рэзервовае капіраванне з дапамогай здымкаў, Гэты ключ будзе працаваць толькі з Enterprise Edition.

TaxonomyPicker Памылка ў Часопіс падзей SharePoint 2010

You might have noticed the following error logged into the EventLog.

Load control template file /_controltemplates/TaxonomyPicker.ascx failed: Не атрымалася загрузіць тып ‘Microsoft.SharePoint.Portal.WebControls.TaxonomyPickerfrom assemblyMicrosoft.SharePoint.Portal, Version=14.0.0.0, Культура = нейтральных, PublicKeyToken=71e9bce111e9429c’.

 

 

There is an encoded char issue in .ascx control:

Open the TaxonomyPicker.ascx in the 12 hive control templates path:

 

Replace “&#44″ with double quote

This issue still exists after installing my October 2010 Cummulative Updates.

Get Help for PowerShell cmdlet

Day 2:

How to get help for PowerShell cmdlet, like syntax or list of mandatory/optional parameters to be used with cmdlet.

Get-Help is the cmdlet to provide help for the cmdlet.

Сінтаксіс:

    Get-Help <<cmdlet>>

Прыклад: Let’s get help for Get-Help ;)

    Get-Help Get-Help

 

Спіс усіх PowerShell каманднага давайце ў SharePoint 2010

This is the series of PowerShell Scripts in SharePoint 2010. Learn a cmdlet (command-let) a day.

Cmdlet(Command-let)

    Cmdlet’s are compiled commands installed with PowerShell. When you start “SharePoint 2010 Management PowerShell”, the console starts with pre-loaded cmdlets.

Day 1:

Get-Command

    Get-Command cmdlet will return all commandlets registered with PowerShell.

    -Module

        Passing Module value with Get-Command will return only the cmdlet’s available on the specific Module.

Сінтаксіс:

    Get-Command -Module <<Module Name>>

 

Прыклад:

    Get-Command -Module Microsoft.SharePoint.PowerShell

Спіс не існуе памылка для ананімных карыстальнікаў у SharePoint 2010

Я атрымліваў "Спіс не існуе памылка" для ананімных карыстальнікаў, пасля ўключэння рэжыму адладкі я атрымаў ніжэй зойме занадта шмат выключэнняў.

Гэта сапраўды не момант вы з фактычнай памылкай, праз пару раскопкі; Я падумаў, што мой гаспадар галерэі старонкі і стылю бібліятэкі мае унікальныя дазволу, Не спадкуюць ад бацькоўскага.

Успадкоўванне дазволаў ад бацькоўскага, вырашана праблема.

Памылка сервера ў ‘/’ Ужыванне.


Спіс не існуе.

Абраная старонка ўтрымлівае спіс, які не існуе. Магчыма, ён быў выдалены іншым карыстальнікам.<nativehr>0×81020026</nativehr><nativestack></nativestack>

Апісанне: Неапрацаванае выключэнне пры выкананні бягучага вэб-запыту. Калі ласка, праглядзіце трасіроўку стэка для атрымання дадатковай інфармацыі аб дадзенай памылку і пра выклікалым яе фрагменце кода.

Звесткі аб выключэнні: System.Runtime.InteropServices.COMException: Спіс не існуе.

Абраная старонка ўтрымлівае спіс, які не існуе. Магчыма, ён быў выдалены іншым карыстальнікам.<nativehr>0×81020026</nativehr><nativestack></nativestack>

Памылка Крыніца:

Неапрацаванае выключэнне пры выкананні бягучага вэб-запыту. Інфармацыю аб паходжанні і месцы ўзнікнення выключэння можна атрымаць, выкарыстоўваючы наступную трасіроўку стэка выключэнняў.


Трасіроўка стэка:

 

[COMException (0x81020026): Спіс не існуе.

Абраная старонка ўтрымлівае спіс, які не існуе. Магчыма, ён быў выдалены іншым карыстальнікам.<nativehr>0x81020026</nativehr><nativestack></nativestack>]

Microsoft.SharePoint.Library.SPRequestInternalClass.GetListsWithCallback(Радок bstrUrl, Guid foreignWebId, Радок bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Булевы bPrefetchMetaData, Булевы bSecurityTrimmed, Булевы bGetSecurityData, Булевы bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) +0

Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(Радок bstrUrl, Guid foreignWebId, Радок bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Булевы bPrefetchMetaData, Булевы bSecurityTrimmed, Булевы bGetSecurityData, Булевы bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) +278

[SPException: Спіс не існуе.

Абраная старонка ўтрымлівае спіс, які не існуе. Магчыма, ён быў выдалены іншым карыстальнікам.]

Microsoft.SharePoint.SPGlobal.HandleComException(COMException COMEX) +27257906

Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(Радок bstrUrl, Guid foreignWebId, Радок bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Булевы bPrefetchMetaData, Булевы bSecurityTrimmed, Булевы bGetSecurityData, Булевы bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) +27639327

Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid webId, Радок strListName) +623

Microsoft.SharePoint.SPListCollection.ItemByInternalName(Радок strInternalName, Булевы bThrowException) +27372020

Microsoft.SharePoint.SPListCollection.get_Item(Guid UniqueID) +114

Microsoft.SharePoint.Publishing.CommonUtilities.GetListByID(SPWeb вэб-, Guid ListId, Булевы attemptCleanup) +346

Microsoft.SharePoint.Publishing.Internal.CachedVariationSettings.GetVariationLabelsList(SPWeb rootWeb) +123

Microsoft.SharePoint.Publishing.Internal.CachedVariationSettings .. CTOR(Guid siteId, SPUrlZone зоны) +183

Microsoft.SharePoint.Publishing.Internal.<>c__DisplayClass1.<CreateVariationSettings>b__0() +429

Microsoft.SharePoint.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() +729

Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated SecureCode) +27488118

Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(чакаць зваротнага выкліку SecureCode, Аб'ект параметраў) +27187865

Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated SecureCode) +93

Microsoft.SharePoint.Publishing.Internal.CachedVariationSettings.CreateVariationSettings(Guid siteId, SPUrlZone зоны, Булевы forceRefresh) +131

Microsoft.SharePoint.Publishing.Internal.WebControls.PublishingRibbonTrimmer.TrimVariationsGroup() +193

Microsoft.SharePoint.Publishing.Internal.WebControls.PublishingRibbonTrimmer.TrimPublishTab() +52

Microsoft.SharePoint.WebControls.SPPageStateControl.OnPreRender(EventArgs E) +621

Microsoft.SharePoint.Publishing.Internal.WebControls.PublishingPageStateControl.OnPreRender(EventArgs E) +788

System.Web.UI.Control.PreRenderRecursiveInternal() +108

System.Web.UI.Control.PreRenderRecursiveInternal() +224

System.Web.UI.Page.ProcessRequestMain(Булева includeStagesBeforeAsyncPoint, Булева includeStagesAfterAsyncPoint) +3394

 


Звесткі аб версіі:Microsoft. NET Framework версіі:2.0.50727.4952; ASP.NET Version:2.0.50727.4955

Разгортванне SiteTemplate(.STP) файл у фермы SharePoint

The site templates can be directly uploaded intoSite Template Galleryin root site collection. If you want to deploy the Site Template at the SharePoint Farm Level. Use stsadm -addtemplate to upload the stp file.

Сінтаксіс:

    Stsadm -o addtemplate -filename <filename> -title <title of template> -description <description of template>

 

Прыклад:

    Stsadm -o addtemplate -filename cksuge.stp -titleUserGroup Template” -descriptionCKS User group Template

 

Now I could see the Site template displayed at Farm level.

SharePoint 2010 Easy Setup Script

Chris Johnson released a new tool to help setup a SharePoint 2010 developer machine.

In order to make this process as easy as possible they have created a series of PowerShell scripts that automate the entire process of building a fully running and ready to go SharePoint 2010 environment. The scripts are highly configurable, but out of the box they will download all of the required software, install all of the SharePoint prerequisites, install other software such as Visual Studio and Office. The script will then install and configure SharePoint 2010. And finally the script will provision a site.

There are really three options to develop SharePoint solutions. The first option is to remote desktop in to a hosted instance of SharePoint. This may be an option for many larger companies that have a good server and support infrastructure it is often not an option for smaller companies. The second option is to download and run the Information Worker VHD that has everything already setup and preconfigured. This is a very easy way to get started but it requires a machine with 8GB of RAM and capable of running Hyper-V. Again many smaller companies and independent developers can’t meet these requirements. The third option is to install SharePoint directly onto your machine running Windows 7 64bit. The downside to this option is that it requires a steep learning curve to understand how to setup and install all of the bits and pieces to have a full SharePoint developer environment. This is where the Easy Setup Script comes in. The goal of the Easy Setup Script is to reduce the learning curve and time for a casual developer to get started.

Download SharePoint Easy Setup Script


Easy Setup Script Process Flow

Click to view full size


Link to Post.


 

SharePoint Foundation 2010 - Памылка пошуку

Я атрымліваю памылку ніжэй, калі я спрабую шукаць што-то ў SharePoint Foundation 2010 Сайт.
“Ваш пошук не можа быць завершана, паколькі гэты сайт не прызначаны индексатор. Звернецеся да адміністратара для атрымання дадатковай інфармацыі”

Як вы, хлопцы разумеюць, што, мы не так шмат варыянтаў для кіравання пошук у аснову 2010, з-за яе абмежаванне.

Тады я зразумеў, што, Я не наладзіць / пачаць свой пошукавы сэрвіс, Пры стварэнні майго першага вэб-прыкладанняў.

Так, нам трэба наладзіць индексатор для базы дадзеных кантэнту.

Пераход да кіравання прыкладаннямі -> Базы дадзеных -> Кіраванне базамі дадзеных змесціва

Выберыце ўтрыманне базы дадзеных і выбраць пошукавы сервер.

Пасля гэтага абнаўлення, пачакаць некаторы час (Я не ведаю, Гэта займае некаторы час), Калі ваш пошукавы сэрвіс працуе, индексатор аўтаматычна пачне сканіраванне ўтрымання.

Памылка ў прэтэнзіі пастаўшчыкоў

Пры наладцы MySITE у SharePoint2010 фермы, было пачалі кідаць памылка “Памылка ў прэтэнзіі пастаўшчыкоў наладжаны з гэтага сайта калекцыі”

Не атрымалася высвятліць пытанне, паглядзеўшы часопісы й падзеі.

Таксама па змаўчанні рахункаў адлюстроўваюцца некаторыя сімвалы непажаданай “C:0(.s\true

Рэзалюцыя:

Цэнтральнае ўпраўленне павінна быць даступныя з “дзейны альтэрнатыўнага супастаўлення доступу URL