Solved

401 unauthorized crm periodically.

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

On Sep 22nd 2014 Microsoft released Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1 and back in July Update Rollup 3 was released.  So we now have:   Update Rollup 1Update Rollup 2Update Rollup 3Service Pack 1Update Rollup 1 for S…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

813 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