SharePoint Bug makes it expire after installing service pack 2

by Oscar 24. May 2009 21:17

Just in case, you have not seen this

http://news.cnet.com/8301-10805_3-10248404-75.html?part=rss&subj=news&tag=2547-1_3-0-5

Use this KB article to fix it http://support.microsoft.com/kb/971620

Regards,
Oscar

Tags:

It is official, I am going independent!

by Oscar 21. May 2009 19:42

It was only a matter of time :)  As of now, I am fully dedicated to making SharePointAce.com grow.  We have some projects in the pipeline, but if you know of project I can assist on, please contact me.

Here is to a new start!

-O

Tags:

Windows 2008, IIS 7.0, and SharePoint large file uploads

by Oscar 17. May 2009 20:10

You probably have experienced these symptoms when attempting to upload files larger than 30MB on SharePoint.  In addition to standard SharePoint settings via the Central Administration for your Web Application, you have to set the allowed on the web.config file.  What would be nice, is that when you change those settings, the web.config file also adds the section below if it does not exist.

Single File Upload via Document Library
You get a 404 page.

Single or Multiple File Upload/Copy/Paste using open with Windows Explorer
The file begins uploading but then towards the end you get the following error:

Could not find this item

This is no longer located in C:\filepath. Verify the item’s location and try again.

Multiple File Upload via Document Library
You don’t get error messages, but the file is not showing up on your doc lib

SOLUTION

Add the following code to the <configuration> section of the Web.config file:

<system.webServer>
	<security>
		<requestFiltering>
			<requestLimits maxAllowedContentLength="52428800"/>
		</requestFiltering>
	</security>
</system.webServer>

Now go crazy uploading large files into SharePoint! Your DBAs may not like you after that :)

Cheers,
Oscar

Tags:

Forms Based Authentication &ndash; Using the standard .NET 2.0 Login Control

by Oscar 17. May 2009 07:22

While working on an extranet for a client, we ran into a requirement that proved to be simple to implement.  The client wanted to just show a login form on the home page.  As you probably already know, when configuring a SharePoint site to use FBA you get an ugly login page by default (see FIGURE 1) not ideal since it is also difficult to spot the login link on top right corner to get to this form.

FIGURE 1 – Default login.aspx for Forms Based Authentication site

image 



FIGURE 2 – Login link on top right corner of portal home page

image

Solution

Since MOSS is written on top of the .NET 2.0 framework, it made sense to quickly drag the Login Control to a page using SharePoint Designer 2007.  By simply configuring the MemberShipProvider, we are able to log the user in.  Of course, while I was at it, I decided it would be nice to make the login control look nicer, so I reused the login button image that comes with SharePoint :)

In addition, I made sure to configure the  VisibleWhenLoggedIn and set it to FALSE, so that it does not show up when the user is logged in.

FIGURE 3 – Custom login page with .NET 2.0 Login Control

image

FIGURE 4 – Configure MembershipProvider

image 

There are plethora of properties that can be configured for this control.  As you can see, I also decided to redirect my users to the home.aspx page after a successful login.

Hope this helps,
Oscar

Tags:

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About Oscar

Oscar Medina - SharePoint Solutions Architect

I am a SharePoint Solutions Architect and Managing Partner at SharePointAce Consulting Group, LLC.  I have over 13 years of software development experience. 

Previously a Consultant at Microsoft Consulting Services (MCS) North West Region with focus on the SharePoint Products and Technologies Platform.  I have been involved with SharePoint since it's first version (SharePoint 2001) and have grown more gray hair providing solutions ever since :)

Author of the CQWP – Recurring Calendar Events at http://cqwprce.codeplex.com

 

Follow SharePointAce on Twitter! Follow me on Twitter.


Contributor to the book:

 

Occasional Speaker at SharePoint Saturday - SharePoint Saturday

RecentComments

Comment RSS