[303] Nightly build 2006/11/14 - Installation failed

Fresh installation of Windows and Visual Studio 2005 Team Suite. After the
installation of ReSharper I want to start up Visual Studio for the first
time and the following exception is being thrown with no possibility to
upload it to the issue tracker:

System.InvalidOperationException: The installation failed, and the rollback
has been performed. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: externalMarkers
at
JetBrains.VSAddin.TextControl.Markup.VSIntegration.VSRegisterHighlighterUtil.RegisterHighlighter(RegisterHighlighterAttribute
attribute, String rootSuffix) in
c:\Agent\work\ReSharper-Main\src\VSAddin\src\TextControl\Markup\VSRegisterHighlighterUtil.cs:line
117
at
JetBrains.VSAddin.TextControl.Markup.VSIntegration.VSRegisterHighlighterUtil.b__0(Object attrInstance, String rootSuffix) in c:\Agent\work\ReSharper-Main\src\VSAddin\src\TextControl\Markup\VSRegisterHighlighterUtil.cs:line 32 at JetBrains.VSAddin.AddInInstaller.ProcessAssemblies(String rootSuffix, String assembliesConfiguration, REGISTRATION_MODE mode) in c:\Agent\work\ReSharper-Main\src\VSAddin\src\AddInInstaller.cs:line 169 at JetBrains.VSAddin.AddInInstaller.Install(IDictionary stateSaver) in c:\Agent\work\ReSharper-Main\src\VSAddin\src\AddInInstaller.cs:line 125 at System.Configuration.Install.Installer.Install(IDictionary stateSaver) at System.Configuration.Install.AssemblyInstaller.Install(IDictionary savedState) at System.Configuration.Install.Installer.Install(IDictionary stateSaver) at System.Configuration.Install.TransactedInstaller.Install(IDictionary savedState) --- End of inner exception stack trace --- at System.Configuration.Install.ManagedInstallerClass.InstallHelper(String[] args) at GUIInstallUtil.Program.<>c__DisplayClass2.

]]>b__0()
-


System.ArgumentNullException: Value cannot be null.
Parameter name: externalMarkers
at
JetBrains.VSAddin.TextControl.Markup.VSIntegration.VSRegisterHighlighterUtil.RegisterHighlighter(RegisterHighlighterAttribute
attribute, String rootSuffix) in
c:\Agent\work\ReSharper-Main\src\VSAddin\src\TextControl\Markup\VSRegisterHighlighterUtil.cs:line
117
at
JetBrains.VSAddin.TextControl.Markup.VSIntegration.VSRegisterHighlighterUtil.<.ctor>b__0(Object
attrInstance, String rootSuffix) in
c:\Agent\work\ReSharper-Main\src\VSAddin\src\TextControl\Markup\VSRegisterHighlighterUtil.cs:line
32
at JetBrains.VSAddin.AddInInstaller.ProcessAssemblies(String rootSuffix,
String assembliesConfiguration, REGISTRATION_MODE mode) in
c:\Agent\work\ReSharper-Main\src\VSAddin\src\AddInInstaller.cs:line 169
at JetBrains.VSAddin.AddInInstaller.Install(IDictionary stateSaver) in
c:\Agent\work\ReSharper-Main\src\VSAddin\src\AddInInstaller.cs:line 125
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.AssemblyInstaller.Install(IDictionary
savedState)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.TransactedInstaller.Install(IDictionary
savedState)
-




Regards

Gabriel Lozano-Morán


9 comments
Comment actions Permalink

Ditto, same error here.

0
Comment actions Permalink

Actually, nevermind, I was using 301, not 303. But in any case, the exception is exactly the same.

0
Comment actions Permalink

I tried it several times but the same error occurs now. Strange since a
couple of hours before I managed to successfully install it on my work pc

Gabriel

"Matt" <no_reply@jetbrains.com> wrote in message
news:2339916.1163542078574.JavaMail.itn@is.intellij.net...

Actually, nevermind, I was using 301, not 303. But in any case, the
exception is exactly the same.



0
Comment actions Permalink

I have also tried the build from last night and I get the same error. I am
running Visual Studio 2005 Team Suite on a Windows XP Professional 64 bit
edition (see screenshot)

Gabriel






Attachment(s):
Installation fails.png
0
Comment actions Permalink

Hello Gabriel and others,

this exception means that ReSharper can't locate the registry key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Text Editor\External
Markers

under which it should add its own display markers. This registry key should
present in the registry
if Visual Studio is installed properly. Could you please check if it is indeed
there?

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Fresh installation of Windows and Visual Studio 2005 Team Suite. After
the installation of ReSharper I want to start up Visual Studio for the
first time and the following exception is being thrown with no
possibility to upload it to the issue tracker:

