Wednesday, July 22, 2009

Cant upload big files in 2008

If you have changed the file size limit in CA, and then it doesnt work, check if you have win2008 since there's an knowed issue.

Found solution here. KB here.

Good resource on large files and Sharepoint: Paul Gavin.

Sharepoint Training

Office SharePoint Server 2007 Training download.

Maybe the best training road map for sharepoint:
http://blogs.msdn.com/neilth/pages/office-sharepoint-server-2007-training-material-roadmap.aspx

But 2010 is coming :)

Backup and restore, content types disappear

If you try to backup a site collection and restore it, everything looks fine but when you try for example to create a page you might receive a nice 'content type not found' error.

Not even the default content types are 'restored'. A google search pointed me to this site.

Marvelous, just run the SharePoint Products and Technologies Configuration Wizard and you should be back in business. Real simple solution.

Monday, June 22, 2009

My First Microsoft Certification

I passed today in MS exam 70.541. Of course im quite happy but it was a little bit easy, i have maybe 1,5years experience with MOSS mostly and with most of the question out there in the internet it was a 'walk in the park'.

One question intrigued me..i was sure it was wrong but Internet questions keep saying it was right...grrrr...but i didnt want to test my persistance so i checked the 'wrong' right one on the exam :D

So, maybe a next exam who knows... At least i can read other stuff...maybe BI

Tuesday, June 2, 2009

Cannot start microsoft office outlook. Cannot open the outlook window

I got this error today, i thought it was strange since i hadnt done anything unusual. My collegue told to repair with Office Cd, ok no problem i can keep on work so... Then he asked me to reboot and i didnt liked it and after the reboot the problem persisted. Damn.


I found a MS Kb about a similar error, saved my REG just in case and changed it, no go.


Another google and i got into this post and this solved the problem. Three simple words, 1 command. Hope it helps you.


Run outlook.exe /resetnavpane

Friday, April 24, 2009

SPUtility

The other day i discovered SPUtility, while browsing i found out some nice methods, check them out :-)


·         SPUtility.SendEmail(web, false, false, "someone@somewhere.com", subject, body);

 

·         string featurePath =SPUtility.GetGenericSetupPath("template\\features");

 

    // returns C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES

       

 

Redirect to the SharePoint Error Page.
            This is a nice way of handling errors cleanly and consistently.

    try 
   
 
        
// some code that might fail 
    } 
   
 catch (SPException ex) 
    { 
        
SPUtility.TransferToErrorPage("An error occurred.\n" + ex.Message); 
    }

 

 

        4. Redirect to any page.
            I find this really handy as you can provide flags that let you redirect relative to the layouts directory (if you have some custom layout pages)

    // send user to login page 
    SPUtility.Redirect("login.aspx", SPRedirectFlags.RelativeToLayoutsPage,HttpContext.Current);

 

Original: http://www.trinkit.co.nz/blog/archive/2007/04/30/programming-in-wss-use-sputility.aspx