Jobs-Intermediate Type cannot be resolved Exception on SaveC

Posted by Community Admin on 05-Aug-2018 17:04

Jobs-Intermediate Type cannot be resolved Exception on SaveChanges

All Replies

Posted by Community Admin on 24-Jan-2011 00:00

Hi,

I have installed the latest 4.0.1098 Sitefinity RTM.
Trying to make work the Job intermediate module, I get this exception :

Type "Jobs.JobsManager, Jobs" cannot be resolved.

Description : Une exception non gérée s'est produite au moment de l'exécution de la requête Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code.

Détails de l'exception: System.ArgumentException: Type "Jobs.JobsManager, Jobs" cannot be resolved.

Erreur source:

Ligne 129 :            application.Text = this.MotivationalText;
Ligne 130 :
Ligne 131 : manager.SaveChanges();Ligne 132 :
Ligne 133 :            Message.ShowPositiveMessage("Your application was submitted successfully");

Fichier source : C:\Program Files (x86)\Telerik\Sitefinity 4.0\Samples\CS\Jobs Intermediate\PublicControls\JobApplicationUpload.cs    Ligne : 131

Trace de la pile:

[ArgumentException: Type "Jobs.JobsManager, Jobs" cannot be resolved.]
   DynamicModule.ns.Wrapped_OpenAccessJobsDataProvider_26cf20b2ad0c4ae68bae3963d204ca87.OnExecuting(ExecutingEventArgs args) +249
   Telerik.Sitefinity.Data.DataEventsCallHandler.Invoke(IMethodInvocation input, GetNextHandlerDelegate getNext) +606
   Telerik.Sitefinity.Security.SitefinityAuthorizationCallHandler.Invoke(IMethodInvocation input, GetNextHandlerDelegate getNext) +331
   Telerik.Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline.Invoke(IMethodInvocation input, InvokeHandlerDelegate target) +221
   Telerik.Microsoft.Practices.Unity.InterceptionExtension.PolicyInjectionBehavior.Invoke(IMethodInvocation input, GetNextInterceptionBehaviorDelegate getNext) +199
   Telerik.Microsoft.Practices.Unity.InterceptionExtension.InterceptionBehaviorPipeline.Invoke(IMethodInvocation input, InvokeInterceptionBehaviorDelegate target) +221
   DynamicModule.ns.Wrapped_OpenAccessJobsDataProvider_26cf20b2ad0c4ae68bae3963d204ca87.CommitTransaction() +181
   Telerik.Sitefinity.Data.ManagerBase`1.SaveChanges() +137
   JobsIntermediate.PublicControls.JobApplicationUpload.JobApplicationUpload_Click(Object sender, EventArgs e) in C:\Program Files (x86)\Telerik\Sitefinity 4.0\Samples\CS\Jobs Intermediate\PublicControls\JobApplicationUpload.cs:131
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563


Informations sur la version : Version Microsoft .NET Framework :4.0.30319; Version ASP.NET :4.0.30319.1

The application is launched from VS 2010.

Thanks

Vincent

Posted by Community Admin on 25-Jan-2011 00:00

In the JobApplication.cs file

replace

[ManagerType("Jobs.JobsManager, Jobs")]
by
[ManagerType("JobsIntermediate.JobsManager, JobsIntermediate")]

to make it work

Vincent

This thread is closed