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?
_______________________________________________
ozmoss mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss