Sign In
Manpreet's SharePoint Developer Blog
Options
Blog Home
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Alerts
app pool
Asp.net
COM
content editor
crawl
CSP
Email
enterprise
FBA
features
filtering
IAlertNotificationHandler
KB948321
List Items
Object Model
search
SendEmail
sharepoint
SPEmailEventReceiver
SPWebConfigModification
Timer Jobs
web part
web.config
workflow
Archive
Archives
May 2011
(1)
December 2010
(2)
June 2010
(1)
May 2010
(2)
April 2010
(1)
February 2010
(1)
January 2010
(4)
December 2009
(3)
November 2009
(3)
May 2009
(8)
April 2009
(1)
December 2008
(1)
September 2008
(1)
July 2008
(3)
June 2008
(1)
MSDN Blogs
>
Manpreet's SharePoint Developer Blog
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Manpreet's SharePoint Developer Blog
Error "operation is not valid due to the current state of the object" with custom event handler
Posted
8 months ago
by
Manpreet_Alag
0
Comments
Recently I had a customer who was hitting “ Operation is not valid due to the current state of the object ” error randomly on the document library where he had enabled his custom event handler ( ItemUpdated ). Event handler itself was pretty simple with...
Manpreet's SharePoint Developer Blog
BDC application definition file import error : cannot have more than 255 Parameters for a method.
Posted
over 2 years ago
by
Manpreet_Alag
0
Comments
Recently got a customer who had created a BDC application definition file but when trying to import it, he is getting error: The following error occurred: cannot have more than 255 Parameters for a method .Error was encountered at or just before...
Manpreet's SharePoint Developer Blog
Operation requires user to be Service Application Administrator to be able to execute the code
Posted
over 2 years ago
by
Manpreet_Alag
2
Comments
Recently got a customer who was having a very simple code in an application page (in _layouts folder) to find the crawled properties, which are mapped to a managed property in Search Service Application (in SharePoint 2010) as given below: 1: SPServiceContext...
Manpreet's SharePoint Developer Blog
Updating HTMLProp iFilter sample to work with MOSS 2007
Posted
over 2 years ago
by
Manpreet_Alag
0
Comments
What happened? Customer was using MOSS 2007 SP2 and was indexing a lot of content from external sites. These sites had date as information in the HTML meta fields. Customer wanted them to be indexed as Date/Time field in MOSS so that they can be queried...
Manpreet's SharePoint Developer Blog
Using custom OpenDocuments control to open custom file types in SharePoint
Posted
over 2 years ago
by
Manpreet_Alag
17
Comments
A customer was having a number of PDF files uploaded into their SharePoint sites. They were using Adobe Acrobat to edit and create PDF files. What customer wanted was, to be able to edit the PDF files directly from SharePoint by getting "Edit with Adobe...
Manpreet's SharePoint Developer Blog
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”
Posted
over 2 years ago
by
Manpreet_Alag
1
Comments
One of my customer’s came up with a peculiar issue. They were having a number of custom web parts on their SharePoint site and everything was working great from the browser. But they had also created a timer job that enumerates web parts and it used to...
Manpreet's SharePoint Developer Blog
How to Create new application pool and change App Pool of SharePoint Website
Posted
over 2 years ago
by
Manpreet_Alag
2
Comments
In OOTB SharePoint, you do not have anything which will allow you to create new application pools in IIS and assign them to applications. Also nothing was found in STSADM. If the application pool does not exist you can create it using the following code...
Manpreet's SharePoint Developer Blog
Incoming Email settings link disappears from document library settings
Posted
over 2 years ago
by
Manpreet_Alag
2
Comments
One of my customer had created a custom document library deriving from OOTB document library. They are able to create their document library from custom list definition properly without any issues. But when in the document library created using custom...
Manpreet's SharePoint Developer Blog
List Field added using InfoPath does not filter on [Me]
Posted
over 2 years ago
by
Manpreet_Alag
0
Comments
A Customer had created a custom InfoPath form to add a new item in the list. It gets added, but when he is trying to filter it using the field value =[Me], the filter does not work and all the items are shown to everyone. Basically they are pulling in...
Manpreet's SharePoint Developer Blog
Alerts not moved when moving sites
Posted
over 2 years ago
by
Manpreet_Alag
2
Comments
A friend on mine recently came to me asking for a solution. They had an old site which was being used by a lot of people, then they decided to move it. As they did not had any kind of custom solutions or any other kind of customizations, STSADM export...
Manpreet's SharePoint Developer Blog
Control a Windows Service from SharePoint Central Admin site
Posted
over 2 years ago
by
Manpreet_Alag
0
Comments
You are a very good developer and have created a great windows service that works like a charm and your CEO likes the functionality and would love to have your SharePoint Administrator control it from the SharePoint Central Administration Site !!!! What...
Manpreet's SharePoint Developer Blog
‘cacheRolesInCookie’ does not work with custom role providers
Posted
over 2 years ago
by
Manpreet_Alag
1
Comments
Earlier also I had heard and experienced that cacheRolesInCookie did not use to work with SharePoint 2007. When I was going through the fixes released in Service Pack 1 for SharePoint 2007 , there was a mention of how it resolves the issue and actually...
Manpreet's SharePoint Developer Blog
“Send To” function in WSS 3.0 does not copy look-up fields
Posted
over 3 years ago
by
Manpreet_Alag
1
Comments
The "Send To" function of WSS 3.0 does not copy look-up fields when you copy a non-Office document (like doc, xls etc) for 1 list to another. This is because the scope of the Look-Up field is the same web that the source document is at; whereas...
Manpreet's SharePoint Developer Blog
How to get audit logs for various admin activities in SharePoint 2007
Posted
over 3 years ago
by
Manpreet_Alag
0
Comments
A customer came up with a requirement that they wanted to know and get the audit log of the following activities happening their environment: Users/Groups added/modified in the People and Groups list of the site. Any modification in the Site Collection...
Manpreet's SharePoint Developer Blog
How to find all the websites using enterprise features in SharePoint
Posted
over 3 years ago
by
Manpreet_Alag
0
Comments
A customer came up and said, we are having a large number of SharePoint Enterprise licenses and we want to know how many websites in our Farm are actually using Enterprise features of SharePoint. In SharePoint, enterprise features are available by enabling...
Manpreet's SharePoint Developer Blog
How to fetch data from XML file and auto-populate the fields in NEWFORM.aspx
Posted
over 3 years ago
by
Manpreet_Alag
0
Comments
Recently a customer came up with a requirement that he is having some structured data in XML file and now when they are creating a list which will have data populated from the XML file. The XML file contained the machine details for a particular user...
Manpreet's SharePoint Developer Blog
WHY MY WORKFLOW DOES NOT WAKE UP FROM DELAYACTIVITY?
Posted
over 3 years ago
by
Manpreet_Alag
5
Comments
Lately working with one of the customer’s I came across an interesting lookout. Basically customer has created a simple workflow for SharePoint in Visual Studio 2008 and had used a delay activity which seems to be causing the problem. The problem was...
Manpreet's SharePoint Developer Blog
Download AutoCAD’s .dwt files from SharePoint Document Library
Posted
over 3 years ago
by
Manpreet_Alag
2
Comments
Recently I came across an issue with one of the customers. They are using a lots of AutoCAD files which are with DWT extension and are uploaded to a SharePoint’s document library. But when they are trying to download the .dwt files, it is failing always...
Manpreet's SharePoint Developer Blog
How to create custom Submit posting action handler to send email for MCMS 2002
Posted
over 3 years ago
by
Manpreet_Alag
1
Comments
Recently a customer came up with an issue and wanted to create a custom submit action button handler in CMS 2002 and send email to the editor/moderator. The requirement was that the user should be able to select which editor or moderator the email needs...
Manpreet's SharePoint Developer Blog
SPWebConfigModification does not work on Farms with multiple WFEs
Posted
over 3 years ago
by
Manpreet_Alag
1
Comments
Sometime back a customer came up with an issue. He has written a code in FeatureActivated event handler to add an entry into Web.Config file by using SPWebConfigModification API. The same entry was being removed in FeatureDeactivating event handler. ...
Manpreet's SharePoint Developer Blog
WSRPConsumerWebPart does not have unique ID for userContextKey
Posted
over 3 years ago
by
Manpreet_Alag
4
Comments
A customer came up with an issue. WSRPConsumerWebPart ’s userContextKey is always sending user’s display name when communicating with the producer. They were having a requirement that the userContextKey have to be a unique value to identify the user....
Manpreet's SharePoint Developer Blog
How to programmatically complete Approval workflow task
Posted
over 3 years ago
by
Manpreet_Alag
4
Comments
A team mate of mine was stuck with a curious issue. She was using SharePoint’s in-built Approval workflow but was using a custom ASP.net application to talk to a custom webservice hosted inside SharePoint server. That particular web service was having...
Manpreet's SharePoint Developer Blog
Parser error : “The async attribute on the page directive is not allowed in this page”
Posted
over 3 years ago
by
Manpreet_Alag
4
Comments
I have seen this error on various forums for quite sometime and wondered what is that SharePoint is doing around this? It usually happens when you add Asyc="True" attribute to a SharePoint page and try to run the page, you get Parser error "The async...
Manpreet's SharePoint Developer Blog
SPWebConfigModification adds the entry in web.config, but does not remove it
Posted
over 3 years ago
by
Manpreet_Alag
3
Comments
I was working with one of my colleague on an issue. It was a weird one, where customer was using SPWebConfigModification class to add the safe control entry into the web.config. The sample code being used was adapted from the SPWebConfigModification page...
Manpreet's SharePoint Developer Blog
Attachments disappear with custom email event handler
Posted
over 3 years ago
by
Manpreet_Alag
21
Comments
I was working with custom email event handler in SharePoint using SPEmailEventReceiver and found that when using the default functionality of I am able to configure and get the attachments to be added to the document library. Here is how the Incoming...
Page 1 of 2 (33 items)
1
2