Welcome to my blog mainly about SharePoint

I have hit a strange problem today and I am trying to wrap my head around why this is happening. Perhaps the SharePoint community has run into this before and has some insight as to what is causing it.

I have some custom code that enumerates each list then items in the list to do some security report processing. However, every now and then we will run across a user who has exceed their site quota and when our custom code runs we receive the following SPException:

Microsoft.SharePoint.SPException occurred Message="Your changes could not be saved because this SharePoint Web site has exceeded the storage quota limit. You must save your work to another location. Contact your administrator to change the quota limits for the Web site." Source="Microsoft.SharePoint" ErrorCode=-2130575282 StackTrace: at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback(String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pSchemaCallback) at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData() at Microsoft.SharePoint.SPListItemCollection.Undirty() at Microsoft.SharePoint.SPBaseCollection.System.Collections.IEnumerable.GetEnumerator()

My code does not attempt to update any information within the SharePoint site, so why would simply accessing the items in a list cause this error message?

To prove to myself that I am not writing any information to the list I decided to navigate to this list using the SharePoint Manager 2007 tool. As you can see from the screenshot below, I received the same error message just by clicking on the library:

Has anyone else seen this before? Any guidance would be appreciated.

I’ll continue my quest to discover the reason – I am hoping it is something obvious that I am overlooking.

This may seem obvious now but I through me for a loop for a few minutes yesterday when a co-worker asked me why he was getting redirected to the SharePoint access denied page when he attempted to add a new item to a list.

I checked the permissions on the list and he had contribute rights; hence the reason why he could see the New drop down button on the list. However, after he filled out the form and click Ok he was immediately re-directed.

After a few minutes I realized that he had the Edit access option of the Item-level Permissions on the list set to None.

Doh! – of course he is getting Access Denied

When adding a new item to a list, the SharePoint object model will,

Call the SPList.Add() method,

Update the properties of the SPListItem, then

Call the SPListItem.Update() method <—Access is denied

Understand how SharePoint updates the item, you can understand why setting the Edit access option to None would cause an issue.

From an end-users perspective, seeing the New option but getting denied could lead to major confusion. Knowing this as a possible scenario, you can at least be better equipped to help troubleshoot and solve the issue.

I have been using the public beta of Windows 7 for a couple days now and everything has been working perfectly. All of a sudden some of my software would not install. It would simply come up with an error message stating “Appname has stopped working”.

It turns out that any software installer that used MSI files would not work. After sometime of troubleshooting and searching the web I found a solution buried in a forum post on TechNet.

Start Regedit

Navigate to HKLM\Software\Microsoft\SQMClient\Windows\DisableSessions

Rename MachineThrottling to _MachineThrottling

After doing this all MSI related installation programs will work again. The great part about this is you do not even have to reboot.

About

My name is Paul Liebrand and I currently reside in Southern California. I plan on writing about anything related Microsoft SharePoint.

Because of other interests I have , you may also see posts off topic here.

I also started a community wiki site that will be dedicated to Windows SharePoint Services and related technologies. I update it has frequently as I can, but I encourage others to check it out and contribute where possible. The site can be found at http://www.wsswiki.com.