Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Method not found: '!!0[] System.Array.Empty()'.

$
0
0

Hi Team,

A very different issues occurred wherein , after installing in-upgrade for SQL Server 2008 R2 RTM to SQL Server 2014 RTM, I have first noted issues with DTS installer with compilation errors, like below:

---------------------------------------------------------------------

Log Name:      Application Source:        .NET Runtime Optimization Service Date:          9/17/2016 11:01:14 PM Event ID:      1101 Task Category: None Level:         Error Keywords:      Classic User:          N/A Computer:      XXXXX Description: .NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - 1>Failed to compile: C:\Program Files\Microsoft SQL Server\120\DTS\Binn\dtsinstall.exe . Error code = 0x80131f07

Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">   <System>     <Provider Name=".NET Runtime Optimization Service" />     <EventID Qualifiers="0">1101</EventID>    <Level>2</Level>     <Task>0</Task>     <Keywords>0x80000000000000</Keywords>     <TimeCreated SystemTime="2016-09-18T03:01:14.000000000Z" />     <EventRecordID>354818</EventRecordID>     <Channel>Application</Channel>     <Computer>XXX</Computer>    <Security />   </System>   <EventData>     <Data>.NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - 1&gt;Failed to compile: C:\Program Files\Microsoft SQL Server\120\DTS\Binn\dtsinstall.exe . Error code = 0x80131f07 </Data>     <Data>C:\Program Files\Microsoft SQL Server\120\DTS\Binn\dtsinstall.exe</Data>   </EventData> </Event>

---------------------------------

After this no error noted on log and integration services also running fine without any issues.

This server is also used for third party application and that floods application log with every minute for two types of errors:

Below goes after correcting the webconfig, file

-----------------

Log Name:      Application Source:        ASP.NET 4.0.30319.0 Date:          9/19/2016 2:05:23 PM Event ID:      1310 Task Category: Web Event Level:         Warning Keywords:      Classic User:          N/A Computer:      XXXXXXX Description: Event code: 3008 Event message: A configuration error has occurred. Event time: 9/19/2016 2:05:23 PM Event time (UTC): 9/19/2016 6:05:23 PM Event ID: 95e1fa8d550f473a83f8b19d43e7298f Event sequence: 1 Event occurrence: 1 Event detail code: 0   Application information:    Application domain: /LM/W3SVC/1/ROOT/app-236-131187819234461968     Trust level: Full     Application Virtual Path: /app     Application Path: C:\inetpub\app\     Machine name: XXXXXXX   Process information:     Process ID: 7960     Process name: w3wp.exe    Account name: IIS APPPOOL\app   Exception information:     Exception type: ConfigurationErrorsException     Exception message: The 'targetFramework' attribute in the <compilation> element of the Web.config file is used only to target version 4.0 and later of the .NET Framework (for example, '<compilation targetFramework="4.0">'). The 'targetFramework' attribute currently references a version that is later than the installed version of the .NET Framework. Specify a valid target version of the .NET Framework, or install the required version of the .NET Framework. (C:\inetpub\app\web.config line 23)    at System.Web.Compilation.MultiTargetingUtil.ValidateTargetFrameworkMoniker(String targetFrameworkMoniker)    at System.Web.Compilation.MultiTargetingUtil.EnsureFrameworkNamesInitialized()   at System.Web.Compilation.BuildManager.Initialize()    at System.Web.Compilation.BuildManager.InitializeBuildManager()    at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)

    Request information:     Request URL: http://localhost/app/api/Ajax/CheckSchedule    Request path: /app/api/Ajax/CheckSchedule     User host address: 127.0.0.1     User:      Is authenticated: False     Authentication Type:      Thread account name: IIS APPPOOL\app   Thread information:     Thread ID: 17     Thread account name: IIS APPPOOL\app     Is impersonating: False     Stack trace:    at System.Web.Compilation.MultiTargetingUtil.ValidateTargetFrameworkMoniker(String targetFrameworkMoniker)    at System.Web.Compilation.MultiTargetingUtil.EnsureFrameworkNamesInitialized()   at System.Web.Compilation.BuildManager.Initialize()    at System.Web.Compilation.BuildManager.InitializeBuildManager()    at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)    Custom event details:

Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">   <System>     <Provider Name="ASP.NET 4.0.30319.0" />     <EventID Qualifiers="32768">1310</EventID>    <Level>3</Level>     <Task>3</Task>     <Keywords>0x80000000000000</Keywords>     <TimeCreated SystemTime="2016-09-19T18:05:23.000000000Z" />     <EventRecordID>357319</EventRecordID>     <Channel>Application</Channel>     <Computer>XXXXXXX</Computer>    <Security />   </System>   <EventData>     <Data>3008</Data>     <Data>A configuration error has occurred.</Data>     <Data>9/19/2016 2:05:23 PM</Data>     <Data>9/19/2016 6:05:23 PM</Data>     <Data>95e1fa8d550f473a83f8b19d43e7298f</Data>     <Data>1</Data>    <Data>1</Data>     <Data>0</Data>     <Data>/LM/W3SVC/1/ROOT/app-236-131187819234461968</Data>     <Data>Full</Data>     <Data>/app</Data>     <Data>C:\inetpub\app\</Data>     <Data>XXXXXXX</Data>     <Data>     </Data>     <Data>7960</Data>     <Data>w3wp.exe</Data>    <Data>IIS APPPOOL\app</Data>     <Data>ConfigurationErrorsException</Data>     <Data>The 'targetFramework' attribute in the &lt;compilation&gt; element of the Web.config file is used only to target version 4.0 and later of the .NET Framework (for example, '&lt;compilation targetFramework="4.0"&gt;'). The 'targetFramework' attribute currently references a version that is later than the installed version of the .NET Framework. Specify a valid target version of the .NET Framework, or install the required version of the .NET Framework. (C:\inetpub\app\web.config line 23)    at System.Web.Compilation.MultiTargetingUtil.ValidateTargetFrameworkMoniker(String targetFrameworkMoniker)    at System.Web.Compilation.MultiTargetingUtil.EnsureFrameworkNamesInitialized()    at System.Web.Compilation.BuildManager.Initialize()    at System.Web.Compilation.BuildManager.InitializeBuildManager()    at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)

