S
Shalini
Hi
I just have a third party dll which does some custom functionality.
The Dll have some apis which run only when the user is an administrator.
I made a simple windows GUI application which makes use of the dll. Good it
works fine when i am logged in as the Administrator.
I made a Webservice which uses PInvoke thereby making use of the DLL.
The DLL reported Error as the WebService is not running in the Administrator
Authorization mode.
SOo i went into Machine.config and changed the process model attributes to
username :administrator password:MyPassword
and it works VERY FINE.. No problems at all.
But i dont want to have the machine.config approach as it makes each and
every webservice running on the system as an administrator mode.
How can i have customized thing which works as an administrator mode only
for that webservice and not for others.
Is there any way????
Expecting ur replies.
Regards
Shal
I just have a third party dll which does some custom functionality.
The Dll have some apis which run only when the user is an administrator.
I made a simple windows GUI application which makes use of the dll. Good it
works fine when i am logged in as the Administrator.
I made a Webservice which uses PInvoke thereby making use of the DLL.
The DLL reported Error as the WebService is not running in the Administrator
Authorization mode.
SOo i went into Machine.config and changed the process model attributes to
username :administrator password:MyPassword
and it works VERY FINE.. No problems at all.
But i dont want to have the machine.config approach as it makes each and
every webservice running on the system as an administrator mode.
How can i have customized thing which works as an administrator mode only
for that webservice and not for others.
Is there any way????
Expecting ur replies.
Regards
Shal