eddyblanco on October 19th, 2009

This is a series of White Papers that have been published by Microsoft before the reveal of Sharepoint 2010 at Sharepoint Coference 2009.   
Microsoft SharePoint Server 2010 Upgrade Planning
Microsoft SharePoint Server 2010 — Test Your Upgrade Process
Microsoft SharePoint Server 2010 — Services Upgrade

Continue reading about Planning for SharePoint 2010 - Upgrade Planning and Guidance

eddyblanco on May 11th, 2009

Microsoft just announced the Sharepoint 2010 preliminary system requirements. From this point on only 64bit of Sharepoint and SQL are supported.
 
Link

Continue reading about SharePoint 2010 requirements

eddyblanco on April 29th, 2009

After installing WSS 3 SP2 I encounter the following error.
Server error: http://go.microsoft.com/fwlink?LinkID=96177
I try the following and nothing happened, after started changing the version number in the SQL DB and that broke the entire solution.
USE master;
GO
EXEC sp_configure ’show advanced option’, ‘1′;
RECONFIGURE WITH OVERRIDE;
EXEC sp_configure;
psconfig -cmd upgrade
stsadm -o upgrade –forceupgrade -inplace
stsadm -o upgrade -url http://laptopdev -inplace –forceupgrade
At [...]

Continue reading about WSS 3 /MOSS SP2 errors encounter

eddyblanco on March 5th, 2009

