IIS Log Details for Dynamic CRM SDK Calls - iis

I have taken IIS logs for CRM OrganizationService for Performance check and I am getting logs like
+OnBeginRequest:06/07/2017-06:06:22.941+SdkB(Create:10232):06:06:22.944+SdkE:06:07:26.204+LogEntries:0+SDKSqlCalls:11+SDKSqlCallsMs:63235+GC:10130+LogEntries:0+SqlCalls:0+SqlCallsMs:0+GC:10130+OnEndRequest:06:07:26.206
+OnBeginRequest:06/07/2017-06:02:18.508+SdkB(Update:2):06:02:18.512+SdkB(RetrieveMultiple:150):06:02:18.533+SdkE:06:02:18.539+LogEntries:0+SDKSqlCalls:1+SDKSqlCallsMs:1+GC:10121+SdkB(Retrieve:8):06:02:18.542+SdkE:06:02:18.545+LogEntries:0+SDKSqlCalls:1+SDKSqlCallsMs:1+GC:10121+SdkB(RetrieveMultiple:10254):06:02:18.546+SdkE:06:02:18.556+LogEntries:0+SDKSqlCalls:1+SDKSqlCallsMs:8+GC:10121+SdkB(RetrieveMultiple:10250):06:02:18.558+SdkE:06:02:18.571+LogEntries:0+SDKSqlCalls:1+SDKSqlCallsMs:1+GC:10121+SdkB(RetrieveMultiple:10250):06:02:18.583+SdkE:06:02:18.635+LogEntries:0+SDKSqlCalls:1+SDKSqlCallsMs:1+GC:10121+SdkB(RetrieveMultiple:2):06:02:18.704+SdkE:06:02:18.713+LogEntries:0+SDKSqlCalls:1+SDKSqlCallsMs:2+GC:10121+SdkB(RetrieveMultiple:10250):06:02:18.717+SdkE:06:02:18.722+LogEntries:0+SDKSqlCalls:1+SDKSqlCallsMs:1+GC:10121+SdkB(RetrieveMultiple:1):06:02:18.724+SdkE:06:02:18.745+LogEntries:0+SDKSqlCalls:1+SDKSqlCallsMs:6+GC:10121+SdkB(Retrieve:10221):06:02:18.748+SdkE:06:02:18.758+LogEntries:0+SDKSqlCalls:1+SDKSqlCallsMs:2+GC:10121+SdkE:06:02:33.802+LogEntries:0+SDKSqlCalls:8+SDKSqlCallsMs:15023+GC:10122+LogEntries:0+SqlCalls:0+SqlCallsMs:0+GC:10122+OnEndRequest:06:02:33.803
I am not able to interpret the Parameters in this cs-uri-query field. I have seen some blogs but they did not mention each fields' (ex: SdkE) importance. Please can somebody help with fields.

Related

User information with Application Insights

I am new to Microsoft Azure Application Insights and need some help on getting user information (Login ID, number of times user logged into application, etc).
I went through another similar stack overflow post Getting User Information in App Insights , but it did not helped me.
I have already setup Application Insights and getting the default data presented by Azure itself.
Request your help on the same.
Thanks in advance.
We did something similar to this using custom properties in our platform - this will be available for grouping in Azure portal as well.
Achievable by TrackPageViews in client side using AI script. With a small tweak:
appInsights.trackPageView("module_name", "serverUrl", {User: "UserName", DomainName: "Alias" });
Reference-Blog post written here: https://learn.microsoft.com/en-us/azure/application-insights/app-insights-sample-mscrm
for something like "number times user logged into application" could be as simple as
union customEvents, pageViews
| where timestamp > ago(14d)
| summarize numSessions = dcount(session_Id) by user_Id
| top 100 by numSessions
(or in english, "in the last 14 days, show me top 100 users by how many sessions they have in events and page views")
depending on what telemetry you're sending, you'd adjust what tables you are using, what date/time ranges you want, if you want specific events or pages by names, etc.
or, you could use the Usage features in the portal, which can show you this kind of information.

How to track last login date for IBM Domino web user?

