This project is read-only.

Random Image Webpart | SPD Error?

Dec 9, 2008 at 8:10 PM
Edited Dec 9, 2008 at 8:14 PM
Anyone having a problem opening an aspx page with the random image webpart? After our cumulative updates to our sharepoint environment the problem was narrowed down to this webpart. The error it gives in Designer is:

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="" xmlns:xsi="" xmlns:xsd=""><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Server was unable to process request. ---&gt; An unexpected error occurred while opening this page. For assistance, contact your site administrator.</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>

Dec 11, 2008 at 4:48 PM

I also reproduce this error message after the most recent updates (patched through Octuber CU).

Attempting to open an ASPX page that contains an instance of the Random Image Web Part in SharePoint Designer results in WebPartPages.asmx throwing an HTTP 500 error; this in turn causes SharePoint Designer to throw an error via the UI. 

1. Follow steps from CodePlex to install web part. Includes GAC'ing the .dll and add a safe control entry to the web.config for the web application.
2. Add the web part to the Web Part Gallery of the SharePoint site.
3. Create an arbitrary ASPX page in the Pages Library, add the Random Image web part.
4. Try to open the ASPX page in SharePoint Designer and you will now get the same error message.

This is a cool web part, so I'd like to see this fixed, if possible.

Dec 12, 2008 at 2:53 PM
Sorry for the trouble.  I hadn't installed this patch on my test machine yet.  I'll reproduce the error on my end, and see if I can figure out what's causing it.
Dec 15, 2008 at 9:15 PM
I haven't been able to reproduce this error on any of my test machines.  Can you take a look at your recent patches, and let me know what has been installed?
Also, are you running MOSS or WSS, x64 or x86?
Dec 16, 2008 at 12:08 AM
I appreciate you taking a look. We are using Moss 2007 on Windows Server 2003 x86. The content database is 64 bit.

These were the updates as provided by Microsoft. latest updates we applied were:

1.)    Download the infrastructure Updates for both WSS and MOSS (links below)

2.)    Download the October Cumulative updates for both WSS and MOSS (links below)

3.)    Make sure you have good backups of your SharePoint site

4.)    Install the WSS Infrastructure update on your application server.

5.)    Install the WSS October Cumulative updates on your application server

6.)    Install the MOSS Infrastructure update

7.)    Install the MOSS Cumulative update

8.)    Run the SharePoint Configuration Wizard on your App server first, then each server in farm.

More information:

The Windows SharePoint Services Infrastructure Update x86 x64

The Microsoft Office Servers Infrastructure Update x86 x64

October Cumulative updates:

Description of the Windows SharePoint Services 3.0 hotfix package: October 28, 2008
Description of the SharePoint Server 2007 hotfix package (Coreserver.msp): October 28, 2008