none
Webpart stopped working after updating DLL version of VS solution RRS feed

  • Question

  • I have one VS solution in which there are 20 custom web part is there and it is working fine in production environment as well.

    Now because of some business requirement I have changed DLL version of that Visual Studio solution and deployed updated WSP file to SharePoint server.

    Now all the web part get stopped working with following error:

    Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type [Namespace], Version=1.0.0.0, Culture=neutral, PublicKeyToken=6b79829b0b76e944 could not be found or it is not registered as safe. Correlation ID: ca46d29d-7206-a0a6-8e9d-63e88de320b1.

    I checked root cause and found that all the page's web part is still pointing to old dll version of my solution but it should point to new version.

    Now I can solve issue by adding safe control entry of old dll version to web config but which I don't want because If I will do that then my all web part will point to old code.

    I have approx. 200 pages where I have added those web parts in SharePoint.

    Please suggest me how can I fix that issue?


    Kalpesh Vaghela


    Monday, February 6, 2017 7:19 AM

All replies