login | about | faq

If you have any feedback from our EAP, we've created a UserVoice forum especially for you! Check it out, and let us know what you think of the latest Early Access build.

Reflector fails to open when I use "Open in .Net Reflector" command in VS2008. I tried several types, members, assemblies, without success.

I upgrade Reflector form 7.1 to 7.4.1.193. I have a valid license.

I try some things I readed in this forum. For example:
http://forums.reflector.net/questions/1814/ugrade-to-741193-failed-to-run-in-vs2010-fixed

Debugging Visual Studio, I see this exception:

System.IO.FileNotFoundException
Message="Could not find file 'C:\\Users\\user1\\AppData\\Local\\IsolatedStorage\\4a5jaehk.ffz\\zgpc3ypp.scp\\Publisher.20dmctkuwxoa5dre0e4xurrfw1wgcceb\\AssemFiles\\AFF9D841\\Usages.bin'."
Source="mscorlib"
FileName="C:\\Users\\user1\\AppData\\Local\\IsolatedStorage\\4a5jaehk.ffz\\zgpc3ypp.scp\\Publisher.20dmctkuwxoa5dre0e4xurrfw1wgcceb\\AssemFiles\\AFF9D841\\Usages.bin"
StackTrace:
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
InnerException:

with stack:

mscorlib.dll!System.IO.__Error.WinIOError(int errorCode, string maybeFullPath) + 0x132 bytes    
mscorlib.dll!System.IO.FileInfo.Length.get() + 0x65 bytes   
mscorlib.dll!System.IO.IsolatedStorage.IsolatedStorageFileStream.IsolatedStorageFileStream(string path, System.IO.FileMode mode = OpenOrCreate, System.IO.FileAccess access = Read | Write, System.IO.FileShare share = None, int bufferSize = 4096, System.IO.IsolatedStorage.IsolatedStorageFile isf) + 0x12c bytes   
mscorlib.dll!System.IO.IsolatedStorage.IsolatedStorageFileStream.IsolatedStorageFileStream(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.IO.IsolatedStorage.IsolatedStorageFile isf) + 0x1a bytes    
RedGate.Reflector.Addin.dll!???.???.?() + 0x74 bytes  
RedGate.Reflector.Addin.dll!???.???.() + 0x29f bytes 
RedGate.Reflector.Addin.dll!???.???.??() + 0xc8 bytes  
RedGate.Reflector.Addin.dll!???.???.?() + 0x9b bytes  
RedGate.Reflector.Addin.dll!ReflectorCustomDialog.FeatureReporting.ReflectorUsageReporter.FeatureUsed(uint featureId = 11645) + 0x5b bytes  
RedGate.Reflector.Addin.dll!.???.() + 0x5e bytes    
RedGate.Reflector.Addin.dll!.???...?() + 0xa4 bytes    
[Función ligera]    
RedGate.Reflector.Addin.dll!.?.() + 0xb6 bytes    
RedGate.Reflector.Addin.dll!.???.?() + 0x3f9 bytes   
RedGate.Reflector.Addin.dll!RedGate.Reflector.Addin.Connect...?() + 0x11d bytes    
RedGate.Reflector.Addin.dll!?.?.DoWithErrorHandling() + 0x5c bytes    
RedGate.Reflector.Addin.dll!RedGate.Reflector.Addin.Connect.DoWithErrorHandling() + 0x72 bytes  
RedGate.Reflector.Addin.dll!RedGate.Reflector.Addin.Connect.Exec(string commandName = "RedGate.Reflector.Addin.Connect9.Reflector_OpenInReflector", EnvDTE.vsCommandExecOption executeOption = vsCommandExecOptionDoDefault, ref object varIn = null, ref object varOut = null, ref bool handled = false) + 0x163 bytes 
[Transacción de nativo a administrado]

followed by 5 exceptions:

System.ComponentModel.Win32Exception
Message="%1 no es una aplicación Win32 válida"
Source="System"
ErrorCode=-2147467259
NativeErrorCode=193
StackTrace:
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
InnerException:

with similar stack:

System.dll!System.Diagnostics.Process.StartWithShellExecuteEx(System.Diagnostics.ProcessStartInfo startInfo) + 0x267 bytes  
System.dll!System.Diagnostics.Process.Start() + 0x39 bytes  
System.dll!System.Diagnostics.Process.Start(System.Diagnostics.ProcessStartInfo startInfo) + 0x32 bytes 
System.dll!System.Diagnostics.Process.Start(string fileName) + 0x20 bytes   
RedGate.Reflector.Addin.dll!..??() + 0x9e bytes 
RedGate.Reflector.Addin.dll!..??() + 0x69 bytes 
RedGate.Reflector.Addin.dll!..Start() + 0x6d bytes  
RedGate.Reflector.Addin.dll!..Start() + 0x85 bytes  
RedGate.Reflector.Addin.dll!..Start() + 0x65 bytes  
RedGate.Reflector.Addin.dll!.???.() + 0x416 bytes   
RedGate.Reflector.Addin.dll!.???...?() + 0xa4 bytes    
 [Función ligera]    
RedGate.Reflector.Addin.dll!.?.() + 0xb6 bytes    
RedGate.Reflector.Addin.dll!.???.?() + 0x3f9 bytes   
RedGate.Reflector.Addin.dll!RedGate.Reflector.Addin.Connect...?() + 0x11d bytes    
RedGate.Reflector.Addin.dll!?.?.DoWithErrorHandling() + 0x5c bytes    
RedGate.Reflector.Addin.dll!RedGate.Reflector.Addin.Connect.DoWithErrorHandling() + 0x72 bytes  
RedGate.Reflector.Addin.dll!RedGate.Reflector.Addin.Connect.Exec(string commandName = "RedGate.Reflector.Addin.Connect9.Reflector_OpenInReflector", EnvDTE.vsCommandExecOption executeOption = vsCommandExecOptionDoDefault, ref object varIn = null, ref object varOut = null, ref bool handled = false) + 0x163 bytes 
 [Transacción de nativo a administrado]

How I can resolve this problem?

asked Jan 23 at 13:24

jbueno25's gravatar image

jbueno25
1


The first exception is fine, the second one shows the problem. "Open In Reflector" passes a codelink to the Windows shell which finds the appropriate application for opening.

ie opening on Console.WriteLine is equivalent to typing

start code://mscorlib:2.0.0.0:b77a5c561934e089/System.Console/WriteLine()

at the command prompt. I imagine that code: is associated with the application that no longer exists - you could look in the registry under

HKEY_CLASSES_ROOTcodeshellopencommand

to see what the associated application is. To fix this, start reflector and use the Tools/..Integration.. dialog and check the Windows Explorer Shell Integration to point this registry entry at the latest version of the product.

answered Jan 24 at 08:27

Clive's gravatar image

Clive ♦♦
1.1k5

Your answer
toggle preview

Follow this question


By Email:

Once you sign in you will be able to subscribe for any updates here


By RSS:

Answers

Answers and Comments

Formatting your answer

  • *Italic*
  • **Bold**
  • ***Bold Italic***
  • Link: [text](http://url.com/ "title")
  • Paragraph: Two line breaks
  • Bulleted list: Paragraph then start line with *
  • Numbered list: Paragraph then start line with 1.
  • Blockquote: Paragraph then start with with >
  • Basic HTML tags are also supported

Asked: Jan 23 at 13:24

Seen: 191 times

Last updated: Jan 24 at 08:27

 

Tags:

×30
×3
×1