Application Insights has started throwing "Method Not Found" error - azure

I have started getting an error in ApplicationInsights on 8/26/2022 #3am EDT. Our code hasn't change and has been running for a month without issue. This error has started out of nowhere.
AI (Internal): [Redfield-Microsoft-ApplicationInsights-Extensibility-Web] TelemetryInitializer Microsoft.ApplicationInsights.Web.SyntheticUserAgentTelemetryInitializer failed to initialize telemetry item System.MissingMethodException: Method not found: 'Boolean Microsoft.AspNet.TelemetryCorrelation.ActivityExtensions.Extract(System.Diagnostics.Activity, System.Collections.Specialized.NameValueCollection)'.
at Microsoft.ApplicationInsights.Web.Implementation.RequestTrackingExtensions.CreateRequestTelemetryPrivate(HttpContext platformContext)
at Microsoft.ApplicationInsights.Web.Implementation.RequestTrackingExtensions.ReadOrCreateRequestTelemetryPrivate(HttpContext platformContext)
at Microsoft.ApplicationInsights.Web.Implementation.WebTelemetryInitializerBase.Initialize(ITelemetry telemetry)
When I try to search for help on this, I cannot find anything because Application Insights is used to help people find errors and exceptions... so when I try to get help, it provides help on how to use Application Insights data instead of providing information on what to do when Application Insights is reporting it's own error.
I am at a loss here, I don't know how to progress further to understand why this issue just started happening and what I can do to resolve it. It would appear as if this issue is causing our Azure CPU usage to fly out of control and is causing the entire site to lag.
Application is written in VB.NET using v4.6.2.
To circumvent the issue, we have turned off Application Insights. I was 1 version back, so it's possible there was an issue that was corrected and this will go away when the new version goes live (with the updated reference).

Related

Uncaught (in promise): The message port closed before a response was received

So before the question I wanna point out that the only thing I could find on this issue was on this stackoverflow question. This issue suggest that this was an issue with wappalyzer, and it was fixed in version 4.0.1. however I am using wappalyzer version 5.1.4 and is up to date with this.
I am building a web-app based on the MEAN-stack, everything worked as intended for a long time, until this error kept poping up in my google-chrome console:
Everytime i would click in my app header, and use my front-end routing to load up different components / modules this error appears, however I dont see any issue with what the web-app presents to me (it's not like I am missing data)
More details on the error:
I have no idea whats going on, or where this issue comes from.
This was due to a failing plugin.
Disable all plugins, and enable them one at a time to find failing chrome extensions.
In this case it was the wappalyzer extension.

Error using elastic database transaction with sql azure

I have 2 SQL Azure DB's (V12) within a single server and wants the transaction to be atomic. Trying to do what is mentioned here.
I get below exception while trying to wrap the transactions in a single transaction scope. The project targets .net version 4.6.
What am I missing here?
Error message (in case image doesn't appear on your end): "The service has encountered an error processing your request. Please try again. Error code 8510.
A severe error occurred on the current command. The results, if any, should be discarded."
Thanks!
Can you check that you are running with .NET 4.6.1? You need 4.6.1 or later and the exceptions looks like you are running on an earlier .NET version than that.
Thanks,
Torsten

Exception thrown. For more detailed information, please consult error-log-0.xml in XPage

I am running Xpage Application on Domino Server 8.5.3 FP1 Windows 64bit.
We are sending the bills(documents) around 2500 users. during testing ,this application works fine without any error. When we rollout the bills to user. All users are trying to open the application.
It is throwing the following error. But Application still works. At some point of time, Application gets slow and http hang. I have do restart of HTTP. Then it works fine.
I am not able to find the cause whether any error in the code or because number of users are accessing the application increases.
06/04/2014 10:58:53 AM HTTP JVM: CLFAD0211E: Exception thrown.
For more detailed information, please consult error-log-0.xml located in D:/Lotus/Domino/data/domino/workspace/logs
And sometimes this is also throwing ,
HTTP JVM: CLFAD0141E: Error processing XPage request. For more detailed information,
please consult error-log-0.xml located in D:/IBM/Lotus/Domino/data/domino/workspace/logs
Please help on this query.
You should start with what Paul suggests. If you haven't already downloaded and installed LogReader (by Jakob Majkilde), then you should. It is a database on your server that will read the various error file types and show them for you in an easy way. You can find it here: http://www.openntf.org/internal/home.nsf/project.xsp?action=openDocument&name=XPages%20Log%20File%20Reader
From these log files you will then have to look at where the system complains about problems. Did you write the code in Java or Serverside Javascript (SSJS)? You have options to debug both of these (although I cannot remember if you can debug SSJS in version 8.5.3 - it may not be available until version 9.0). But you could always add a println in the code near where you think it breaks ;-)
/John
At some point of time, Application gets slow and http hang. I have do restart of HTTP. Then it works fine.
As mentioned by Paul + John, no one is going to be able to give you an exact answer from the posted message.
As you mention the application gets slows and hangs, I would also recommend watching the XPages Masterclass.
It is approx 4 hours of videos, and goes into detail on how to debug your application for performance issues using the XPages Toolbox.
Again this isn't an exact solution. You will need to use the XPages toolbox to drill down on your code/JVM to see where it is slowing down/hanging.
Posting the stacks from the error-log-0.xml log file might give some hints, but with performance/hangs it's rarely that simple to find.
Now Application is working without issue. I have just included exception handling in all ssjs.
Now it is not throwing error.
Thanks for all your help and time.

EF 5.0 Code First Quit Creating Database

I had everything working fine with automatic migrations set up and working. I had just made a number of foreign key changes in my domain classes and when I started my app I got an illegal column "CreatedOn" exception. Browsing I found that this error is typically due to moving from ef 4 to ef 5 and back. I've always just used ef 5. I couldn't find any reason for the error so I decided to go back to basics. I turned off migrations and set my initializer to "DropAndCraeteAlways". It dropped the db but didn't create a new one. So I moved further back to basics and removed migrations altogether and set the initilizer to "CreateIfNoneExists". Still no db creation. I'm at a loss as to what else to try or how to debug. The only exception I'm getting is when I try to initialize the db I get a db not found which is obvious. Any help will be greatly appreciated.
Entity framework can get a bit grumpy if it cannot figure out how to resolve relationships - do you have any more details of the error? Bear in mind the final error you see may be the result of a failure earlier in the chain.
You might be able to see more by running the Update-Database command in the package manager console.
Might be worth looking at the Fluent Relationship API, it's written for 4.1 but I believe it is much the same.

Custom error messages for standard errors in Cognos 8

Our Cognos 8 application has an error affecting many users:
http://img543.imageshack.us/img543/6849/aoeu.png
CM-REQ-4158
The search path ... is invalid.
We know how to fix this problem (it's a browser configuration issue) but the error message is not helpful. Also, users will get this issue if they upgrade IE.
SO
Is it possible for us to modify this error message so it is more useful?
I believe the only way you'll be able to hone in on those messages is to use the Language Development Kit (LDK).. I'm sure you can edit them by hand, but I don't think it's worth it.

Resources