regarding Windows task shceduler

  • Thread starter Praveen Kumar Chakrala
  • Start date
P

Praveen Kumar Chakrala

Hi,

I have a .Net web service which can view/print my reports, Schedule my reports to print/email later and can view all the scheduled reports. Here viewing all my scheduled reports works fine on windows server 2008 and Windows server2012 but it gives the following exception in Windows server 2016:

The current version of the native library (1.1) does not support the original or minimum version of the "Microsoft Compatibility Appraiser" task (1.5/1.3)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The current version of the native library (1.1) does not support the original or minimum version of the "Microsoft Compatibility Appraiser" task (1.5/1.3)

Source Error:

Line 29: foreach (Microsoft.Win32.TaskScheduler.Task t in tasks)
Line 30: {
Line 31: ReportParameters pars = ReportScheduler.parametersFromData(t.Definition.Data);
Line 32: if (pars == null)
Line 33: continue;

Source File: c:\inetpub\wwwroot\ReportServer\ScheduledTasks.aspx.cs Line: 31

Stack Trace:

[InvalidOperationException: The current version of the native library (1.1) does not support the original or minimum version of the "Microsoft Compatibility Appraiser" task (1.5/1.3)]
Microsoft.Win32.TaskScheduler.Task.GetV2Definition(TaskService svc, IRegisteredTask iTask, Boolean throwError) +1868
Microsoft.Win32.TaskScheduler.Task.get_Definition() +67
ScheduledTasks.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\ReportServer\ScheduledTasks.aspx.cs:31
System.Web.UI.Control.OnLoad(EventArgs e) +103
System.Web.UI.Control.LoadRecursive() +68
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1381



Any idea on this.

Thanks

Continue reading...
 

Similar threads

Back
Top Bottom