Empty DEVPATH environment setting causes exceptions...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Quite a few .NET 2.0 Framework utilities, DEVENV 2005 is having problems
opening some solutions, and some 3rd party applications are failing if you
set the following in machine.config and did not set the DEVPATH environment
variable:

<runtime>
<developmentMode developerInstallation="true"/>
</runtime>

For example, when I run SECUTIL.EXE, I get the following:

Unhandled Exception: System.Runtime.InteropServices.COMException
(0x80040153): I
nvalid value for registry (Exception from HRESULT: 0x80040153
(REGDB_E_INVALIDVA
LUE))
at System.Runtime.InteropServices.RuntimeEnvironment.GetDeveloperPath()
at System.AppDomain.SetupFusionStore(AppDomainSetup info)
at System.AppDomain.SetupDomain(Boolean allowRedirects, String path,
String c
onfigFile)

Hope you can fix it.

Prasad
 
Back
Top