Thanks for the suggestions!  :)

I did manage to fix it, with help from a guy on the MSDN forums.  What I
needed to do was fix up the header in the ascx to include the full assembly
info in the Inherits field (rather than just the namespace / class name),
and place a copy 12/Template/ControlTemplates folder as well as the
12/Template/Layouts folder.

On Wed, Aug 13, 2008 at 6:39 PM, Ajay <[EMAIL PROTECTED]> wrote:

> Just for test,, try putting the dll in the bin folder of your app and
> see if that works.
>
>
>
> On Thu, Aug 14, 2008 at 6:33 AM, Rebecca Thornton <[EMAIL PROTECTED]>
> wrote:
> > 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
>
>
> -------------------------------------------------------------------
> OzMOSS.com - to unsubscribe from this list, send a message back to the list
> with 'unsubscribe' as the subject.
> Powered by mailenable.com
>
>
>


-- 
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