An Unexpected Error Occurred While Rendering The Webpart
Contents |
One games Xbox 360 games PC
An Unexpected Error Occurred While Playing This Video
games Windows games Windows phone games Entertainment All an unexpected error occurred while playing this video steam fix Entertainment Movies & TV Music Business & Education Business Students &
An Unexpected Error Occurred While Playing This Video Steam Broadcast
educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security an unexpected error occurred while starting print Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Band Microsoft an unexpected error occurred while bridging connections Lumia All Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
Asked By: Caitlin Date: May 17 Category: Sharepoint Views: 9495i have built a webpart that iterates through all the sites in the VirtualServer and retrieves all documents, announcements and events posted within the last 7 days. I use a 3 datagrids for displaying each. the webpart works fine when i preview it from the Webpart gallerybut when i try to add it to a webpart page, the webpart is not added to the page. In the webpart pane an error is displayed at the top "An error has occurred".Anyone can tell me what could be the problem? Anyone has faced this problem. https://support.microsoft.com/en-us/kb/2627267 Since it is not being loaded on the page i am not able to debug. Since it is working fine when i preview it debugging is of no use...any help would be great Share: 11 Answers Found Answer #1Answered By: Cheryl Kelley Answered On: May 17How are you previewing it if you can't load it on the page?It could be one of http://www.go4sharepoint.com/Forum/webpart-error-occurred-2368.aspx several problems, and I might miss some but I'm sure others will chime in and cover the ones I miss.Make sure you have the class/webpart registered as a safe part in the web.config file.The type/class name in your DWP file matches your web part.I like to use stsadmin toadd the web part packages to the server, it handles quite a bit for you and lets you know if there's something wrong when you install it.Answer #2Answered By: Sharonda Mcfarland Answered On: May 17Yes thewebpart is registered safe. I always use stsadm to deploy my webparts. Then iadd it to the Webpart Gallery. You canpreview a webpart by clicking on it from the webpart gallery. The only drawback is that dropdown, button clickevents will not fire. But I have no button click events in my webpart just onload. The update on yesterdays status is that after I made some changes to the code. Now the webpart does not work both in preview and page. When i try to debug, it enters the onload no errors (all methods properly enclosed in try catch) retrieves all data. Enters CreateChildControls. I bind the dat
excited to explore some new features and enhanced web parts. One of the enhanced web part listed in 2010 is RSS feed web part. It's quite simple when you display external public RSS feed. You just need to provide the URL http://sharepointconnoisseur.blogspot.com/2011/04/sharepoint-2010-rss-viewer-web-part.html to config the web part. However, there are several tricks you should be aware of before you could configure it if you need to feed SharePoint list into the web part. We are facing several issues and many https://zoshaikh.wordpress.com/2011/11/23/an-error-occurred-while-rendering-navigation-for-requested-url-exception-message-invalid-field-name/ people also reported some strange behaviors. The first trick for RSS feed web part is you should change authentication provider settings from NTLM to Kerberos with AD SPN setup if you need to display any SharePoint list as RSS an unexpected feed. You do NOT need to setup Kerberos if you just need to display external public RSS feed such as http://www.microsite.reuters.com/rss/businessNews. The way to setup is straight forward and have not changed since SharePoint 2007. You could check from central admin on each webapp as described here. I noticed if you do not setup AD SPN, the webpart is still not working. Here are the procedures to check whether Kerberosis in deed working for the webapp. Check SPN an unexpected error setup using command setspn -l domain\installaccount. Here is the example output from the command. You should see three entries on the server and fully qualified name. C:\>setspn -l na\installaccount Registered ServicePrincipalNames for CN=,OU=CORP,OU=Service Accounts,DC=domian,DC=company,DC=com: http/servername http/servername.company.com http/servername.domian.company.com In order to confirm the user is indeed login using Kerberos, you could open the Security logs and filter for "Event ID: 4624". You will see Kerberos as Authentication Package. More details in the future if you are interested in this topic. The second trick is you only need to setup Kerberos on the site that is using RSS feed webpart. The displayed site does not need to be Kerberos enabled. I have the screen shot below that has three RSS feed web parts. As long as the web part site is Kerberos enabled, it can display both Kerberos enabled or NTLM enabled site lists. The third trick or issue is I'm not able to setup to auto refresh the web part with the latest feeds. It is still same as 2007 that it only refresh after IISRESET! I'm able to find the AJAX options and setup to enable Asynchronous Automatic Refresh and Update as in the below screen shot. However, the web part displayed error "An unexpected error occured while rendering the webpart.". There is even an typo in the error message! As of today August 30, Microsoft has pro
2011(1) September 2011(10) August 2011(13) July 2011(1) May 2011(2) April 2011(2) CategoriesAlert categories Change URL of Document library Content Editor webpart Database Error on page Excel File name too Long infopath Internet Explorer Office Issue Permission Polish letters Posts Rename Document Library Rich Text editor sharepoint 2007 Sharepoint 2010 sharepoint blog Site Template unable to move file Uncategorized Unexpected error has occured Web Part error Blog Stats 38,278 hits Live Traffic An error occurred while rendering navigation for requested URL:/. Exception message: Invalid fieldname Posted: November 23, 2011 in Uncategorized Tags: sharepoint 2007 0 CAUSE This error will occur when the site is migrated with publishing feature (contains the Pages folder) and the publishing feature is not activated in the destination site. RESOLUTION Activate the publishing feature in site collection and site features. The feature will not be activated if the “pages” library exists, so rename/delete the pages library, and then activate the publishing feature. To rename the pages library you will have to open the site with Windows Explorer and rename the "Pages" Folder Share this:TwitterFacebookGoogleLinkedInEmailPrintLike this:Like Loading... Related Leave a Reply Cancel reply Enter your comment here... Fill in your details below or click an icon to log in: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. (LogOut/Change) You are commenting using your Twitter account. (LogOut/Change) You are commenting using your Facebook account. (LogOut/Change) You are commenting using your Google+ account. (LogOut/Change) Cancel Connecting to %s Notify me of new comments via email. Notify me of new posts via email. The text entered for lookup isn't an item from the list. Select an item from the list, o