In Umbraco 4.5, when I try to create a package I get the following exception:
The create dialog for "packager" does not match anything defined in the "~/umbraco/config/create/UI.xml". This could mean an incorrectly installed package or a corrupt UI file
Server Error in '/' Application.
The create dialog for "packager" does not match anything defined in the "~/umbraco/config/create/UI.xml". This could mean an incorrectly installed package or a corrupt UI file
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.ArgumentException: The create dialog for "packager" does not match anything defined in the "~/umbraco/config/create/UI.xml". This could mean an incorrectly installed package or a corrupt UI file
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:
[ArgumentException: The create dialog for "packager" does not match anything defined in the "~/umbraco/config/create/UI.xml". This could mean an incorrectly installed package or a corrupt UI file]
...also, I'd like to add that I have just tried to click "create package" from the "created packaged" node (and not directly from "packages"), and I get this other exception:
Server Error in '/' Application.
Root element is missing.
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.Xml.XmlException: Root element is missing.
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:
[XmlException: Root element is missing.]
System.Xml.XmlTextReaderImpl.Throw(Exception e) +73
System.Xml.XmlTextReaderImpl.ParseDocumentContent() +4076618
System.Xml.XmlTextReaderImpl.Read() +145
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +114
System.Xml.XmlDocument.Load(XmlReader reader) +114
System.Xml.XmlDocument.Load(String filename) +128
umbraco.cms.businesslogic.packager.data.Reload(String dataSource) +436
umbraco.cms.businesslogic.packager.data.GetFromId(Int32 Id, String dataSource, Boolean reload) +67
umbraco.cms.businesslogic.packager.data.Package(Int32 id, String datasource) +45
umbraco.cms.businesslogic.packager.CreatedPackage.GetById(Int32 id) +103
umbraco.presentation.developer.packages._Default.Page_Load(Object sender, EventArgs e) +321
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +91
umbraco.BasePages.BasePage.OnLoad(EventArgs e) +49
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:
Is anyone else experience this kind of problem with Umbraco 4.5 Packager?
Apparently the Create Package function from the context menu of the Created packaged node works. In my case (details in the 2nd post in this thread), it was initially not working because the createdPackages.config was completely empty, even without the <packages></packages> tags. Thus, Umbraco was giving the Root element is missing exception. I have simply created the two tags and it started to work.
However, I can confirm that the Create Package function doesnt work if it is executed from the "Packages" node context menu. In order to verify this, I have even created a completely clean installation (fresh code from the 4.5 binary release zip and clean/empty DB). The exception that is raised is the one quoted in my first post in this thread.
Out of curiosity, how to report bugs in these cases? Is it better to post here or in the Codeplex forum?
Following Gianluca advice on pasting the following xml into the /App_Data/packages/created/createdPackages.config resolves the issue and I can create packages
I've stumbled upon the same problem as the above. First I followed Gianluca's initial bugfix by editing the createdPackage.config - and I allmost got it working. I checked the files and nodes needed for the package and saved, no problem. When I try to publish i get a "Save failed, check your umbraco log". This is from the log:
CreatedPackage.cs System.ArgumentException: No Document exists with Version '00000000-0000-0000-0000-000000000000' at umbraco.cms.businesslogic.web.Document.setupNode() at umbraco.cms.businesslogic.CMSNode..ctor(Int32 Id) at umbraco.cms.businesslogic.Content..ctor(Int32 id) at umbraco.cms.businesslogic.web.Document..ctor(Int32 id) at umbraco.cms.businesslogic.packager.CreatedPackage.Publish()
We had the same problem and we think the reason was that we upgraded our site from 4.5.1 to 4.5.2 but we had not updated the UI.XML file in our Visual Studio solution. When we did a DIFF between the file on our server and the file in a clean 4.5.2 installation the following lines were missing:
I had the same problem and found out that I could choose the root node in the content section when creating a package. So if I choose when "real" node I dont get an error.
Create Package throws an exception in Umbraco 4.5
Hi,
In Umbraco 4.5, when I try to create a package I get the following exception:
The create dialog for "packager" does not match anything defined in the "~/umbraco/config/create/UI.xml". This could mean an incorrectly installed package or a corrupt UI file
My box is a Win Vista 32bit. My db is a mysql.
I also checked UI.xml and I've found this:
and in /umbraco/create I confirm that simple.ascx is present.
Cheers,
Gianluca.
...also, I'd like to add that I have just tried to click "create package" from the "created packaged" node (and not directly from "packages"), and I get this other exception:
Is anyone else experience this kind of problem with Umbraco 4.5 Packager?
Cheers,
Gianluca.
Hi folks!
Ok, I have some additional info for you.
Apparently the Create Package function from the context menu of the Created packaged node works. In my case (details in the 2nd post in this thread), it was initially not working because the createdPackages.config was completely empty, even without the <packages></packages> tags. Thus, Umbraco was giving the Root element is missing exception. I have simply created the two tags and it started to work.
However, I can confirm that the Create Package function doesnt work if it is executed from the "Packages" node context menu. In order to verify this, I have even created a completely clean installation (fresh code from the 4.5 binary release zip and clean/empty DB). The exception that is raised is the one quoted in my first post in this thread.
Out of curiosity, how to report bugs in these cases? Is it better to post here or in the Codeplex forum?
Cheers,
Gianluca
I can also confirm the bug.
Following Gianluca advice on pasting the following xml into the /App_Data/packages/created/createdPackages.config resolves the issue and I can create packages
Best to report on codeplex. Could you also vote up these two 4.5 packager issues? http://umbraco.codeplex.com/workitem/27929 and http://umbraco.codeplex.com/workitem/27864
Dan
@Dan: done ;) And by the way, the issue that prevents the creation of Content nodes using the packaging tool is a bad one for me too!
Also, can you vote for this too? http://umbraco.codeplex.com/workitem/27894 (kind of a replica of yours, but found in umbraco 45)
Cheers,
Gianluca.
Voted!
My mistake - when I mention 4.1 on my workitem I mean 4.5
Dan
So anyone knows anything how to create package ?
or any good plugins ?
Thanks
...
Hey,
I've stumbled upon the same problem as the above. First I followed Gianluca's initial bugfix by editing the createdPackage.config - and I allmost got it working. I checked the files and nodes needed for the package and saved, no problem. When I try to publish i get a "Save failed, check your umbraco log". This is from the log:
CreatedPackage.cs System.ArgumentException: No Document exists with Version '00000000-0000-0000-0000-000000000000' at umbraco.cms.businesslogic.web.Document.setupNode() at umbraco.cms.businesslogic.CMSNode..ctor(Int32 Id) at umbraco.cms.businesslogic.Content..ctor(Int32 id) at umbraco.cms.businesslogic.web.Document..ctor(Int32 id) at umbraco.cms.businesslogic.packager.CreatedPackage.Publish()
Anyone know what to do?
/Peter
Ahh.. The error occurs because i tried to pick the top content node as "Content" in the package.
When not doing that - it works..
/Peter
have you try this.. it works for me...
Hi,
We had the same problem and we think the reason was that we upgraded our site from 4.5.1 to 4.5.2 but we had not updated the UI.XML file in our Visual Studio solution. When we did a DIFF between the file on our server and the file in a clean 4.5.2 installation the following lines were missing:
I hope this helps someone!
Cheers,
Chris
Hi,
I had the same problem and found out that I could choose the root node in the content section when creating a package. So if I choose when "real" node I dont get an error.
Just thought I would share :-)
/Peter
The xml snippit from Kurniawan is missing from 4.8.1 NuGet package to
is working on a reply...