I'm fairly new to this Web Service game so please feel free to suggest
something different if it looks like i'm completely off track!
I'm trying to write an application that runs on a Pocket PC that is
accessing data stored in a SQL server database on a seperate server
(not on the pocket pc). This wil be deployed to lots of customers sites
so I can't hard-code the location of the database in the program.
I wrote a seperate little app to enter and store the connection string
details in the registry so that they can be retrieved by the Web
Service to open the database and send the appropriate data to the
Pocket PC.
All works fine with accessing the registry if I run it from a test
windows app but as soon as I try to do the same from the Web Service I
get 'cannot access the registry' errors. Presumably this is down to
security issues?
Can I get round this with compromising the whole system security?
Should I really be storing the connection details in a config file
somewhere and if so, how would both apps (the one to set the details
and the WS to retireve them) know where this file was (without putting
it somewhere obvious like C:\)
Many thanks
Mark