The simple program will send emails at the end of the month.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Mail;
namespace SendEmailLastDayofMonth
{
    class Program
    {
        static void Main(string[] args)
        {
            DateTime lastDayofMonth = new DateTime(DateTime.Today.Year, DateTime.Today.Month, DateTime.DaysInMonth(DateTime.Today.Year,DateTime.Today.Month));
            if(DateTime.Today == lastDayofMonth)
            {
                try
                {
                    MailMessage mM = new MailMessage();
                    mM.From = new MailAddress(”eddyblanco@gmail.com“);
                    mM.To.Add(”eddyblanco@gmail.com“);
                    mM.Subject = “Text Subject”;
                    mM.Body = [...]

Continue reading about Sending mail using c#

eddyblanco on February 28th, 2009

Today in the process of a SharePoint migration I encounter several Warnings in the logs. Warning: User or group xxxx cannot be resolved.
The problem is every security group that has the ID’s with the warning above do not come over on the import, which shows up as a warning in the import log as.
Warning: Importing [...]

Continue reading about Warning: Importing Group “Group Name”

eddyblanco on February 10th, 2009

Article by Michael Gannotti on the announcement of ESP for SharePoint.
Link

Continue reading about ESP For SharePoint Announced!

eddyblanco on January 31st, 2009

PDisposeCheck for SharePoint Developers has been released. SPDisposeCheck inspect your SharePoint assemblies to make sure you are code is disposing correctly
Link

Continue reading about SPDisposeCheck Released

The reason for the problem is that the GUID is the same as an existing site. You could either delete the old site or create a new web application and restore in that new one.

Continue reading about stsadm restore Results “No content databases are available for this operation”

eddyblanco on January 18th, 2009

The Community Technology Preview release for Visual Studio 2008 extensions for SharePoint 1.3 is now publicly available on Microsoft Connect.
The CTP is available at: https://connect.microsoft.com/site/sitehome.aspx?SiteID=428
New Features in VSeWSS 1.3

The extensions now install on x64 bit OS. Visual Studio 2008 and SharePoint must be already installed.
Command Line Build option for TFS and MSBuild integration
Separate WSP Package [...]

Continue reading about Visual Studio 2008 extensions for SharePoint 1.3

eddyblanco on January 1st, 2009

I spent most of this year doing SharePoint development and Architecture. My role at my company will probably continue along that path and perhaps even more so.
Resolutions for 2009
Spend more time outside and SharePoint of course.

Continue reading about Happy New Year

eddyblanco on December 28th, 2008

If your alerts stop working below you will find the solution that works for me. Also I have created a custom handler to take care of the 70 character
stsadm -o updatealerttemplates -url -f “c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML\alerttemplates.xml” -LCID 2057″

stsadm -o setproperty -propertyname alerts-enabled -propertyvalue false -url
stsadm -o setproperty -propertyname alerts-enabled -propertyvalue true [...]

Continue reading about Alerts are not working

eddyblanco on November 10th, 2008

In order to use the navigation from the parent site. The following code would help with that.
SPSite SiteCollection = new SPSite(http://laptopdev/eddy);
SPWeb Webopenme = SiteCollection.OpenWeb();
Webopenme.allowunsafeupdates = true;
Webopenme.Navigation.UseShared = true;

Continue reading about Sub site to use navigation from parent site

eddyblanco on October 24th, 2008

Click to read

Continue reading about Office 14 rumors

I needed to add a group and several users to all site collections in a farm that consisted of 4000+ site collections and 20+ terabytes. This users would be a part of an administration group that could view and manage the collections. In order to add the users I use the spfarm class.
using System;
using System.Collections.Generic;
using [...]

Continue reading about Adding a New Group and users to group just created (All Site collections and sub webs)

eddyblanco on September 27th, 2008

The rule of thumb for SharePoint lists has always been “no more than 2000 items in a given container”.
Now in the recently released White Paper “SharePoint Performance Optimization - How Microsoft IT Increases Availability and Decreases Rendering Time of SharePoint Sites”, the following is stated in the Best Practices section:
“Manage large lists for performance  
Having [...]

Continue reading about MOSS: Goodbye 2000 limit, Hello 3000?

eddyblanco on September 7th, 2008

I just read that Patrick Tisseghem, one of the most remarkable persons in the SharePoint community, has passed away. Patrick leaves a huge global footprint in the community, and he will be remembered. I’d like to express my deepest condolences to his family, friends and the entire U2U team.
Patrick, you will be missed.

Continue reading about The Passing of Patrick Tisseghem

eddyblanco on August 30th, 2008

Some of the improvements in the Windows 2008 operating system are:

RPC Asynchronous Pipe vs. Multiple RPC Calls in Windows Server 2003 R2
Asynchronous I/Os vs. Synchronous I/Os in Windows Server 2003 R2
Unbuffered I/Os vs. Buffered I/Os in Windows Server 2003 R2
Low Priority I/Os vs. Normal Priority I/Os in Windows Serve 2003 R2
16 Concurrent File Downloads vs. [...]

Continue reading about Windows Server 2008 improvements

eddyblanco on August 30th, 2008

If you need to upload files to a SharePoint document library programmatically the following code accomplishes that need.
SPSite site = new SPSite(URL);
SPWeb web = site.OpenWeb();
web.AllowUnsafeUpdates=true;
string path =””; 
string []fileName =filePath.PostedFile.FileName.Split(’\\’);
int length = fileName.Length;
string file=fileName[length-1];
SPFolder folder = web.GetFolder(LibraryName);
SPFileCollection files=folder.Files;
Stream fStream = filePath.PostedFile.InputStream;
byte[] MyData= new byte[fStream.Length];
fStream.Read(MyData, 0, (int)fStream.Length);
fStream.Close();
SPFile fff= files.Add(file,MyData);
web.AllowUnsafeUpdates=false;

Continue reading about Code For Uploading File to Document Library

eddyblanco on August 15th, 2008

The picture below is me surfing in Melbourne Florida about 2 months ago.
 

Continue reading about Surfing back home

eddyblanco on August 15th, 2008

I’ve working on infopath recently. I had to insert a value via code to a sharepoint list and here in how I did it.
XPathNavigator xnDoc = this.MainDataSource.CreateNavigator();
            //Create a Navigator object for the field that you want to set.
            XPathNavigator TitleDescription = xnDoc.SelectSingleNode(”/my:Baseline_Change_Request/my:TitleDescription”, this.NamespaceManager);
            XPathNavigator XMLFileName = xnDoc.SelectSingleNode(”/my:Baseline_Change_Request/my:CR_File_Name”, this.NamespaceManager);
          
            //Remove the “nil” attribute.
            [...]

Continue reading about InfoPath Insert value to Sharepoint List