I created SharePoint 2013 Project. I added visual web part in project. I used asmx service in visual webpart. Then I deployed the project. I created a new page. I want to add the webpart in page. But i like get error:

enter image description here

How can I solve this problem? I stopped User Profile Service and Sync Service, then I started again.

  • There seems to be a null object in your code. Try debugging your solution or check the ULS logs for the exact error – HarryB Oct 21 '15 at 13:46
  • Somewhere some object is being returned null value. Means some or the other object is not getting initialized. Try debugging the solution. – Niranjan Kulkarni Oct 21 '15 at 13:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.