Does IBM Domino track the last login date for web users(UserName/Password and internet certificate)? I know the access logs contains this information but wanted to know if there may be something built into Domino (maybe in Address Book). Trying to come up with a method to disable web accounts that have not accessed a domino server in a specified time period.
Thanks,
Kev
The User Activity area in the Database Properties picks up from the log.nsf, which is where this information is stored. But, typically, the log.nsf will only have a few days' worth of information. When I've had this requirement before, I've manually captured it via a custom login page or an initUser function I've had in applications.
One of the easiest solutions is to trigger an action from a live web page that generates a database.nsf?openagent event.
like:
or
Ideally you've use the openagent to print a content type and a response, but if you don't browsers do pretty well with invalid responses from servers.
inside your "myagent" you will have the users name available to you to write it to a document.
Your next challenge will be in getting the agent to trigger, but, not too often, ideally only on login.
When a user uses a custom login form it submits the username/password and redirection url in POST method. You could change that to ...?openagent&nexturl=/blablabla.nsf
Your tiny little agent would run one and only one time upon login and update a document in a your custom logging database.
That's a developer's solution.
There are also admin solutions. The server does keep track of active web sessions, but, it does not drop them into the log.nsf like it does upon session ending for a notes session. I don't think it would be too much work from an admin standpoint to get that information there are a lot of event triggers available to you. It's just been way too long since I worked on any server that anyone cared about statistics.

How to integrate Avangate with Geckoboard?

I am creating a dashboard in Geckoboard with data coming in from Avangate. I will be using IPN to display total number of buys on the dashboard.
From Geckoboard side, I understand that I would be creating a custom widget with relevant data format.
I am not clear on the Avangate side as I can hardly find any documentation. It seems like it should be a web service but couldn't find any thing relevant on Google or their site.
It would be great if some one can point to a example or can share their own experience in designing this integration.
I have found some online data on Avangate IPN but I am not able to figure out what is happening with this code.
https://github.com/callmewa/avangate
You can find IPN documentation in your Avangate account (https://secure.avangate.com/cpanel/help.php?view=topic&topic=345). We’re working on an updated version for our public portal: https://developer.avangate.com/.

Microsoft Dynamics CRM 2011 help page requests itself

When I click on the help icon in my Microsoft Dynamics CRM 2011 installation, I get the following very weird result:
It appears as if the help page loads itself, and when I look at my requests through Fiddler, this is indeed what happens. If I go to the help page URL directly (without using the help icon), it works fine. Any idea what might cause this behavior?
This problem is caused by a misconfiguration of the CRM installation. To verify this, execute the following query on your Dynamics CRM database:
SELECT [HelpServerUrl]
FROM [MSCRM_CONFIG].[dbo].[ConfigSettings]
The value returned by this query will looks like this: https://<yourhostname>/help/default.aspx/ The help server URL thus includes the path to the /help/default.aspx page. However, if you click on the help icon, Dynamics CRM will append /help/default.aspx/ to the help server URL. This causes the weird, nesting behavior. It also explains why going directly to the help page does not exhibit this behavior.
The solution is simple: edit the [HelpServerUrl] value in the [ConfigSettings] table and remove the /help/default.aspx part. This will leave just the base server URL in the setting. The final step is to recycle the application pool of the website (as the server URL is cached) and everything works!

custom reports rsProcessingaborted error

I have deployed CRM and installed the reporting extensions component successfully on the SSRS server with rollup2 (server and router match this) - I have separate servers for CRM , SQL and SSRS. The out the box reports work ok but the custom reports present an error "rsProcessingAborted" which to me sounds like permissions. I have read a number of articles relating to pepople with the same issue and have tried all possible fixes but still no joy.
SSRS runs under a svc_sqlserver acccount and this account has permissions in the DB
the datasources have all been created successfully and the custom reports are using the MSCRM_FetchDataSource which is configured with type Dynamics CRM Fetch and credentials supplied by the user running the report. The connection string says CustomerServicesCE which is the correct OrgsanisationID (as found within developer resources) - i have tried clearing this connection string, adding the server url, all possible combinations with no joy.
Within SSRS i cannot view the report, it says "cannot access the CRM datasource" - i read somewhere you need to enter the GUIDs systemuserid and organisationid as username and pwd but still no joy.
I tried amending one report to use the samedatasource as the out the box reports that work but still no joy which is the MSCRM_DataSource...................am i missing something?
These reports have come from another supplier - i don't mind how they are displayed (Fetch or otherwise) i just need them working!
interestingly i do get them working on my Development environment (after getting the same error) and to my eyes the setup looks identical!
thanks for any help
richard
the answer was to create an spn as
setspn -a http/crmservername domain\accountCRMrunsunderrIIS

Resources