Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Replacing web parts in a LOT or pages with new ones. help...

  Asked By: Thaddeus    Date: Sep 25    Category: Sharepoint    Views: 606

I am looking at a potentially ugly situation.

I have a share point site with over a thousand areas and many more
pages.

A consulting company was hired a year ago to develope our web parts.
They did a bad job. Hard links in web parts, not strong named, user
names and passwords in web parts. According to our developer, its
just BAD.

One of the items we are going to need to address is the strong naming.

Heres the issue I need help with.

If strong naming is applied with a single key across all of our
webparts, then the guids will be new.

So.. do we have to touch every page to change the web parts out, or
is there a .net mechanism or a code based way to change these parts
out globally?

We simply can't take the time to change out twelve parts per page
manually on thousands of pages.

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Jasper Hatfield     Answered On: Sep 25

Three suggestions.

First, there is a .NET setting that you can place into the web.config to
redirect requests for an old assembly version to use a new assembly
version. Read this MSDN article for more details:
http://tinyurl.com/5exv9

Second, if the web.config setting doesn't cut it, writing a program that
will crawl every page  in every site  in your entire farm is certainly a
better option than manually updating these web  Parts.

Test, test, test...

 
Answer #2    Answered By: Rashawn Hopper     Answered On: Sep 25

I told you, you'd get a better response in this forum, rather then MSD2D.

Hope its shed some light on the problem.

 
This post is locked for further answers.




Tagged: