Adding webpart to sharepoint site
iam totally new to sharepoint. while iam trying to add my webpart to sharepoint site, it is giving this error.
Error
An unexpected error has occurred.
Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts
or remove personal settings. For more information, contact your site administrator.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: b65dea73-88de-4bbe-b00a-99e3041f5b38
Date and Time: 7/2/2010 9:36:45 AM
Go back to site
i completed all processes, i kept dll in bin, added safecontrol and i kept dll in gac also.
pls anyone help me to solve this problem.
thanks in advance
July 2nd, 2010 7:22am
Hi there.
Take a look in the WSS logs on the server and see if you get a detailed error message.
Regards,
MagnusMy blog: InsomniacGeek.com
Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2010 9:04am
First remove your webpart form Web Parts Maintenance page. Then try to debug your webpart, so you will come to know errors. And also check logs in your server.Thanks & Regards, Neerubee
July 2nd, 2010 10:16am
Hi Shekhar,
Try to debug your webpart code to know the error:
Build the webpart code, drop the DLL in the Global Assembly Cache Recycle the application pool or do an IISRESET Refresh your page, attach the debugger from within Visual Studio. Put breakpoints, you should now see a full red dot. Refresh your page again and your breakpoint should be hit.
For more help on the same check this article for debugging your webpart:
http://it.toolbox.com/blogs/programming-life/debugging-your-sharepoint-web-part-11176BR, PM
Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2010 12:06pm
Try to debug your webpart code to know the error:
thanks thank u very much for ur reply.
July 2nd, 2010 2:31pm
don't forget to set debug to true and custom error message to off in web.config
Free Windows Admin Tool Kit Click here and download it now
July 3rd, 2010 8:52pm


