Welcome to Comunidade Bloggers |create|it| Sign in | Join | Help

Browse by Tags

High Availability Configuration in Velocity
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...
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)
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...
Codesmith, netTiers and reserved words
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...
Conditional Post-build event in Visual Studio 2008
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...
PCNS Installation
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...
Change MOSS 2007 server to another Windows 2003 Domain
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...
Approval status, MOSS and Sharepoint Designer
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...
Enable Soap logs for Windows Live MA 2.0
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...
Windows Live MA 2.0 additionally attributes
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...
Install Live@Edu pfx certificate
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...
Windows Live ID and MIIS Service Account
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...
Custom Action for Sharepoint Designer
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...
Add a custom section to web.config
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...
How to upload a list template
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...
How to upload a site template
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...
More Posts Next page »