Any Code?? Event Receivers are very specific and need certain methods.
Regards, Paul Turner Senior Solutions Specialist M: 0412 748 168 P: 08 8238 0912 F: 08 8234 5966 A: 66 Henley Beach Road, Mile End SA 5031 E: [email protected]<mailto:[email protected]> W: www.dws.com.au [cid:[email protected]] ADVANCED BUSINESS SOLUTIONS LTD This email and any files transmitted with it are confidential and are only for the use of the person to whom they are addressed. If you are not the intended recipient you have received this email in error and are requested to delete it immediately. Any opinion expressed in this e-mail may not necessarily be that of DWS Pty Ltd. Please consider the environment before printing this email. From: [email protected] [mailto:[email protected]] On Behalf Of Joe Breen Sent: Friday, 12 February 2010 10:17 PM To: [email protected] Subject: Event Handler Not Firing Hello. I have created an Event Receiver and bound it to a document library (ListTemplateId = 101). I have checked that it is bound correctly with this utility: http://spstipsutilitypack.codeplex.com/releases/view/39102 Everything seems to be ok and it seems to be bound correctly to the document library. I have tried redeploying the Feature and also deactivating and reactivating it. When I add a new document either through saving or through upload to the document library neither the ItemAdded or ItemAdding events get fired. I have tried deactivating and reactivating the Feature. Below is the Feature.xml and the Elements.xml files: Feature.xml ******* <?xml version="1.0" encoding="utf-8" ?> <Feature Id="112F06E5-A4DA-4ebc-A371-9AC661FF23B5" Title="Create Document ID" Description="Feature that generates a Document ID" Version="12.0.0.0" Hidden="FALSE" Scope="Web" DefaultResourceFile="core" xmlns="http://schemas.microsoft.com/sharepoint/"> <ElementManifests> <ElementManifest Location="CreateDocumentID.xml"/> </ElementManifests> </Feature> ********* CreateDocumentID.xml ******* <?xml version="1.0" encoding="utf-8" ?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Receivers ListTemplateId="101"> <Receiver> <Name>CreateDocIDItemAdded</Name> <Type>ItemAdded</Type> <SequenceNumber>10000</SequenceNumber> <Assembly>CreateDocID, Version=1.0.0.0, Culture=neutral, PublicKeyToken=036b52b8bf77e9e8</Assembly> <Class>CreateDocID.CreateDocumentID</Class> <Data></Data> <Filter></Filter> </Receiver> <Receiver> <Name>CreateDocIDItemAdding</Name> <Type>ItemAdding</Type> <SequenceNumber>10000</SequenceNumber> <Assembly>CreateDocID, Version=1.0.0.0, Culture=neutral, PublicKeyToken=036b52b8bf77e9e8</Assembly> <Class>CreateDocID.CreateDocumentID</Class> <Data></Data> <Filter></Filter> </Receiver> </Receivers> </Elements> ********* What am I doing wrong?
<<inline: image001.jpg>>
_______________________________________________ ozmoss mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
