Resharper will not load in VS2010 when not running as admin

Our network powers that be have taken our admin rights away from our primary user accounts this week and resharper has stopped working. I've tried running under an admin account and everything works fine. Heres a quick outline of the issue:

It is installed an shows up in the about box like this:
http://farm5.static.flickr.com/4118/4815377992_3a67b925e4.jpg

When I look in the Options > Resharper menu I get this:
http://farm5.static.flickr.com/4095/4815377998_4c0ca5d008.jpg

Nothing happens when I click resume.

Looking at other threads it seemed it would be permissions so I gave everyone write/modify on the VisualStudio/10.0/1033 folders but this didn't fix it.

I ran the resharper logs and got this

14:17:49.446: Thread:1: EXCEPTION: Unable to generate a temporary class (result=1). error CS2001: Source file 'C:\WINDOWS\Temp\lomyrx4h.0.cs' could not be found error CS2008: No inputs specified
Unable to generate a temporary class (result=1). error CS2001: Source file 'C:\WINDOWS\Temp\lomyrx4h.0.cs' could not be found error CS2008: No inputs specified

--- EXCEPTION #1/2 [InvalidOperationException]
Message = “
  Unable to generate a temporary class (result=1).
  error CS2001: Source file 'C:\WINDOWS\Temp\lomyrx4h.0.cs' could not be found
  error CS2008: No inputs specified

ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = System.Xml
StackTraceString = “
  at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
     at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
     at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
     at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
     at JetBrains.Build.AllAssemblies.AllAssembliesXml.Load(Stream stream)
     at JetBrains.Application.ApplicationDescriptor.<get_AllAssembliesXml>b__0(Stream streamXml)
     at JetBrains.Util.Special.GeneralUtil.WithDispose[T,R](T disposable, Func`2 F)
     at JetBrains.Application.ApplicationDescriptor.get_AllAssembliesXml()
     at JetBrains.Application.ShellStarter.GetInternalMode()
     at JetBrains.Application.ShellStarter.GetAssemblyConfigurations()
     at JetBrains.UI.Application.UIApplicationShellStarter.GetAssemblyConfigurations()
     at JetBrains.VsIntegration.Customization.VsShellStarter.GetAssemblyConfigurations()
     at JetBrains.VsIntegration.Customization.VsShellStarter.StartShell()
     at JetBrains.ReSharper.VS.Customization.ReSharperApplicationDescriptor.StartShell(VsPackage package)
     at JetBrains.VsIntegration.Package.VsPackage.<Init_StartShell>b__19()
     at JetBrains.Application.ShellBase.<>c__DisplayClass54.<RestartShell>b__4c()
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)


--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “
  Unable to generate a temporary class (result=1).
  error CS2001: Source file 'C:\WINDOWS\Temp\lomyrx4h.0.cs' could not be found
  error CS2008: No inputs specified

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
     at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action)
     at JetBrains.Application.ShellBase.<>c__DisplayClass54.<RestartShell>b__4b()
     at JetBrains.Application.ShellBase.RestartShell(IApplicationDescriptor descriptor, Func`1 FDoStart)
     at JetBrains.VsIntegration.Package.VsPackage.<Init_StartShell>b__18()
     at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass43`1.<Advise_RaisingFront>b__42(PropertyChangedEventArgs`1 args)
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
     at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie)
     at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie)
     at JetBrains.DataFlow.PropertyBinding`2.CopySourceToTarget()
     at JetBrains.DataFlow.PropertyBinding`2.OnSourceValueChanged()
     at JetBrains.DataFlow.Signal`1.<>c__DisplayClasse.<Advise>b__d(TValue )
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
     at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie)
     at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie)
     at JetBrains.DataFlow.CompositeProperty`3.OnAnySourceChanged()
     at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass37`1.<Advise_NoAcknowledgement>b__36(PropertyChangedEventArgs`1 args)
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
     at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie)
     at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie)
     at JetBrains.DataFlow.PropertyBinding`2.CopySourceToTarget()
     at JetBrains.DataFlow.PropertyBinding`2.OnSourceValueChanged()
     at JetBrains.DataFlow.Signal`1.<>c__DisplayClasse.<Advise>b__d(TValue )
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
     at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie)
     at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie)
     at JetBrains.VsIntegration.Package.VsPackage.<>c__DisplayClass14.<>c__DisplayClass16.<Init_SizeNonZombied>b__11()
     at JetBrains.VsIntegration.Package.VsPackage.<>c__DisplayClass14.<>c__DisplayClass16.<Init_SizeNonZombied>b__13(VSSPROPID vsspropid, Object o)
     at JetBrains.VsIntegration.Interop.Shim.Shell.IVsShell.ShellPropertyChangesSink.Microsoft.VisualStudio.Shell.Interop.IVsShellPropertyEvents.OnShellPropertyChange(Int32 propid, Object var)


I'm a bit stumped, any idea of where to go from here?

Thanks!

1 comment
Comment actions Permalink

Hello Chris,

Are you able to create files and folders under C:\WINDOWS\temp with your
regular account (without admin rights)? Thank you!

Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Our network powers that be have taken our admin rights away from our
primary user accounts this week and resharper has stopped working.
I've tried running under an admin account and everything works fine.
Heres a quick outline of the issue:

It is installed an shows up in the about box like this:
Image:http://farm5.static.flickr.com/4118/4815377992_3a67b925e4.jpg
When I look in the Options > Resharper menu I get this:
Image:http://farm5.static.flickr.com/4095/4815377998_4c0ca5d008.jpg
Nothing happens when I click resume.

Looking at other threads it seemed it would be permissions so I gave
everyone write/modify on the VisualStudio/10.0/1033 folders but this
didn't fix it.

I ran the resharper logs and got this

14:17:49.446: Thread:1:
> EXCEPTION: Unable to generate a temporary class (result=1). error
> CS2001: Source file 'C:\WINDOWS\Temp\lomyrx4h.0.cs' could not be found
> error CS2008: No inputs specified
>
> Unable to generate a temporary class (result=1). error CS2001: Source
> file 'C:\WINDOWS\Temp\lomyrx4h.0.cs' could not be found error CS2008:
> No inputs specified
>
> --- EXCEPTION #1/2
> Message = "
> Unable to generate a temporary class (result=1).
> error CS2001: Source file 'C:\WINDOWS\Temp\lomyrx4h.0.cs' could not
> be found
> error CS2008: No inputs specified
> "
> ExceptionPath = Root.InnerException
> ClassName = System.InvalidOperationException
> HResult = COR_E_INVALIDOPERATION=80131509
> Source = System.Xml
> StackTraceString = "
> at System.Xml.Serialization.Compiler.Compile(Assembly parent, String
> ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
> at
> System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[]
> xmlMappings, Type[] types, String defaultNamespace, Evidence evidence,
> XmlSerializerCompilerParameters parameters, Assembly assembly,
> Hashtable assemblies)
> at
> System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping
> xmlMapping, Type type, String defaultNamespace)
> at System.Xml.Serialization.XmlSerializer..ctor(Type type, String
> defaultNamespace)
> at JetBrains.Build.AllAssemblies.AllAssembliesXml.Load(Stream
> stream)
> at
> JetBrains.Application.ApplicationDescriptor.<get_AllAssembliesXml>b__0
> (Stream streamXml)
> at JetBrains.Util.Special.GeneralUtil.WithDispose[T,R](T
> disposable, Func`2 F)
> at
> JetBrains.Application.ApplicationDescriptor.get_AllAssembliesXml()
> at JetBrains.Application.ShellStarter.GetInternalMode()
> at JetBrains.Application.ShellStarter.GetAssemblyConfigurations()
> at
> JetBrains.UI.Application.UIApplicationShellStarter.GetAssemblyConfigur
> ations()
> at
> JetBrains.VsIntegration.Customization.VsShellStarter.GetAssemblyConfig
> urations()
> at
> JetBrains.VsIntegration.Customization.VsShellStarter.StartShell()
> at
> JetBrains.ReSharper.VS.Customization.ReSharperApplicationDescriptor.St
> artShell(VsPackage package)
> at
> JetBrains.VsIntegration.Package.VsPackage.<Init_StartShell>b__19()
> at
> JetBrains.Application.ShellBase.<>c__DisplayClass54.<RestartShell>b__4
> c()
> at JetBrains.Threading.ReentrancyGuard.Execute(String name,
> Action action)
> "
> --- Outer ---
>
> --- EXCEPTION #2/2
> Message = "
> Unable to generate a temporary class (result=1).
> error CS2001: Source file 'C:\WINDOWS\Temp\lomyrx4h.0.cs' could not
> be found
> error CS2008: No inputs specified
> "
> ExceptionPath = Root
> ClassName = JetBrains.Util.LoggerException
> InnerException = "Exception #1 at Root.InnerException"
> HResult = COR_E_APPLICATION=80131600
> StackTraceString = "
> at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action
> action)
> at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String
> name, Action action)
> at
> JetBrains.Application.ShellBase.<>c__DisplayClass54.<RestartShell>b__4
> b()
> at
> JetBrains.Application.ShellBase.RestartShell(IApplicationDescriptor
> descriptor, Func`1 FDoStart)
> at
> JetBrains.VsIntegration.Package.VsPackage.<Init_StartShell>b__18()
> at
> JetBrains.DataFlow.ISignalEx.<>c__DisplayClass43`1.<Advise_RaisingFron
> t>b__42(PropertyChangedEventArgs`1 args)
> at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
> at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
> at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue
> new, Object cookie)
> at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object
> cookie)
> at JetBrains.DataFlow.PropertyBinding`2.CopySourceToTarget()
> at JetBrains.DataFlow.PropertyBinding`2.OnSourceValueChanged()
> at
> JetBrains.DataFlow.Signal`1.<>c__DisplayClasse.<Advise>b__d(TValue )
> at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
> at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
> at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue
> new, Object cookie)
> at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object
> cookie)
> at JetBrains.DataFlow.CompositeProperty`3.OnAnySourceChanged()
> at
> JetBrains.DataFlow.ISignalEx.<>c__DisplayClass37`1.<Advise_NoAcknowled
> gement>b__36(PropertyChangedEventArgs`1 args)
> at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
> at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
> at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue
> new, Object cookie)
> at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object
> cookie)
> at JetBrains.DataFlow.PropertyBinding`2.CopySourceToTarget()
> at JetBrains.DataFlow.PropertyBinding`2.OnSourceValueChanged()
> at
> JetBrains.DataFlow.Signal`1.<>c__DisplayClasse.<Advise>b__d(TValue )
> at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
> at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
> at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue
> new, Object cookie)
> at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object
> cookie)
> at
> JetBrains.VsIntegration.Package.VsPackage.<>c__DisplayClass14.<>c__Dis
> playClass16.<Init_SizeNonZombied>b__11()
> at
> JetBrains.VsIntegration.Package.VsPackage.<>c__DisplayClass14.<>c__Dis
> playClass16.<Init_SizeNonZombied>b__13(VSSPROPID vsspropid, Object o)
> at
> JetBrains.VsIntegration.Interop.Shim.Shell.IVsShell.ShellPropertyChang
> esSink.Microsoft.VisualStudio.Shell.Interop.IVsShellPropertyEvents.OnS
> hellPropertyChange(Int32 propid, Object var)
> "

I'm a bit stumped, any idea of where to go from here?

Thanks!

---
Original message URL:
http://devnet.jetbrains.net/message/5268139#5268139



0

Please sign in to leave a comment.