写了一个timer job, 通过F5调试时出现以下错误,各位大侠,看有没有可以帮忙解决下的?
写了一个timer job, 通过F5调试时出现以下错误, 各位大侠,看有没有可以帮忙解决下的?
Error1Error occurred in deployment step 'Add Solution': Failed to create receiver object from assembly "netsourcecodeTimerJob, Version=1.0.0.0, Culture=neutral, PublicKeyToken=15c79ab43b7ee851", class "$SharePoint.Type.c48f6b8a-6f1d-4f1e-996b-ea0a6baae3e7.FullName$" for feature "netsourcecodeTimerJob_netsourcecodeFeature" (ID: 07135222-3239-49f2-a3d1-71e6664042c8).: System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()
[解决办法]
你激活feature没?
重启Timer服务
对 附加到OWSTIMER.EXE进程,我上面儿说错了