How to trouble shoot and resolve XrmToolBox Plugin Registration tool not connecting? - dynamics-crm

Seems like every other day XrmToolBox's Plugin Registration tool fails to connect. It's probably the most fickle tool I've ever used professionally (is this really the best tool for the job? yikes)
In years of working with it, I've not yet found a reliable way to get the tool to connect. Everything connects fine in the browser. But XrmToolBox randomly fails.
And I've never found or read online a reliable way to figure it out except restart your computer, throw salt over your shoulder, spin counter-clockwise once in your chair, try again later.
Anyone have a better way?

The server was unable to process the request due to an internal error.
For more information about the error, either turn on
IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute
or from the configuration behavior) on the server in
order to send the exception information back to the client, or turn on
tracing as per the Microsoft .NET Framework SDK documentation and
inspect the server trace logs.
That was the only error I got from XrmToolBox. But it led me to solving the problem. Followed this article to enable more detailed error log:
https://community.adxstudio.com/products/adxstudio-portals/documentation/developers-guide/knowledge-base/enable-detailed-errors-on-the-organization-service/
Tried again, and saw that indeed there was a meaningful error in the XrmToolBox logs.
TL;DR: Turn on better error logging in the on-premise CRM web.config! Then try again to get a more helpful error.

Related

SOA Decision Service Error

I am receiving a weird error when my SOA system is trying to call a decision service.
Has anybody seen an error like this before and knows how to get around it?
There are multiple decision services within my application and I read online that this can be a bug within SOA, however, this was working before and then suddenly start giving this error.
If more specific detail is required then please let me know and I can provide it
but for now, I am purposely leaving this question without specific details in order to target those who may have encountered this error before.
Thanks!
The answer to this issue was to reload the facts inside my decision service.

Communication between Heroku apps

I've build a distributed system consisting of several web-services and some web applications consuming them.
They are all hosted on Heroku.
Is there some way for request between these applications to be done "inside heroku" without going through the web.
Something analog to using localhost.
You are maybe in luck: such a feature has currently reached the experimental phase.
Let me take a moment to underscore that: this feature may disappear or change at any time. It's not supported, but bug reports are appreciated. Don't build a bank with it. Don't get yourself in a position to be incredibly sad if severe problems are found that render it unshippable and it's aborted.
However, it is still cool, and here it is: containerized-network
You can use, for example, the pub-sub interface of any of the hosted Redis solutions. Or any of the message brokers (IronMQ, RabbitMQ) to pass messages.

DataSnap Server as Windows Service and Debug

Good Morning,
We are just about to start a Multi-Tier project using DataSnap as our Server Application and Delphi Prism.
I made a little research and accepted the recomendation of creating the DataSnap Server as a Windows Service.
My question is: Is there an easy way to debug the DataSnap Server Service?
I'm asking that, because in some complex methods we may need to step into to validate the params values.
Sorry about my English, but I'm rusty because I haven't speak English for a long time.
UPDATE:
I almost forgot to update and explain how we get around this problem.
The only Alternative we found was to enable Log4Delphi in the DataSnap Server Project.
And set the log tool to register the SQL Queries and their params.
Log4Delhpi

What can stop ASP from getting a Session ID?

We have a client that we deployed a webpage to. This client has users all over and they each have different set ups for computers. We have been getting a few reports of 500 errors and, looking at the error, I find that it's because the page cannot access the Session.SessionID from ASP. What could be causing this, as it's one of the first lines of code I have, and the majority of users are not having this problem. I know this is kind of a broad question, but I'm not looking for anything too specific. I'm trying to troubleshoot it myself, but I can't think of why our computers are fine and theirs aren't. I'm just looking for avenues to track down and ask the client about.
You can ask them to check whether they have cookies turned off. This will prevent the key from being passed back to the web server by the browser.

Correlate application logs (Coldfusion/J2EE) with IIS logs to debug client network problems

I've seen some clients complaining about slowness of my website lately and I'm pretty sure that the problem is related to their network. I'd like to be able to justify this to myself more thoroughly and also be able to more proactively reach out to clients that appear to be having network issues before they come banging on my door.
If I was running ASP.Net I would try to use the Response.AppendToLog Method and append a token so that I could tie back everything back to my custom application level logging (user, client, processing time, etc.). I can't seem to find a way to do that without ASP.net. I'm guessing it's built into ASP's ISAPI. My requests are going through IIS to JRun's ISAPI to Coldfusion (.cfm/.cfc files).
I'm most interested in knowing how long it took the client to receive the content not just the time it took to process the request.
If there are other places/information that I'm not considering that's worth looking at, please let me know. Perhaps I should log information from HTTP.sys somehow?
I know that I could set a cookie on every request and have that logged by IIS, I was just hoping there would be a better solution.
Thanks for your thoughts!
See Jiffy. It "is an end-to-end real-world web page instrumentation and measurement suite."
The introductory video gives a good overview.

Resources