In SharePoint I am getting the following when I go to my new web part page:
Error
An unexpected error has occurred.
Web Parts
You can try to wrap your WebPart code with the Try Catch Block. Looks like some exception is left uncaught.
Try setting
<compilation debug="true" />
in web.config
If you would like to know what exact error description is, then you need to make following changes in your SharePoint web application web.config
file.
CallStack="false"
changed to CallStack="true"
<customErrors mode="On" />
changed to <customErrors mode="Off" />
Save it and do IISRESET from command line.
Open Page again then you will get exact error.
it might be that the .dll that has the compiled webpart code is not copied to bin/GAC directory. next thing I would do is to check whether the web part is in site/site collection web part gallery
hth
Have you checked the SharePoint Log files?