1

I am trying to update a DWP file in the web part gallery by using stsadm upgradesolution. Here is what I am doing:

  1. Created a web part, put it in feature, packaged it in solution by WSPBuilder, deployed it. Worked absolutely fine.
  2. Updated the xml of my dwp file.
  3. Compiled the project again.
  4. Build wsp file through WSPBuilder again.
  5. executed stsadm's upgradesolution command.
  6. Once completed, checked the assembly date in GAC and it reflects the time of my upgrade which means it is copied during upgrade. Great.
  7. Checked the dwp file in Web Part Gallery but it is not updated and still showing the old file.

Am I missing something? How can I upgrade my dwp files through upgradesolution?

1

Try retract and remove first, then install your updated wsp.

  • Thanks Carl, but it will kill the purpose of upgrading. I wanted to avoid retracting and removing to keep things simple but it looks like that there is no other way . – Namwar Rizvi Aug 12 '10 at 13:13
0

did you run IISRESET after your upgrade?

  • Hi Brian! Yes, I tried but no benefit. – Namwar Rizvi Sep 24 '10 at 15:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.