Eines

Arxiu Adjunt Mida error de 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.

Resolució:

Feu clic a Configuració d'aplicació general a l'Administració central

Feu clic a Configura InfoPath Forms Services a 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.

La col.lecció de llocs de còpia de seguretat usant PowerShell

PowerShell sempre fa la sensació que l'administrador de la programació, Bàsicament sóc un desenvolupador no hi ha molt en l'ús de les opcions dels menús per a realitzar les tasques de còpia de seguretat com (Mai he fet servir l'opció de còpia de seguretat en l'Administració centralJ)

Anem a parlar de còpia de seguretat de la col · lecció de llocs usant PowerShell amb exemples.

Sintaxi:

Backup-SPSite <<URL del lloc Collection>>

-Camí <<Ruta de l'Arxiu>>

[-Força]

[-Confirmar]

[-NoSiteLock]

[-UseSqlSnapshot]

 

Exemple 1:

    Backup-SPSite http://localhost-Ruta C:\SiteBackup.bak

Crea la còpia de seguretat de la col · lecció de llocs, l'arxiu de còpia de seguretat s'emmagatzema en C: unitat denominada com SiteBackup.bak

 

Exemple 2:

    Backup-SPSite http://localhost-Ruta C:\SiteBackup.bak-Force

Quan el treball està programat per a la còpia de seguretat diària, si el fitxer de còpia de seguretat ja existeix en la ruta especificada, el procés de còpia de seguretat es donaria per acabat.

Ús de la Força-farà complir sobreescriure el fitxer existent.

 

Exemple 3:

Per defecte, la comanda de Bacup-lloc que s'estableix la col · lecció de llocs com de només lectura, mentre que la còpia de seguretat està en marxa per evitar actualitzacions i / o evitar que l'arxiu de còpia de seguretat de la corrupció. L'ús de-NoSiteLock interruptor no es bloquejarà la col · lecció de llocs de només lectura, a la vegada còpia de seguretat en curs.

 

Exemple 4:

    Canviar
UseSqlSnapShot realitzarà les instantànies de còpia de seguretat amb, aquest commutador només serà vàlida amb Enterprise Edition.

TaxonomyPicker Error en Registre de successos de SharePoint 2010

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

Load control template file /_controltemplates/TaxonomyPicker.ascx failed: No s'ha pogut carregar el tipus ‘Microsoft.SharePoint.Portal.WebControls.TaxonomyPickerfrom assemblyMicrosoft.SharePoint.Portal, Version=14.0.0.0, Culture = neutral, 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.

Aconsegueixi l'ajuda per cmdlet de PowerShell

Dia 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.

Sintaxi:

    Get-Help <<cmdlet>>

Exemple: Let’s get help for Get-Help ;)

    Get-Help Get-Help

 

Llista de tots els comandaments de PowerShell que en SharePoint 2010

Aquesta és la sèrie de seqüència PowerShell en SharePoint 2010. Aprengui un cmdlet (command-let) un dia.

Cmdlet(Command-let)

Cmdlet són ordres compilats instal · lats amb PowerShell. Quan s'inicia “SharePoint 2010 Gestió de PowerShell”, la consola comença amb pre-carregats cmdlets.

Dia 1:

Get-Command

Cmdlet Get-Command retornarà tots els commandlets registrats amb PowerShell.

    -Module

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

Sintaxi:

    Get-Command -Module <<Module Name>>

 

Exemple:

    Get-Command -Module Microsoft.SharePoint.PowerShell

Llista no hi ha error d'usuari anònim en SharePoint 2010

Jo estava fent la "Llista no existeix error" per als usuaris anònims, després d'activar el mode de depuració que té l'excepció a continuació moooolt.

En realitat, no s'assenyala amb l'error real, després d'un parell d'excavacions; Em vaig imaginar que la meva galeria de pàgines mestres i la biblioteca d'estils té permís únic, no s'hereten del pare.

L'herència de l'autorització dels pares, resolt el problema.

Error de servidor ‘/’ Aplicació.


Aquesta llista no existeix.

La pàgina seleccionada conté una llista que no existeix. Pot haver estat eliminat per un altre usuari.<nativehr>0×81020026</nativehr><nativestack></nativestack>

Descripció: Una excepció no controlada durant l'execució de la sol · licitud web actual. Reviseu el seguiment de la pila per obtenir més informació sobre l'error i on es va originar en el codi.

