Why when running my .aspx page with Silverlight control is it prompting me for server credentials when making WCF call?
i have silverlight 2 control in .aspx page makes wcf call data control. call made upon loading control. when run application, web page posts login box stating wcf call needs credentials server service installed authenticate. iis site hosts wcf service has anonymous access turned on, , have implemented no security in wcf service.
what going on here?
thanks!
i think figured out; client endpoint configuration issue , not iis issue. seemed "servicereferences.clientconfig" file being created / auto generated in client project consuming service, using server's dns name rather ip of service. causing credentials prompt.
endpoint address="http://myservername/mywcfservice.svc"
changed to... endpoint address="http://100.100.1.100/mywcfservice.svc"
once mapped wcf service ip dns, was able change endpoint in client configuration follows:
endpoint address="http://mydnsservicename/mywcfservice.svc"
...and worked properly, , there no more requests credentials either upon consuming service or running .aspx page contained silverlight control.
Silverlight > Programming Silverlight with .NET – General
Comments
Post a Comment