Error WCF RIA y registro
-
19-09-2019 - |
Pregunta
Estoy tratando de agregar un servicio WCF RIA a un sitio web existente.
Cuando me carga la página me sale un "Load Error en la operación de consulta"
fuego hasta fiddler2 y consigo
El recurso no puede ser encontrado.
<body bgcolor="white">
<span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>The resource cannot be found.</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
<br><br>
<b> Requested URL: </b>/Services/WCSynthesis-Web-WCSynthDomainService.svc/binary<br><br>
<hr width=100% size=1 color=silver>
Así que trato de conseguir el trabajo de WCF Loggging Pero los servicios está vacía y así es el C: \ Users \ markgreenway \ Desktop \ My Dropbox \ WCSynthesis \ WCSynthesis.Web \ Web_messages.svclog Archivo
Así que no puedo ver nada en el visor de seguimiento de servicio
mis System.Diagnostics
<system.diagnostics>
<sources>
<source name="System.ServiceModel.MessageLogging" switchValue="Warning, ActivityTracing">
<listeners>
<add type="System.Diagnostics.DefaultTraceListener" name="Default">
<filter type="" />
</add>
<add name="ServiceModelMessageLoggingListener">
<filter type="" />
</add>
</listeners>
</source>
<source propagateActivity="true" name="System.ServiceModel" switchValue="Warning, ActivityTracing">
<listeners>
<add type="System.Diagnostics.DefaultTraceListener" name="Default">
<filter type="" />
</add>
<add name="ServiceModelTraceListener">
<filter type="" />
</add>
</listeners>
</source>
</sources>
<sharedListeners>
<add initializeData="C:\Users\markgreenway\Desktop\My Dropbox\WCSynthesis\WCSynthesis.Web\Web_messages.svclog"
type="System.Diagnostics.XmlWriterTraceListener, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
name="ServiceModelMessageLoggingListener" traceOutputOptions="Timestamp">
<filter type="" />
</add>
<add initializeData="C:\Users\markgreenway\Desktop\My Dropbox\WCSynthesis\WCSynthesis.Web\Web_tracelog.svclog"
type="System.Diagnostics.XmlWriterTraceListener, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
name="ServiceModelTraceListener" traceOutputOptions="Timestamp">
<filter type="" />
</add>
</sharedListeners>
Solución
Lo hice agregar una referencia a
• Microsoft.RiaServices.Tools
y comenzó a trabajar (Fiddler me dio algo de información real)
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow