Empty DEVPATH environment setting causes exceptions...

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top