Cory
Cory

Reputation:

Win7 registry problem

I have an application that access registry for finding the path where is installed Expression Web in order to open some .html files with Expression Web.

In Windows XP works ok. In Win7 not. What should I do in this case?

I'm using C# for accessing registry keys.

Upvotes: 1

Views: 627

Answers (2)

Yogesh
Yogesh

Reputation: 14608

You need administrative privileges to access Local Machine (HKLM) in 7 (and vista). Look here, the answer to this question might help you: Requested registry access is not allowed

Upvotes: 0

Drew Hoskins
Drew Hoskins

Reputation: 4186

Win7 vs XP is probably a red herring. Start by finding the key in regedit and making sure that you can invoke Expression Web from the commandline using the value of the registry keys.
Attempt at psychic debugging: if your Win7 OS is 64-bit and XP isn't, you may have forgotten the 32-bit designator after Program files.

If those things don't work, we'll probably need more information.

Upvotes: 1

Related Questions