Detalls de l'excepció: System.Runtime.InteropServices.COMException: Aquesta llista no existeix.

La pàgina seleccionada conté una llista que no existeix. Pot haver estat eliminat per un altre usuari.<nativehr>0×81020026</nativehr><nativestack></nativestack>

Error Origen:

Una excepció no controlada es va generar durant l'execució de la sol · licitud web actual. La informació sobre l'origen i la ubicació de l'excepció poden identificar utilitzant la traça de pila de l'excepció a continuació.


Seguiment de la pila:

 

[COMException (0x81020026): Aquesta llista no existeix.

La pàgina seleccionada conté una llista que no existeix. Pot haver estat eliminat per un altre usuari.<nativehr>0x81020026</nativehr><nativestack></nativestack>]

Microsoft.SharePoint.Library.SPRequestInternalClass.GetListsWithCallback(Cadena bstrUrl, GUID foreignWebId, Cadena bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, P2DWriter ISP2DSafeArrayWriter, Int32& plRecycleBinCount) +0

Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(Cadena bstrUrl, GUID foreignWebId, Cadena bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, P2DWriter ISP2DSafeArrayWriter, Int32& plRecycleBinCount) +278

[SPException: Aquesta llista no existeix.

La pàgina seleccionada conté una llista que no existeix. Pot haver estat eliminat per un altre usuari.]

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

Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(Cadena bstrUrl, GUID foreignWebId, Cadena bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, P2DWriter ISP2DSafeArrayWriter, Int32& plRecycleBinCount) +27639327

Microsoft.SharePoint.SPListCollection.EnsureListsData(GUID webid, Cadena strListName) +623

Microsoft.SharePoint.SPListCollection.ItemByInternalName(Cadena strInternalName, Boolean bThrowException) +27372020

Microsoft.SharePoint.SPListCollection.get_Item(GUID uniqueID) +114

Microsoft.SharePoint.Publishing.CommonUtilities.GetListByID(SPWeb Web, GUID ListId, Boolean attemptCleanup) +346

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

Microsoft.SharePoint.Publishing.Internal.CachedVariationSettings .. ctor(SiteID orientació, SPUrlZone zona) +183

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

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

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

Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(esperar SecureCode de devolució de trucada, Objecte param) +27187865

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

Microsoft.SharePoint.Publishing.Internal.CachedVariationSettings.CreateVariationSettings(SiteID orientació, SPUrlZone zona, Boolean forceRefresh) +131

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

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

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

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

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

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

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394

 


Informació sobre la versió:Microsoft. NET Framework:2.0.50727.4952; Versió de ASP.NET:2.0.50727.4955

Com implementar el sitetemplate(.STP) arxiu en servidors de 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.

Sintaxi:

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

 

Exemple:

    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 Fàcil de seqüència d'instal lació

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 - Recerca d'error

Jo estava fent el següent error, quan intento buscar alguna cosa a SharePoint Fundació 2010 Lloc web.
“La seva cerca no es pot completar perquè aquest lloc no està assignat a un indexat. Poseu-vos en contacte amb l'administrador per obtenir més informació”

Com vostès conscients que, no tenim més opcions per a la gestió de cerca en bases 2010, causa de la seva limitació.

Llavors em vaig adonar que, No configurar / inici del meu servei de cerca, en crear la meva primera aplicació web.

Així que, hem de configurar el controlador pas a pas per a la base de dades de contingut.

Anar a la Gestió d'Aplicacions -> Bases de dades -> Administrar bases de dades de contingut

Seleccioneu la base de dades de contingut i triï el seu servidor de recerca.

Després d'aquesta actualització, esperar algun temps (No sé, que es necessita un temps), Si el seu servei de recerca està en execució, el indexats s'iniciarà automàticament el rastreig de contingut.

S'ha produït un error en els proveïdors de la demanda

En configurar el mysite a la finca SharePoint2010, es van començar a tirar un error “S'ha produït un error en els proveïdors de la demanda configura d'aquesta col.lecció de llocs”

No s'ha pogut esbrinar el problema buscant els registres i esdeveniments.

També els comptes per defecte mostra alguns caràcters escombraries “c:0(.s\true

Resolució:

L'administració central ha de tenir accés amb “vàlida d'accés alternatiu url de mapeig