System.InvalidOperationException: The installation failed, and the
rollback
has been performed. ---> System.ArgumentNullException: Value cannot be
null.
Parameter name: externalMarkers
at
JetBrains.VSAddin.TextControl.Markup.VSIntegration.VSRegisterHighlight
erUtil.RegisterHighlighter(RegisterHighlighterAttribute
attribute, String rootSuffix) in
c:\Agent\work\ReSharper-Main\src\VSAddin\src\TextControl\Markup\VSRegi
sterHighlighterUtil.cs:line
117
at
JetBrains.VSAddin.TextControl.Markup.VSIntegration.VSRegisterHighlight
erUtil.<.ctor>b__0(Object
attrInstance, String rootSuffix) in
c:\Agent\work\ReSharper-Main\src\VSAddin\src\TextControl\Markup\VSRegi
sterHighlighterUtil.cs:line
32
at JetBrains.VSAddin.AddInInstaller.ProcessAssemblies(String
rootSuffix,
String assembliesConfiguration, REGISTRATION_MODE mode) in
c:\Agent\work\ReSharper-Main\src\VSAddin\src\AddInInstaller.cs:line
169
at JetBrains.VSAddin.AddInInstaller.Install(IDictionary stateSaver)
in
c:\Agent\work\ReSharper-Main\src\VSAddin\src\AddInInstaller.cs:line
125
at System.Configuration.Install.Installer.Install(IDictionary
stateSaver)
at
System.Configuration.Install.AssemblyInstaller.Install(IDictionary
savedState)
at System.Configuration.Install.Installer.Install(IDictionary
stateSaver)
at
System.Configuration.Install.TransactedInstaller.Install(IDictionary
savedState)
--- End of inner exception stack trace ---
at
System.Configuration.Install.ManagedInstallerClass.InstallHelper(Strin
g[]
args)
at GUIInstallUtil.Program.<>c__DisplayClass2.<Main>b__0()
--------------------------------------------------------------------
System.ArgumentNullException: Value cannot be null.
Parameter name: externalMarkers
at
JetBrains.VSAddin.TextControl.Markup.VSIntegration.VSRegisterHighlight
erUtil.RegisterHighlighter(RegisterHighlighterAttribute
attribute, String rootSuffix) in
c:\Agent\work\ReSharper-Main\src\VSAddin\src\TextControl\Markup\VSRegi
sterHighlighterUtil.cs:line
117
at
JetBrains.VSAddin.TextControl.Markup.VSIntegration.VSRegisterHighlight
erUtil.<.ctor>b__0(Object
attrInstance, String rootSuffix) in
c:\Agent\work\ReSharper-Main\src\VSAddin\src\TextControl\Markup\VSRegi
sterHighlighterUtil.cs:line
32
at JetBrains.VSAddin.AddInInstaller.ProcessAssemblies(String
rootSuffix,
String assembliesConfiguration, REGISTRATION_MODE mode) in
c:\Agent\work\ReSharper-Main\src\VSAddin\src\AddInInstaller.cs:line
169
at JetBrains.VSAddin.AddInInstaller.Install(IDictionary stateSaver)
in
c:\Agent\work\ReSharper-Main\src\VSAddin\src\AddInInstaller.cs:line
125
at System.Configuration.Install.Installer.Install(IDictionary
stateSaver)
at
System.Configuration.Install.AssemblyInstaller.Install(IDictionary
savedState)
at System.Configuration.Install.Installer.Install(IDictionary
stateSaver)
at
System.Configuration.Install.TransactedInstaller.Install(IDictionary
savedState)
--------------------------------------------------------------------

Regards

Gabriel Lozano-Morán



0
Comment actions Permalink

I have check the registry and cannot find the registry of "Text
Editor\External Markers"

do you guys know how to fix it

regards
levent

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d91b74c08c8d6d11992226f@news.intellij.net...

Hello Gabriel and others,

>

this exception means that ReSharper can't locate the registry key

>

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Text
Editor\External Markers

>

under which it should add its own display markers. This registry key
should present in the registry
if Visual Studio is installed properly. Could you please check if it is
indeed there?

>

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>> Fresh installation of Windows and Visual Studio 2005 Team Suite. After
>> the installation of ReSharper I want to start up Visual Studio for the
>> first time and the following exception is being thrown with no
>> possibility to upload it to the issue tracker:
>>
>> System.InvalidOperationException: The installation failed, and the
>> rollback
>> has been performed. ---> System.ArgumentNullException: Value cannot be
>> null.
>> Parameter name: externalMarkers
>> at
>> JetBrains.VSAddin.TextControl.Markup.VSIntegration.VSRegisterHighlight
>> erUtil.RegisterHighlighter(RegisterHighlighterAttribute
>> attribute, String rootSuffix) in
>> c:\Agent\work\ReSharper-Main\src\VSAddin\src\TextControl\Markup\VSRegi
>> sterHighlighterUtil.cs:line
>> 117
>> at
>> JetBrains.VSAddin.TextControl.Markup.VSIntegration.VSRegisterHighlight
>> erUtil.b__0(Object >> attrInstance, String rootSuffix) in >> c:\Agent\work\ReSharper-Main\src\VSAddin\src\TextControl\Markup\VSRegi >> sterHighlighterUtil.cs:line >> 32 >> at JetBrains.VSAddin.AddInInstaller.ProcessAssemblies(String >> rootSuffix, >> String assembliesConfiguration, REGISTRATION_MODE mode) in >> c:\Agent\work\ReSharper-Main\src\VSAddin\src\AddInInstaller.cs:line >> 169 >> at JetBrains.VSAddin.AddInInstaller.Install(IDictionary stateSaver) >> in >> c:\Agent\work\ReSharper-Main\src\VSAddin\src\AddInInstaller.cs:line >> 125 >> at System.Configuration.Install.Installer.Install(IDictionary >> stateSaver) >> at >> System.Configuration.Install.AssemblyInstaller.Install(IDictionary >> savedState) >> at System.Configuration.Install.Installer.Install(IDictionary >> stateSaver) >> at >> System.Configuration.Install.TransactedInstaller.Install(IDictionary >> savedState) >> --- End of inner exception stack trace --- >> at >> System.Configuration.Install.ManagedInstallerClass.InstallHelper(Strin >> g[] >> args) >> at GUIInstallUtil.Program.<>c__DisplayClass2.

b__0() >>]]> -


>> System.ArgumentNullException: Value cannot be null.
>> Parameter name: externalMarkers
>> at
>> JetBrains.VSAddin.TextControl.Markup.VSIntegration.VSRegisterHighlight
>> erUtil.RegisterHighlighter(RegisterHighlighterAttribute
>> attribute, String rootSuffix) in
>> c:\Agent\work\ReSharper-Main\src\VSAddin\src\TextControl\Markup\VSRegi
>> sterHighlighterUtil.cs:line
>> 117
>> at
>> JetBrains.VSAddin.TextControl.Markup.VSIntegration.VSRegisterHighlight
>> erUtil.<.ctor>b__0(Object
>> attrInstance, String rootSuffix) in
>> c:\Agent\work\ReSharper-Main\src\VSAddin\src\TextControl\Markup\VSRegi
>> sterHighlighterUtil.cs:line
>> 32
>> at JetBrains.VSAddin.AddInInstaller.ProcessAssemblies(String
>> rootSuffix,
>> String assembliesConfiguration, REGISTRATION_MODE mode) in
>> c:\Agent\work\ReSharper-Main\src\VSAddin\src\AddInInstaller.cs:line
>> 169
>> at JetBrains.VSAddin.AddInInstaller.Install(IDictionary stateSaver)
>> in
>> c:\Agent\work\ReSharper-Main\src\VSAddin\src\AddInInstaller.cs:line
>> 125
>> at System.Configuration.Install.Installer.Install(IDictionary
>> stateSaver)
>> at
>> System.Configuration.Install.AssemblyInstaller.Install(IDictionary
>> savedState)
>> at System.Configuration.Install.Installer.Install(IDictionary
>> stateSaver)
>> at
>> System.Configuration.Install.TransactedInstaller.Install(IDictionary
>> savedState)
>> -


>>
>> Regards
>>
>> Gabriel Lozano-Morán
>>
>

0
Comment actions Permalink

I am also running Windows XP x64, so I think that's the cause of this problem. The registry key Resharper is looking for is in the registry, its just in a different place in Windows XP x64 since VS.NET is a 32-bit and runs via Windows-On-Windows. The key is at:

HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\8.0\Text Editor\External Markers

The vast majority of registry keys for VS.NET are under that "Wow6432Node" on 64-bit versions of Windows.

0
Comment actions Permalink

Any chance this is going to get fixed soon? I'd really like to test out 2.5 to see if it helps with my performance problems...

0
Comment actions Permalink

Hello,

Any chance this is going to get fixed soon? I'd really like to test
out 2.5 to see if it helps with my performance problems...


Yes, we have identified the cause and worked out the countermeasures. Dmitry
will implement them in one of the nearest builds.

PS. Maybe this would be interesting for people concerning 64bit compatibility:
every application there runs either as a 64-bit process, or as a legacy 32-bit
process, but never mixes the modes in one process (The bitness could be told,
for example, from the Task Manager: legacy processes have a “32” mark on
them). Well, that's much like Win16 & Win32. What is different is that those
applications of different bitness use different Registry Keys and File System
Paths. All of the 32-bit apps get another folder for Program Files, another
keys in the registry under “WoW64” — “Windows on Windows”, and this is done
transparently by the OS. A native (unmanaged) application always strictly
defines its bitness, because the native code is generated either for 32bit,
or AMD-x64 (your case, I so guess), or IA64. They're stable.

.NET purely-managed apps are a special case, because their code is “neutral”
in regard of the CPU by default. It can be JITted into either 32-bit or 64-bit
on each run. Thus, depending on the conditions, you may be looking at entirely
different Registry and file system paths every other time you're run — depending
on the process that loads you. This is extremely important for add-ins, plugins,
and so on — as they're loaded by an external application. Beware cpu-neutral
code!

Uh, yes, the fixes: either consider your app so that it survives “unstable
bitness”, or specify “/platform” switch when compiling C# projects, or apply
the “corflags” utility from the .NET SDK to modify the “bitness” of an existing
DLL.


Serge Baltic
Omea & R# Developer
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”




0

Please sign in to leave a comment.