Error in Writing to Registry in Windows server 2008

Error in Writing to Registry in Windows server 2008

Page 1 of 1

2 Replies - 2242 Views - Last Post: 08 April 2009 - 07:58 AM Rate Topic: -----

#1 kalyancts08  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 08-April 09

Error in Writing to Registry in Windows server 2008

Post icon  Posted 08 April 2009 - 06:35 AM

Hi,

I've a windows service and created a MSI for the same, in VS2005, where i create new entries and write them to Registry in windows 2003 on installation of this win service. This works in XP also.
When I run the same installer in Windows server 2008, the registry is not being updated with same. Its not able to write anything in Registry. I've checked the permissions issues and those are all correct.
Any help is highly appreciated.

Thanks,
Kalyan

Is This A Good Question/Topic? 0
  • +

Replies To: Error in Writing to Registry in Windows server 2008

#2 eclipsed4utoo  Icon User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1524
  • View blog
  • Posts: 5,960
  • Joined: 21-March 08

Re: Error in Writing to Registry in Windows server 2008

Posted 08 April 2009 - 07:37 AM

take the code out of the service and put it into a small windows app. then run the code and see if it's throwing an exception.
Was This Post Helpful? 0
  • +
  • -

#3 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1641
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: Error in Writing to Registry in Windows server 2008

Posted 08 April 2009 - 07:58 AM

What's the error you're getting?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1