Solved

401 unauthorized crm periodically.

Posted on 2010-11-12
4
420 Views
Last Modified: 2012-06-21
Hi!

I have a plugin installed on my CRM server called NN. This application basically is a button, which looks in an online company database to find information about the company which I am adding to my CRM.

Works fine, sometimes. Problem is that after sometimes 1 hour, some times 20 minutes, I get this error which I have attached.
Restart the CRM server normally works, and then the button stops working after some time again and i ahve to do another restart! What is causing this, its really frustrating!

Any help appreciated.
Error as seen on client
0
Comment
Question by:johnnybrian
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 35325630
Hi johnnybrian,

I would like to clarify one thing that the button you see is not a plugin, this is an ISV add on.

It seems the issue with the custom code itself. By any chance do you have the code of that NN ISV add-on?
You might want to see how credentials are passed in it.

I am assuming the following scenario :
there is a possibliy they might have added the credentials to the session and after a while user is not interacting with CRM and it might expire the session and so the credentials are gone too. And next time when they try to hit the CRM service it will throw 401 'cause required credentials were not provided[4th line in stack trace].

We can be sure only after looking into the code of NN.

Regards,
Chinmay.
0
 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 35702025
Any updates on this one?
0
 
LVL 1

Accepted Solution

by:
johnnybrian earned 0 total points
ID: 37910683
We ended up resintalling the server totally. Couldnt find the problem.
0
 
LVL 1

Author Closing Comment

by:johnnybrian
ID: 37932221
We ended up reinstalling.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is a walkthrough guide I wrote whilst upgrading my on-premise MS Dynamics CRM 3.0 deployment to 4.0. This covers the actual installation of the product to a working level for my system, I ran into a lot of issues that the steps below fixed so h…
Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question