New Posts New Posts RSS Feed: Windows 8
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Windows 8

 Post Reply Post Reply
Author
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Topic: Windows 8
    Posted: 21-Aug-2012 at 2:34pm
Hi mseeli,

The translated version of your exception seems to be pointing to a problem with Windows Authentication. If you haven't resolved this yet, you can try following the instruction indicated in the exception.

Hope this helps.
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 20-Aug-2012 at 3:15pm
Hi mseeli,

Please check the following:

1. Ensure that your web project is your start up project.

2. Since you are expecting to run locally with localhost, ensure that your Visual Studio Development Web Server (Cassini) is setup to be run as well.

3. The debug log will also indicate what endpoints the server is listening on.


Back to Top
mseeli View Drop Down
Newbie
Newbie
Avatar

Joined: 20-Sep-2010
Location: Switzerland
Posts: 31
Post Options Post Options   Quote mseeli Quote  Post ReplyReply Direct Link To This Post Posted: 19-Aug-2012 at 4:32am
[NotSupportedException: Die für den Host ("Ntlm, Anonymous") konfigurierten Authentifizierungsschemas lassen nicht die für die Bindung "CustomBinding" ("Negotiate") konfigurierten Authentifizierungsschemas zu. Stellen Sie sicher, dass der SecurityMode auf Transport oder TransportCredentialOnly festgelegt ist. Dieses Problem kann auch behoben werden, indem die Authentifizierungsschemas für diese Anwendung über das IIS-Verwaltungstool, über die ServiceHost.Authentication.AuthenticationSchemes-Eigenschaft, in der Anwendungskonfigurationsdatei beim <serviceAuthenticationManager>-Element, durch Aktualisieren der ClientCredentialType-Eigenschaft für die Bindung oder durch Anpassen der AuthenticationScheme-Eigenschaft für das HttpTransportBindingElement geändert werden.]
   System.ServiceModel.Channels.HttpTransportBindingElement.UpdateAuthenticationSchemes(BindingContext context) +12750289
When I enter http://localhost:9009/EntityService.svc in my browser I get:

   System.ServiceModel.Channels.HttpTransportBindingElement.BuildChannelListener(BindingContext context) +91
   System.ServiceModel.Channels.BindingContext.BuildInnerChannelListener() +63
   IdeaBlade.Core.Wcf.Extensions.GZipMessageEncodingBindingElement.BuildChannelListener(BindingContext context) +63
   System.ServiceModel.Channels.BindingContext.BuildInnerChannelListener() +63
   System.ServiceModel.Channels.Binding.BuildChannelListener(Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, BindingParameterCollection parameters) +125
   System.ServiceModel.Description.DispatcherBuilder.MaybeCreateListener(Boolean actuallyCreate, Type[] supportedChannels, Binding binding, BindingParameterCollection parameters, Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, ServiceThrottle throttle, IChannelListener& result, Boolean supportContextSession) +336
   System.ServiceModel.Description.DispatcherBuilder.BuildChannelListener(StuffPerListenUriInfo stuff, ServiceHostBase serviceHost, Uri listenUri, ListenUriMode listenUriMode, Boolean supportContextSession, IChannelListener& result) +716
   System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost) +1131
   System.ServiceModel.ServiceHostBase.InitializeRuntime() +65
   System.ServiceModel.ServiceHostBase.OnBeginOpen() +34
   System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout) +50
   System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) +310
   System.ServiceModel.Channels.CommunicationObject.Open() +36
   System.ServiceModel.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) +91
   System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +598

[ServiceActivationException: Der Dienst '/EntityService.svc' kann aufgrund einer Ausnahme während der Kompilierung nicht aktiviert werden. Die Ausnahmemeldung lautet: Die für den Host ("Ntlm, Anonymous") konfigurierten Authentifizierungsschemas lassen nicht die für die Bindung "CustomBinding" ("Negotiate") konfigurierten Authentifizierungsschemas zu. Stellen Sie sicher, dass der SecurityMode auf Transport oder TransportCredentialOnly festgelegt ist. Dieses Problem kann auch behoben werden, indem die Authentifizierungsschemas für diese Anwendung über das IIS-Verwaltungstool, über die ServiceHost.Authentication.AuthenticationSchemes-Eigenschaft, in der Anwendungskonfigurationsdatei beim <serviceAuthenticationManager>-Element, durch Aktualisieren der ClientCredentialType-Eigenschaft für die Bindung oder durch Anpassen der AuthenticationScheme-Eigenschaft für das HttpTransportBindingElement geändert werden..]
   System.Runtime.AsyncResult.End(IAsyncResult result) +495736
   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +178
   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication context, String routeServiceVirtualPath, Boolean flowContext, Boolean ensureWFService) +229
   System.ServiceModel.Activation.HttpHandler.ProcessRequest(HttpContext context) +24
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
Back to Top
mseeli View Drop Down
Newbie
Newbie
Avatar

Joined: 20-Sep-2010
Location: Switzerland
Posts: 31
Post Options Post Options   Quote mseeli Quote  Post ReplyReply Direct Link To This Post Posted: 19-Aug-2012 at 3:05am
I installed Windows 8 and VS 2012 on my machine and tried to compile my existing DevForce Silverlight application. (Silverlight 5, OOB and .Net 4.0 DevForce 6.1.8 )

The application compiles ok but when it starts I get:

Message: There is no endpoint listening on http://localhost:9009/EntityService.svc/sl that could accept calls from this ... 

Any idea how I could get it to work?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down