Small clarification about this - i'm trying to create a package of my development machine and to transfer that package to different development machine by installing it.
All stuff except some templates is installed at the moment this stacktrace pops-up but it's unclear to me from the stack trace how are my templates affecting the process of installation.
Are the document types in your package nested? The installer doesn't seem to play nicely with nested packages: I think the above may occur if a child document type is installed before the parent document type exists.
From what i can see all document types are installed but their structure is not - this might be the issue then. Is there a workaround this? Maybe to manually re-order document types in the package.xml?
You could reorder them in the package XML I suppose, but it's probably best just to change your package such that your document types don't use a document structure. I understand that this isn't a great solution considering that you've probably spent time organising your type structure nicely, but it's probably going to be more reliable in the long run.
Ok. Problem solved. If someone runs into this one - the problem was CDATA section in one of the templates. Javascript block content was enclosed in it.
I am experiencing the the same error (I think). I get the same error you have posted, all my doctypes are in order (as suggested). The only thing that I can see is one of my templates has the following:
<script runat="server">
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
......
End Sub
</script>
Could this be causing my error and if so, is there a way around it?
From the template and tried it again but still get the above error, however it looks like all of my doctypes, templates, macros, etc. are installed properly.
Anyone have any suggestions on how to further diagnose this error?
Guys, this is a bug. I get the same problem when I try to create and later install a Package that utilizes nested document types. That seems to be the source of the problem.
Exception while installing local package
Hi,
While installing local package an exception is shown after accepting the installation of .dll files:
This is with umbraco v 4.0.2.1 (Assembly version: 1.0.3441.17657)
Asp.net 2.0
IIS7 on Vista x64
Any help is appreciated!
Small clarification about this - i'm trying to create a package of my development machine and to transfer that package to different development machine by installing it.
All stuff except some templates is installed at the moment this stacktrace pops-up but it's unclear to me from the stack trace how are my templates affecting the process of installation.
Vanja,
Are the document types in your package nested? The installer doesn't seem to play nicely with nested packages: I think the above may occur if a child document type is installed before the parent document type exists.
HTH,
JT
Hi James,
From what i can see all document types are installed but their structure is not - this might be the issue then. Is there a workaround this? Maybe to manually re-order document types in the package.xml?
You could reorder them in the package XML I suppose, but it's probably best just to change your package such that your document types don't use a document structure. I understand that this isn't a great solution considering that you've probably spent time organising your type structure nicely, but it's probably going to be more reliable in the long run.
Ok. Problem solved. If someone runs into this one - the problem was CDATA section in one of the templates. Javascript block content was enclosed in it.
After removing it, all went well.
Hello Vanja,
I am experiencing the the same error (I think). I get the same error you have posted, all my doctypes are in order (as suggested). The only thing that I can see is one of my templates has the following:
Could this be causing my error and if so, is there a way around it?
Thanks
Well I took out the:
From the template and tried it again but still get the above error, however it looks like all of my doctypes, templates, macros, etc. are installed properly.
Anyone have any suggestions on how to further diagnose this error?
Thanks
Ok figured it out.I had some extra <DocumentType> tags listed in the <Structure> element of some DocumentTypes
Hi Sean,
Did those extra DocumentType tags were added by installer? If so it migh be a bug, so you should report it.
Guys, this is a bug. I get the same problem when I try to create and later install a Package that utilizes nested document types. That seems to be the source of the problem.
Sean,
Can you create a package that demonstrates this issue? if so, we can report an official bug perhaps.
-- vanja
is working on a reply...