SilverLight Get user or Windows Credentials

SilverLight hosted in ASPX with WCF integration to retrieve user Credentials: First Setup IIS  correctly: 1:Create a new AppPool in IIS  and give it an identity with suitable privileges –  Ill call it “NewAppPool” 2: In IIS add a new application “Example” 3. Edit the Basic Settings so your new app uses the “NewAppPool” 4….


Silverlight cant communicate with WCF in certain config situations - solution

Sample Error piece: Check InnerException for exception details.   at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary() This problem manifests for me in the following situation. Silverlight App hosted in a ASPX site The Silverlight app is a data-consumer and requires data via a WCF service also hosted in the ASPX Page Everything works fantastic when you run it via F5 in…


WCF library in Windows service common error

Service ‘<ServiceName>’ has zero application (non-infrastructure) endpoints. This might be because no configuration file was found for your application, or because no service element matching the service name could be found in the configuration file, or because no endpoints were defined in the service element.   at System.ServiceModel.Description.DispatcherBuilder.EnsureThereAreNonMexEndpoints(ServiceDescription description)   at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)   at System.ServiceModel.ServiceHostBase.InitializeRuntime()  …


WCF - Debugging not enabled on server

Have you a WCF service and you are trying to Debug it? Are you unable to step into the code from you test application… And is this the first time running your WCF service on your server or local dev machine? Well if you have set the web config file correctly – <compilation debug=”true’/> AND…


WCF - Getting your web Service to work on XP & VS2005 & VS2008

If you are having trouble getting your WCF service running on winxp and eveything seems like it “should” work but doesnt!! It seems like the service is just not getting recognized. Try these tips and see if they help. Im assuming ASP.NET version 2 installed and configured aswell as .NET3.0 & 3.5 and VS2005 as…