</Data>     <Data>http://localhost/app/api/Ajax/CheckSchedule</Data>     <Data>/app/api/Ajax/CheckSchedule</Data>     <Data>127.0.0.1</Data>     <Data>     </Data>     <Data>False</Data>     <Data>     </Data>     <Data>IIS APPPOOL\app</Data>     <Data>17</Data>    <Data>IIS APPPOOL\app</Data>     <Data>False</Data>     <Data>   at System.Web.Compilation.MultiTargetingUtil.ValidateTargetFrameworkMoniker(String targetFrameworkMoniker)    at System.Web.Compilation.MultiTargetingUtil.EnsureFrameworkNamesInitialized()   at System.Web.Compilation.BuildManager.Initialize()    at System.Web.Compilation.BuildManager.InitializeBuildManager()    at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)</Data>   </EventData> </Event>

-----------------

But below error is not going away by any means, any help is appreciated

----------------------------------

Log Name:      Application Source:        ASP.NET 4.0.30319.0 Date:          9/19/2016 10:08:21 AM Event ID:      1309 Task Category: Web Event Level:         Warning Keywords:      Classic User:          N/A Computer:      XXXXXX.ICD Description: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 9/19/2016 10:08:21 AM Event time (UTC): 9/19/2016 2:08:21 PM Event ID: fe5bef5098244be9b9b2fe2b8e32aada Event sequence: 2 Event occurrence: 1 Event detail code: 0   Application information:    Application domain: /LM/W3SVC/1/ROOT/app-852-131187677006777709     Trust level: Full     Application Virtual Path: /app     Application Path: C:\inetpub\app\     Machine name: XXXXXX   Process information:     Process ID: 2000     Process name: w3wp.exe    Account name: IIS APPPOOL\app   Exception information:     Exception type: HttpException     Exception message: Method not found: '!!0[] System.Array.Empty()'.    at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)    at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)    at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)    at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)    at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)

Method not found: '!!0[] System.Array.Empty()'.    at app.BundleConfig.RegisterBundles(BundleCollection bundles)

    Request information:     Request URL: http://localhost/app/api/Ajax/CheckSchedule    Request path: /app/api/Ajax/CheckSchedule     User host address: 127.0.0.1     User:      Is authenticated: False     Authentication Type:      Thread account name: IIS APPPOOL\app   Thread information:     Thread ID: 23     Thread account name: IIS APPPOOL\app     Is impersonating: False     Stack trace:    at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)    at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)    at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)    at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)    at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)     Custom event details:

Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">   <System>     <Provider Name="ASP.NET 4.0.30319.0" />     <EventID Qualifiers="32768">1309</EventID>    <Level>3</Level>     <Task>3</Task>     <Keywords>0x80000000000000</Keywords>     <TimeCreated SystemTime="2016-09-19T14:08:21.000000000Z" />     <EventRecordID>357072</EventRecordID>     <Channel>Application</Channel>     <Computer>xxxxxx</Computer>     <Security />   </System>   <EventData>     <Data>3005</Data>     <Data>An unhandled exception has occurred.</Data>     <Data>9/19/2016 10:08:21 AM</Data>     <Data>9/19/2016 2:08:21 PM</Data>     <Data>fe5bef5098244be9b9b2fe2b8e32aada</Data>     <Data>2</Data>     <Data>1</Data>    <Data>0</Data>     <Data>/LM/W3SVC/1/ROOT/app-852-131187677006777709</Data>     <Data>Full</Data>     <Data>/app</Data>     <Data>C:\inetpub\app\</Data>     <Data>xxxxxxxx</Data>     <Data>     </Data>     <Data>2000</Data>     <Data>w3wp.exe</Data>    <Data>IIS APPPOOL\app</Data>     <Data>HttpException</Data>     <Data>Method not found: '!!0[] System.Array.Empty()'.    at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)    at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)    at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)    at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)    at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)

Method not found: '!!0[] System.Array.Empty()'.    at app.BundleConfig.RegisterBundles(BundleCollection bundles)

</Data>     <Data>http://localhost/app/api/Ajax/CheckSchedule</Data>     <Data>/app/api/Ajax/CheckSchedule</Data>     <Data>127.0.0.1</Data>     <Data>     </Data>     <Data>False</Data>     <Data>     </Data>     <Data>IIS APPPOOL\app</Data>     <Data>23</Data>    <Data>IIS APPPOOL\app</Data>     <Data>False</Data>     <Data>   at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)    at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)    at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)    at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)    at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) </Data>   </EventData> </Event>


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>