Solved

401 unauthorized crm periodically.

Posted on 2010-11-12
4
417 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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.
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

930 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now