c# - SdkUtility.LaunchSignInPage not redirecting to ebay sign in page -


.net 4.5 , mvc 5 , iis 8

sdkutility.launchsigninpage(apicontext, _sessionid); 

from application (in vs 2013) can access sign in page. problem occurs when published in iis. firstly shows error access denied.

i have searched , in iis, applicationidentity pool, gave network_service , gave network service full authentication read or read & execute...

error not show more. sign in page not appear.

**edit 1: **

using asp .net mvc 5, iis 8.0.0.9, ebaysdk

while try token via sdk call, error occurs. of course after hosting. in visual studio, works fine. think is, have set level of permission allow users use sdk or that. here full error trace.

access denied

description:

an unhandled exception occurred during execution of current web request. please review stack trace more information error , originated in code.

exception details:

system.componentmodel.win32exception: access denied

source error:

an unhandled exception generated during execution of current web request. information regarding origin , location of exception can identified using exception stack trace below.

stack trace:

[win32exception (0x80004005): access denied] system.diagnostics.process.startwithshellexecuteex(processstartinfo startinfo) +773 system.diagnostics.process.start() +123 system.diagnostics.process.start(processstartinfo startinfo) +49 system.diagnostics.process.start(string filename) +31 ebay.service.util.sdkutility.launchsigninpage(apicontext context, string sessionid) +671 vialinkerapps.app_start.ebayapi.gettoken(urlhelper url) +523 vialinkerapps.controllers.settingscontroller.accebay(ebaysetting ebaysetting) +16 lambda_method(closure , controllerbase , object[] ) +104 system.web.mvc.actionmethoddispatcher.execute(controllerbase controller, object[] parameters) +14 system.web.mvc.reflectedactiondescriptor.execute(controllercontext controllercontext, idictionary2 parameters) +156 system.web.mvc.controlleractioninvoker.invokeactionmethod(controllercontext controllercontext, actiondescriptor actiondescriptor, idictionary2 parameters) +27 system.web.mvc.async.asynccontrolleractioninvoker.b__39(iasyncresult asyncresult, actioninvocation innerinvokestate) +22 system.web.mvc.async.wrappedasyncresult2.callenddelegate(iasyncresult asyncresult) +29 system.web.mvc.async.wrappedasyncresultbase1.end() +49 system.web.mvc.async.asynccontrolleractioninvoker.endinvokeactionmethod(iasyncresult asyncresult) +32 system.web.mvc.async.asyncinvocationwithfilters.b__3d() +50 system.web.mvc.async.<>c__displayclass46.b__3f() +225 system.web.mvc.async.<>c__displayclass46.b__3f() +225 system.web.mvc.async.<>c__displayclass33.b__32(iasyncresult asyncresult) +10 system.web.mvc.async.wrappedasyncresult1.callenddelegate(iasyncresult asyncresult) +10 system.web.mvc.async.wrappedasyncresultbase1.end() +49 system.web.mvc.async.asynccontrolleractioninvoker.endinvokeactionmethodwithfilters(iasyncresult asyncresult) +34 system.web.mvc.async.<>c__displayclass2b.b__1c() +26 system.web.mvc.async.<>c__displayclass21.b__1e(iasyncresult asyncresult) +100 system.web.mvc.async.wrappedasyncresult1.callenddelegate(iasyncresult asyncresult) +10 system.web.mvc.async.wrappedasyncresultbase1.end() +49 system.web.mvc.async.asynccontrolleractioninvoker.endinvokeaction(iasyncresult asyncresult) +27 system.web.mvc.controller.b__1d(iasyncresult asyncresult, executecorestate innerstate) +13 system.web.mvc.async.wrappedasyncvoid1.callenddelegate(iasyncresult asyncresult) +36 system.web.mvc.async.wrappedasyncresultbase1.end() +54 system.web.mvc.controller.endexecutecore(iasyncresult asyncresult) +39 system.web.mvc.controller.b__15(iasyncresult asyncresult, controller controller) +12 system.web.mvc.async.wrappedasyncvoid1.callenddelegate(iasyncresult asyncresult) +28 system.web.mvc.async.wrappedasyncresultbase1.end() +54 system.web.mvc.controller.endexecute(iasyncresult asyncresult) +29 system.web.mvc.controller.system.web.mvc.async.iasynccontroller.endexecute(iasyncresult asyncresult) +10 system.web.mvc.mvchandler.b__5(iasyncresult asyncresult, processrequeststate innerstate) +21 system.web.mvc.async.wrappedasyncvoid1.callenddelegate(iasyncresult asyncresult) +36 system.web.mvc.async.wrappedasyncresultbase1.end() +54 system.web.mvc.mvchandler.endprocessrequest(iasyncresult asyncresult) +31

    system.web.mvc.mvchandler.system.web.ihttpasynchandler.endprocessrequest(iasyncresult 

result) +9 system.web.callhandlerexecutionstep.system.web.httpapplication.iexecutionstep.execute() +9651796 system.web.httpapplication.executestep(iexecutionstep step, boolean& completedsynchronously) +155

from can understand reading stack trace can see it's trying system.diagnostics.process.start. sounds pretty wierd me trying "redirect" on webserver (iis).

and should give errors literally trying start executable in iis process.

this behaviour seems more if run in desktop application, "start" default browser url.

would explain why seems working locally in visual studio.

i'd check documentation if it's suposed used iis/asp.net application.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -