SharePoint / ASP.Net Development
Experiences from the field...
Navigation
   RSS 2.0
Categories
Entries by Month

# Thursday, April 08, 2004

My default.aspx page has four parts.  Everything looks and works as it should.

I added a new part. This part has client-side script that uses the WPSC to read and save a custom property. It does not work. (Here we go again...)

What I've discovered is that the WPSC is using the web services (in this case, GetWebPart) to communicate with the server. The call to this service is failing with a status of 500 - Server error. (Very helpful message, don't you think!!)

So, I attached the debugger to the iexplore process and trapped the SOAP messages. The response the the GetWebPart call is a soap:Fault with an error string of:

A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is not registered on this site as safe.

I found the Web Part Maintenance page, which is located at /_layouts/1033/spcontnt.aspx. This page lists all the web parts on the specified page and allows you to “close” or delete them. Very useful.

In my case, however, all of the custom web parts are listed as Error!!!

So, after four hours, I'm lost.  How in the world can I see the parts if they are not safe?

Help.  Please.

Thursday, April 08, 2004 11:03:33 AM (Central Daylight Time, UTC-05:00)  #    Comments [4]  | 
Friday, December 17, 2004 9:25:56 AM (Central Standard Time, UTC-06:00)
Have you checked out the following KB article?

http://support.microsoft.com?id=830342

Whenever all web parts are error web parts in the contents page, yet they render fine... it's clear sign that you're in an unsupported config.

Friday, December 17, 2004 9:34:28 AM (Central Standard Time, UTC-06:00)
Maurice,

Thanks for the link. That is exactly how I resolved the problem. (This post is rather dated. The SharePoint posts started as a diary of my installation. It is a bit confusing when read out of sequence.)

Paul
Sunday, January 02, 2005 1:26:20 AM (Central Standard Time, UTC-06:00)
I too lost, the same issue is there for me for last 2 days, My colleague did some thing on any of the web.config since his custom applications was giving auth errors. He is not able to tell me where all he changed, anyway now all my custome web parts are not working( giving safe control error, it is all there in web.config, and default trust level is Full,In ISS I am using all unsigned IP and not using any host headdress (Only Share Point is there in that server)

No idea what to do, since 2 days back it gone live and it happend (:
Monday, June 05, 2006 10:01:53 PM (Central Daylight Time, UTC-05:00)
How did you allow the WPSC to read your custom properties of your custom webparts?! I need help. Thanks.
Comments are closed.
Search

Further Reading...

Powered by: newtelligence dasBlog 2.2.8279.16125

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2009, Paul Schaeflein

Send mail to the author(s) E-mail