Problem in accessing registry in Office 2007 B2TR Add-In

  • Thread starter sanjay srivastava
  • Start date
S

sanjay srivastava

I am working on Add-In application made for Office 2003.Now I got the task
of making this Add-In compatible with Vista and Office 2007.We are working on
Vista RC2 5744 and Office 2007 B2TR.One strange problem we are facing is that
we are not able to access registry values. It is throwing exception as
“Requested registry access not allowedâ€. However, when we were working on
Office 2007 Beta then it was working fine. I am User on that system with
Administrative rights.

In addition to this now application is not able to access ProgramData folder
also where we have Add-In specific XML file. Is this problem specific to
application or related to Vista and Office 2007 builds? Could you please give
your inputs on this?

Warm Regards,
Sanjay Srivastava
 
P

Patrick Schmid [MVP]

I would highly suggest that you install Vista RC1 and use that to
develop your add-in. Office 2007 B2TR is geared specifically to RC1 and
things might not work correctly in any later build.
For example, any .NET add-in will fail to load with any later build than
RC1 5600.

In terms of error messages about accessing the registry: What are you
trying to access? Vista implements a very stringent limit on what
applications can do, so this might be entirely due to that. You should
research application compatibility with Vista on MSDN. There is a wealth
of information and tools available.

I would also suggest to gear your add-in to work 100% with a Standard
User that has no administrative rights.

Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Office 2007 Beta 2 Technical Refresh (B2TR):
http://pschmid.net/blog/2006/09/18/43
***
Customize Office 2007: http://pschmid.net/office2007/customize
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed
 
S

sanjay srivastava

Thanks Patrick,

Actually Add-In is accessing some values from registry keys created at the
time of installation.These keys usually have path of program data folder
where add-in keeps .XML file.

I shall look into msdn for further details. Still if you find any thing pl
let me know.

Regards,
Sanjay Srivastava

Patrick Schmid said:
I would highly suggest that you install Vista RC1 and use that to
develop your add-in. Office 2007 B2TR is geared specifically to RC1 and
things might not work correctly in any later build.
For example, any .NET add-in will fail to load with any later build than
RC1 5600.

In terms of error messages about accessing the registry: What are you
trying to access? Vista implements a very stringent limit on what
applications can do, so this might be entirely due to that. You should
research application compatibility with Vista on MSDN. There is a wealth
of information and tools available.

I would also suggest to gear your add-in to work 100% with a Standard
User that has no administrative rights.

Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Office 2007 Beta 2 Technical Refresh (B2TR):
http://pschmid.net/blog/2006/09/18/43
***
Customize Office 2007: http://pschmid.net/office2007/customize
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed

I am working on Add-In application made for Office 2003.Now I got the task
of making this Add-In compatible with Vista and Office 2007.We are working on
Vista RC2 5744 and Office 2007 B2TR.One strange problem we are facing is that
we are not able to access registry values. It is throwing exception as
"Requested registry access not allowed". However, when we were working on
Office 2007 Beta then it was working fine. I am User on that system with
Administrative rights.

In addition to this now application is not able to access ProgramData folder
also where we have Add-In specific XML file. Is this problem specific to
application or related to Vista and Office 2007 builds? Could you please give
your inputs on this?

Warm Regards,
Sanjay Srivastava
 

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