Sep 10, 2012 at 6:55 PM
Edited Sep 10, 2012 at 6:56 PM
|
Hi All,
I am trying to schedule a job from a windows phone app. The flow is :
WP7-> WCF -> scheduletask
When i run the task from the wcf test stub (calling it from a asp.net page) the job is scheduled fine how ever if i make a call to my wcf service from a WP7 project i am getting a error as below : (i am running the task as an administrator in both
cases)
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
Please advise.
Regards
BlackMask
|
|
Coordinator
Sep 10, 2012 at 11:17 PM
|
The TaskService object, by default, uses impersonation to authorize access. If the WP7 device is not providing a valid Windows session with credentials, you will need to make sure that ASP.NET is connecting to TaskService using authorized credentials. There
are some other discussions for this project around ASP.NET that may be worth looking at.
|
|
Sep 11, 2012 at 5:53 AM
Edited Sep 11, 2012 at 9:53 AM
|
Thanks
BM
|
|