Hi all.  Thanks for your suggestions re: the dynamic columns.  I still
haven't managed to get those working yet, although mainly because I've been
given something else to work on instead.  :)

I'm now trying to create the configuration page for a custom Information
Management Policy, based on the Watermark policy example in chapter 8 of the
Inside MOSS 2007 Microsoft Press book.  The policy itself (i.e. without edit
page) seems to work okay, but whenever I try to access the Policy Edit page
for, say, a content type, I get an error in SharePoint: "Could not load type
'PolicyTest.Watermark.WatermarkPolicySettings'".  The namespace and class
names are correct (the namespace is PolicyTest.Watermark, and the class
WatermarkPolicySettings).

I have copied the ascx to the \12\TEMPLATE\LAYOUTS directory, and the DLL
containing the code-behind is in the GAC (and is visible to SharePoint: all
of the activation / registration code is in the same assembly, and that is
working fine).  I haven't included any paths to the ascx in the RootFiles or
TemplateFiles section of the WSP's manifest, mainly because I was getting an
error there too.

I have tried searching and comparing my code to various online examples, but
can't find any hints as to why SharePoint can't see the class.  Any help
would be greatly appreciated: I have been on this same exercise for days and
am completely at a loss as to what to try next.

By the way, I am using Visual Studio 2005 with VSEWSS 1.1, and MOSS 2007.


-- 
Rebecca



------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.
Powered by mailenable.com

Reply via email to