Root element is missing

Add-in Express™ Support Service
That's what is more important than anything else

Root element is missing
 
Krista Liberatore




Posts: 4
Joined: 2011-01-20
Hi. I created a simple IE Add-on project with a toolbar and "Hello World" button. It runs fine in debug. I created the setup project and published it fine (without prerequisites) using the installation URL "http://localhost/barnesaddon/". I moved version_info and the 1033 folder to that location on my local web server. However, when I run barnesaddon.exe, I get the error "Root element is missing" with no more details. Any idea what I am doing wrong?

If it helps, I'm also getting the following warnings when I build the setup project:

  • Two or more objects have the same target location ('[targetdir]\interop.shdocvw.dll')
  • The target version of the .NET Framework in the project does not match the .NET Framework launch condition version '2.0.50727 '. Update the version of the .NET Framework launch condition to match the target version of the.NET Framework in the Advanced Compile Options Dialog Box (VB) or the Application Page (C#, F#).


Not sure if those are related to my problem.

When I run BarnesAddonSetup.msi directly, it installs fine.

Thank you!
Posted 20 Jan, 2011 14:04:15 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Krista.

Do you get the same error if you run the setup in IE?
E.g. http://localhost/barnesaddon/1033/1.0.0/barnesaddon.exe
If so, does version_info.xml contain any data? Please check it.
Posted 21 Jan, 2011 08:57:02 Top
Krista L




Posts: 4
Joined: 2011-01-20
Actually, when I use the URL... nothing happens... just a blank IE page.

Version_info.xml says:

<?xml version="1.0" encoding="utf-8"?>
<application name="barnesaddon">
  <product language="1033">
    <version name="1.0.0" installationUrl="http://localhost/barnesaddon/" productCode="{32629912-BD8E-42A3-B244-7B97FDA8AA30}" updateType="webPage">
      <files msi="BarnesAddonSetup">
        <file>barnesaddonsetup.msi</file>
      </files>
      <preferences>
        <showInstallUI>true</showInstallUI>
        <showUninstallUI>false</showUninstallUI>
        <webPage>
        </webPage>
      </preferences>
    </version>
  </product>
</application>


Thank you!
Posted 21 Jan, 2011 13:43:23 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Krista.

Did you create a virtual directory in IIS to test the instalation? The name of the virtual directory should be 'barnesaddon'.
Posted 24 Jan, 2011 04:39:43 Top
Krista L




Posts: 4
Joined: 2011-01-20
Yes, that's exactly what I have in IIS. Thanks.
Posted 24 Jan, 2011 10:37:17 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Krista.

I can't reproduce the issue. Please send me an example. I will test it.
Posted 25 Jan, 2011 04:20:36 Top
Krista L




Posts: 4
Joined: 2011-01-20
What exactly do you need from me and how would you like me to send it?

Thanks!
Posted 26 Jan, 2011 08:02:51 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Krista.

Please send me a sample project that reproduces the issue. You can send it to the support e-mail (see the readme.txt file in the product installation folder).
Posted 26 Jan, 2011 10:20:14 Top