Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Upgrade from Cassini - installation failure
tcounts
#1 Posted : Thursday, November 10, 2011 12:51:14 PM(UTC)
Groups: Member
Joined: 11/10/2011(UTC)
Posts: 1
Location: Gilbert, SC

Info:
Win7 32bit machine (tried on 2 separate machines).
Existing Cassini web server and registered pages installed.
Using Inno setup install script.
command line that is executed : msiexec.exe /passive /i UltiDev.Webserver.msi

The installation fails.

so running the installation manually: msiexec.exe /i UltiDev.Webserver.msi

We get the following error when attempting to register the Web Server App Redirector

Failed to register or unregister application due to "System.ArgumentException: An item with the same key has already been added
...
at UWS.Configuration.Metabase.LoadLegacyCassiniAppData(List1appPools)
...

Command line:
... UWS.RegApp.exe /AppID:4fd8b3f7-bc73-4583-95fe-e7b69b10a3ae
... /Endpoints:http://*:7756
...


if I manually edit the CassiniMetabase.xml file to remove the web explorer application, then we install correctly.
tcounts attached the following image(s):
tcounts attached the following image(s): ultidevinstallerror.png
Ultidev Team
#2 Posted : Thursday, November 10, 2011 1:29:28 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there!

Thank you much for detailed problem explanation and research you have done!

Could you please send us your "C:\ProgramData\UltiDev\Cassini\CassiniMetabase.xml"?

Our CassiniMetabase.xml has the following:
Code:
<Application FrameworkVersion="1.1" KeepRunning="true">
<PhysicalPath>C:\Program Files (x86)\UltiDev\Cassini Web Server Explorer</PhysicalPath>
<Port>7756</Port>
<Name>UltiDev Cassini Web Server Explorer</Name>
<Description>Cassini Web Server configuration utility</Description>
<DefaultDocument />
<ApplicationID>4fd8b3f7-bc73-4583-95fe-e7b69b10a3ae</ApplicationID>
</Application>

Upgrade works fine with this, so we are really eager to get our hands on your CassiniMetabase.xml to try to replicate the problem. Could you also include logs as described here?

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#3 Posted : Thursday, November 10, 2011 2:38:39 PM(UTC)
Groups:
Joined: 11/1/2005(UTC)
Posts: 278

Thanks so much for the quick response!
It was a duplicate entry in the metadata xml file (caused by us, I might add).
So if anyone else should see this error, check your xml file for corruption.
Ultidev Team
#4 Posted : Thursday, November 10, 2011 3:05:04 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Since Cassini was able to survive the presence of duplicates in CassiniMetabase.xml, we have decided to update UWS so it could live with it too. We'll fix in build 13.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.