Browse by Tags
If you create a new cache with secondaries enabled new-cache -CacheName NamedCache1 -Secondaries 1 you need to have more than one cache host, otherwise the cache won't work. In my first velocity test I only had one server and created the cache with
Read More...
Because I have pages with the markup <%= someVariable%> like < script type ="text/javascript"> function ConfirmCallBack(arg) { if (arg) <%= this ._nextPostBack%> } </ script > I get the following error: "The Controls
Read More...
Started today using Codesmith tools today after a year or so since the last time that I used this great generation template based tool. I had to generate all the layers of an existent portal and I decided to use the netTiers templates to accomplish this
Read More...
I have a class library project where I want to add the assembly to the GAC but only when the configuration is Debug. The solution is: if "$(ConfigurationName)" == "Debug" "C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\"gacutil
Read More...
First of all, thanks to Mário Rufino and Luis Guido from Microsoft Portugal for providing support during the PCNS installation. PCNS was installed in two domain controllers for the same domain in a large forest. Because none of the servers had the
Read More...
Last week I found that some emails weren't sent by sharepoint. When I created an alert I received an email saying that the alert was just created but after some change in the list no email was sent. The same problems happened with approval workflows.
Read More...
I was creating a SPD workflow that checks the approval status field. When you add this condition in SPD, the designer automatically gives you a combo box with all the possible values for the approval status field: 1;#Rejected, ... This works fine if you
Read More...
At c: you find an xml file - SoapTraceConfig.xml - where you can enable the soap logs. <?xml version='1.0'?> <SoapTrace> <!--Possible Flag values: AllRequests, FailedRequests, SuccessfulRequests, NoRequests-->
Read More...
Thanks to Shawn Lloyd from Microsoft support team for this information. I tried to set some additionally attributes like country, timezone, ..., but I was getting some errors in the export log file <Export> <BeginExport time="12-11-2007
Read More...
Before install Windows Live ID Management Agent 2.0 place the PassportMA_GlobalConfig.xml under \Extensions folder. The PassportMA_GlobalConfig.xml that Microsoft gives you doesn't have defaultcertski element specified. But after you install the MA with
Read More...
To the management agent work correctly with Windows Live the MIIS Service Account must be a member of the local administrators group. If you don't follow this rule you get a stop-extension-dll-exception and in the event log you get: "System.NullReferenceException:
Read More...
I'm going to create a custom action for Sharepoint Designer that creates a discussion thread in a discussion list based on the current list item. I'm going to use the code found here and put it into a SPD custom action. First create a Workflow
Read More...
If you have created a custom section like this , and if you want to add it programmatically to web.config then you have to: Use the WebConfigurationManager class and open the web Configuration config = WebConfigurationManager.OpenWebConfiguration(path,
Read More...
public static SPFile UploadListTemplate(string siteUrl, string templatePath) { using (SPSite site = new SPSite(siteUrl)) { SPDocumentLibrary templates = (SPDocumentLibrary)site.GetCatalog(SPListTemplateType. ListTemplateCatalog); System.IO.FileInfo fileInfo
Read More...
public static SPFile UploadWebTemplate(string siteUrl, string templatePath) { using (SPSite site = new SPSite(siteUrl)) { SPDocumentLibrary templates = (SPDocumentLibrary)site.GetCatalog(SPListTemplateType.WebTemplateCatalog); System.IO.FileInfo fileInfo
Read More...