Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CustomPolicy

2 views
Skip to first unread message

Sanjay Rimal

unread,
Feb 25, 2010, 5:39:57 AM2/25/10
to

I am working on my custom policy. I set up output of project to the bin
folder of web site ie all assemblies directly go to bin folder of intended
website.
When I try to install feature for Custom Policy, I get following error, Have
anyone faced the same problem?
Any Help would be much apprecited.

C:\Documents and Settings\Sanjay>stsadm -o installfeature -filename
TaskAssignmentPolicy\feature.xml

Feature '7a1b9959-b3af-41b5-875c-a4891488b447' could not be installed
because the loading of event receiver assembly
"ProSharePoint2007.Chapter12.TaskAssig
nmentPolicy, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=0b97b340d4a71524" failed: System.IO.FileNotFoundException:
Could not load file or assembly 'P
roSharePoint2007.Chapter12.TaskAssignmentPolicy, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=0b97b340d4a71524' or one of its
dependencies. The system
cannot find the file specified.
File name: 'ProSharePoint2007.Chapter12.TaskAssignmentPolicy,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=0b97b340d4a71524'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&
stackMark
, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&
stackMark,
Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at
Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()

Ben

unread,
Mar 12, 2010, 4:35:01 PM3/12/10
to
Is the assembly containing your feature registered in the GAC?
0 new messages