Sharepoint 2010 Web Part Error: An error has occurred

Hi there
We have a custom web part and every day it seems to fail and the page displays "Sharepoint 2010 Web Part Error: An error has occurred".
The solution is to restart the Server.
Then it will work for an undetermined period (usually less than one day) and then all of a sudden it comes back with the same error again and nobody can access the webpart until the server is rebooted once more.
There is nothing in the Sharepoint log files, nor the Event Viewer logs that references this web part, so I have no idea why its failing. The original programmer tells us he has never seen this before and has no idea how to resolve it. We have another custom web part running on the same Server but it never fails, so its specific to this one.
I've tried removing the web part and then adding it back in again, but still the same problem.
Any ideas how I can troubleshoot what is failing exactly and attempt to resolve?
many thanks
LVL 2
stack888Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jamie McAllister MVPSharePoint ConsultantCommented:
There's some error with the coding, perhaps a memory leak or something else with resource management. It's not being written to logs because the web part wasn't coded to do so.

Only way to get to the bottom of it is a code review.

Use a commercial tool to check quality like SPCAF, or post the source code here for experts to take a look.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
stack888Author Commented:
i dont have the source code as it was written by an external company but you're right, i should just put the onus on them to investigate.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.