Fixing Problem Web Parts that cause Unhandled Errors when Customizing Role Centers

Has this ever happened to you?

There you are, just minding my own business, creating new role center, and you add in a new web part…

And then you click refresh and you get a little error that pops up and you think that your role center is completely corrupted…

Well, it’s happened to me enough that I thought that I needed to share a note on how to fix it.

The problem is that the web part – usually a User Control webpart is corrupted and needs to be removed from the page before it will start working again. This is especially frustrating because you can’t get back to the page at all to delete the web part. But all is not lost.

Just put the following parameter at the end of the corrupted page’s URL:

?contents=1

That will take you to the Web Part Maintenance form.

From there just select the web part that is causing all of the ruckus and delete it.

That will clean up the form for you and you can now display your role center again.

Now you can continue on just like it never happened. Just remember to avoid that particular web part combination in the future.

 


About The Author:
Murray Fife is a Microsoft Dynamics AX MVP, Author of over 20 books on Microsoft Dynamics AX, and Solution Architect at I.B.I.S. Inc. with over 20 years of experience in the software industry. Like most people in his industry he has worked in many different roles during his career, including as a developer, an implementation consultant, and a trainer which gives him a great understanding of the requirements for both customers and partners. He is a regular contributor to the Dynamics AX community and in addition to hosting presentations for I.B.I.S. presents regularly for the AXUG and MS Dynamics World, has spoken at Microsoft Convergence and AXUG Summit conferences. If that was not enough, he works closely with Microsoft evaluating with their beta products and also is a Council Member on the Microsoft Dynamics Academic Alliance trying to help educate the new generation of consultants on Dynamics AX.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: