Developer forum
E-mail notifications
How to use "Manage versions" on self-hosted solutions
The "Manage versions" function in the Management Center is a very nice feature. But it's not available on solutions not hosted at Host Nordic. But isn't it possible to make it work on self-hosted solutions? Isn't is just a matter of making a specific folderstructure on the webserver and place the unzip'ed Dynamicweb versions in the folders?
Replies
Hi Lars
Indeed it is. The folder structure you need is like this:
Root folder
|_ Application(19.2.0.0)
|_ Application(19.2.0.1)
.
.
.
|_ Application(19.2.4.2) <- Lets assume this folder is your current application folder
|_ Application(19.2.4.3)
If your structure matches this, then you can use Manage versions to change between them.
- Jeppe
Hi Lars
Indeed it is. The folder structure you need is like this:
Root folder
|_ Application(19.2.0.0)
|_ Application(19.2.0.1)
.
.
.
|_ Application(19.2.4.2) <- Lets assume this folder is your current application folder
|_ Application(19.2.4.3)
If your structure matches this, then you can use Manage versions to change between them.
- Jeppe
Hi Jeppe,
thanks for your reply. In the meantime I found out my self. But I would like to add, that the root folder holding all the "Application(xx.x.x.x)" folders can be placed anywhere in the folder structure. And not to forget.... if you download the Dynamicweb builds on a Windows 2008 Server don't forget to unblock the zip-archive BEFORE unzipping the archive. The unblocking of the zip-archive is done by right clicking on the zip-archive and selecting "Properties" and clicking the "Unblock" button on the "General" sheet.
Now when I try to switch to another version by using the "Manage versions" feature in the Management Center I get this errormessage:
Access is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: Access is denied.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[COMException (0x80070005): Access is denied.
]
System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) +378094
System.DirectoryServices.DirectoryEntry.Bind() +36
System.DirectoryServices.DirectoryEntry.get_AdsObject() +31
System.DirectoryServices.PropertyValueCollection.PopulateList() +26
System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName) +49
System.DirectoryServices.PropertyCollection.get_Item(String propertyName) +150
Dynamicweb.Content.Management.IIS.SetAdminDirectory(String path) +125
Dynamicweb.Admin.Version_cpl.ApplyNewPath() +60
Dynamicweb.Admin.Version_cpl.Page_Load(Object sender, EventArgs e) +53
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
How can I fix this access problem?
The identity running the AppPool process needs to have permission to edit the metabase in IIS. This is usually admin level.
- Jeppe
Can you please describe how to do that?
The identity running the AppPool process needs to have permission to edit the metabase in IIS. This is usually admin level.
- Jeppe
- Jeppe
OK, I have already submitted a supportcase to Host Nordic :-)
Sorry no. This is not something I can go into any more detail with. This functionality is meant as a Host Nordic hosted feature only.
- Jeppe
You must be logged in to post in the forum