0
votes

I have a SharePoint webpart for which I have had to change its public key. However, I don't appear to be able to locate every reference to the old assembly signed with this key.

Now I get a 'Parser Error'...

Parser Error Message: Could not load file or assembly '[Assembly.name], Version=1.0.0.0, Culture=neutral, PublicKeyToken=[Old public key token]' or one of its dependencies. The system cannot find the file specified.

Can anyone advise me how I can trace what is referencing this assembly? I've deleted the instance of the web part on the page that is causing this error - what more can I do?

Thanks in advance,

Flippsie

1

1 Answers

0
votes

Each webpart instance references the DLL explicitly. You can verify this by exporting the webpart and then opening up the file in a text editor. You'll see your DLL called out between the <Assembly></Assembly> node.

Try adding the webpart back to the page again. You may have to make a new DWP/.WEBPART file or update it in the Webpart gallery.