Developer forum

Forum » Development » Updating the dev environment

Updating the dev environment


Reply

Hey Dynamicweb.


 


Ive got my environment setup with a dynamicweb folder (Admin) which i update frequently (when you release it on the download section) so my local solutions always have the newest fileset and modules and a lot of local custom solutions (App, Files, Database)


 


My problem is the new modules ect. releases with the application.zip are dependent on database changes, and you rarely (not as often as application releases) release the DefaultEmptyData - which results in none working new modules.


 


Any idea how handles this ?


 


Thanx in advance.


Replies

 
Nicolai Høeg Pedersen
Reply

Hi


 


Dynamicweb should handle that it self.


 


In the folder /Admin/Update/Update.xml all database changes are published with a version number. On Application_Start dynamicweb holds that number against the one found in /Files/Update.xml and apply the difference.


 


So if you run into a problem like this, make sure the /Files/update.xml comes from the same fileset as the newly installed database and restart iis, and start the website again. That should do it.


 


You can allways just set the number in /Files/update.xml to current value - 20 and iisreset.

 
Reply

The -20 trick works like a charm :o)


Thanks

 

You must be logged in to post in the forum