c# - Exchange Web API project works on one pc but not the other? -
i have .net project uses exchange webservice api listen new mails , tasks on exchange server.
i got new pc, figured copy/paste project folder new pc , continue development on project. not work.
at moment it's console application , when running on old pc works fine. if put in breakpoint in sendnotification method (of inotificationserviceporttype interface) invokes when create new mail or tasks in outlook. on new pc can compile , run test application, doesn't invoke breakpoint in sendnotification method.
i tried writing code on new pc send simple mail webservice api , works fine.
i have installed exchange webservice api on both pc's.
what else missing?
permissions , firewall primary problems for.
step 1 turn firewall off , see if changes anything.
if not, step 2 run application administrator (leaving firewall off).
you might want have gander @ windows event log , see if there messages coming application. open up, run application, , refresh event log.
another potential issue library present on previous machine not present on new machine - or present, not same version.
it autodiscovery of web service address broken server side, dev machine has address cached.
there should test-outlookwebservices tool installed ews. try out , see if reports errors.
Comments
Post a Comment