Condividi tramite


Manpreet's SharePoint Developer Blog

Error "operation is not valid due to the current state of the object" with custom event handler

Recently I had a customer who was hitting “Operation is not valid due to the current state of the...

Date: 05/16/2011

Operation requires user to be Service Application Administrator to be able to execute the code

Recently got a customer who was having a very simple code in an application page (in _layouts...

Date: 12/23/2010

Updating HTMLProp iFilter sample to work with MOSS 2007

What happened? Customer was using MOSS 2007 SP2 and was indexing a lot of content from external...

Date: 06/02/2010

Using custom OpenDocuments control to open custom file types in SharePoint

A customer was having a number of PDF files uploaded into their SharePoint sites. They were using...

Date: 05/13/2010

Code fails with “A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe”

One of my customer’s came up with a peculiar issue. They were having a number of custom web parts on...

Date: 05/03/2010

How to Create new application pool and change App Pool of SharePoint Website

In OOTB SharePoint, you do not have anything which will allow you to create new application pools in...

Date: 04/14/2010

One of my customer had created a custom document library deriving from OOTB document library. They...

Date: 02/15/2010

List Field added using InfoPath does not filter on [Me]

A Customer had created a custom InfoPath form to add a new item in the list. It gets added, but when...

Date: 01/01/2010

Alerts not moved when moving sites

A friend on mine recently came to me asking for a solution. They had an old site which was being...

Date: 01/01/2010

Control a Windows Service from SharePoint Central Admin site

You are a very good developer and have created a great windows service that works like a charm and...

Date: 01/01/2010

‘cacheRolesInCookie’ does not work with custom role providers

Earlier also I had heard and experienced that cacheRolesInCookie did not use to work with SharePoint...

Date: 01/01/2010

“Send To” function in WSS 3.0 does not copy look-up fields

The "Send To" function of WSS 3.0 does not copy look-up fields when you copy a non-Office...

Date: 12/31/2009

How to get audit logs for various admin activities in SharePoint 2007

A customer came up with a requirement that they wanted to know and get the audit log of the...

Date: 12/24/2009

How to find all the websites using enterprise features in SharePoint

A customer came up and said, we are having a large number of SharePoint Enterprise licenses and we...

Date: 12/24/2009

How to fetch data from XML file and auto-populate the fields in NEWFORM.aspx

Recently a customer came up with a requirement that he is having some structured data in XML file...

Date: 11/24/2009

WHY MY WORKFLOW DOES NOT WAKE UP FROM DELAYACTIVITY?

Lately working with one of the customer’s I came across an interesting lookout. Basically customer...

Date: 11/20/2009

Download AutoCAD’s .dwt files from SharePoint Document Library

Recently I came across an issue with one of the customers. They are using a lots of AutoCAD files...

Date: 11/20/2009

How to create custom Submit posting action handler to send email for MCMS 2002

Recently a customer came up with an issue and wanted to create a custom submit action button handler...

Date: 05/30/2009

SPWebConfigModification does not work on Farms with multiple WFEs

Sometime back a customer came up with an issue. He has written a code in FeatureActivated event...

Date: 05/22/2009

WSRPConsumerWebPart does not have unique ID for userContextKey

A customer came up with an issue. WSRPConsumerWebPart’s userContextKey is always sending user’s...

Date: 05/21/2009

How to programmatically complete Approval workflow task

A team mate of mine was stuck with a curious issue. She was using SharePoint’s in-built Approval...

Date: 05/20/2009

Parser error : “The async attribute on the page directive is not allowed in this page”

I have seen this error on various forums for quite sometime and wondered what is that SharePoint is...

Date: 05/20/2009

SPWebConfigModification adds the entry in web.config, but does not remove it

I was working with one of my colleague on an issue. It was a weird one, where customer was using...

Date: 05/18/2009

Attachments disappear with custom email event handler

I was working with custom email event handler in SharePoint using SPEmailEventReceiver and found...

Date: 05/13/2009

How to “not” connect SharePoint document library to Outlook Client

Recently while working with a customer, got a requirement which got me digging into the emails...

Date: 05/12/2009

Impersonation does not work with UserProfileManager

I am back after a long time and will now try to be a little more regular with my posts. Recently we...

Date: 04/20/2009

Enterprise Search Crawl Logs in MOSS 2007

When the web application is created and content source crawled, it gets listed in the the crawl logs...

Date: 12/10/2008

Alert emails not recognized by Outlook as "Alert Emails"

Recently a customer was following the KB 948321 and customizing the Alert notification emails being...

Date: 07/23/2008

How to upgrade workflow assembly in MOSS 2007

This problem generally start when you are having an existing custom workflow and there are instances...

Date: 07/16/2008

SPListItem.Update() not starting workflow

I had a custom list and had the OOB approval workflow attached to it and setup to run on the item...

Date: 07/11/2008

The first entry : Is my smart card incompatible with Windows XP SP3?

After creating the blog account and sitting on it for last few days, finally got to publish this...

Date: 06/20/2008