TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Murali krishna Ande
NA
57
51.8k
read/write registry in windows server 2008 using web service
Dec 9 2010 1:59 AM
Hi,
I create web service for Reading and writing the registry. It works fine in win-xp. But its not working when I published it in win-2008 server. It shows me http 500 error.
My Code is:
set Reg:
string key = @"SOFTWARE\Wow6432Node\MyCompany\MyProject\Settings";
string valuename = "Allow";
setRegistryValue(key, valuename, Value);
Get Reg:
string key = @"SOFTWARE\Wow6432Node\MyCompany\MyProject\Settings";
string valuename = "Allow";
return Convert.ToInt32(getRegistryValue(key, valuename));
Can any body please help me whats going on with win-2008 server
Thanks,
Murali krishna.
Reply
Answers (
2
)
Convert WSDL file to asmx service WebMethod
Delete/insert/update SQL DB using c#/subsoinic