Re: [xev2] error en REST

Hola Javier, 

verifica que esté todo bien instalado corriendo de nuevo el ServiceModelReg como dice  http://wiki.gxtechnical.com/commwiki/servlet/hwiki?GeneXus+X+Evolution+2+.NET+Generator, 

verifica luego que en el web.config estén referenciados los servicios rest que no te funcionan (referencias a rest a ttalleres), y que en el bin estén las dlls correspondientes (la ttalleres_bc.dll).
estás con RC o incluso algo más nuevo, no?
Saludos, Armin

On Sun, Jan 15, 2012 at 7:30 PM, Javier Conde <jconde21@gmail.com> wrote:

Tengo el siguiente problema, luego de solucionar el tema anterior que era que tenía el nombre con "2.0" parece que ese punto estaba molestando, luego de esto no me dio mas problemas.

Pero ahora tengo problemas con el servicio rest

 

Cuando se ejecuta en android no veo nada dentro del kb nav, solo tres aplicaciones de Gx (genexus event, mobile crm, beneficios) pero no mi aplicación.

 

La aplicación mia no aparece, cuando le doy F5 a veces si tengo el emulador abierto lo quiere ejecutar pero queda en LOADING…. Eternamente, fijándome en el foro veo que puede ser un tema del servicio REST, que pruebo yendo a un BC http://localhost/LogicsatWeb2WebVersion/rest/ttalleres pero me da un error como sigue.

 

Alguna ayuda?

Gracias!

Server Error in '/LogicsatWeb2WebVersion' Application.


The type 'GeneXus.Programs.ttalleres_bc_services,ttalleres_bc', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.InvalidOperationException: The type 'GeneXus.Programs.ttalleres_bc_services,ttalleres_bc', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace: 

 

[InvalidOperationException: The type 'GeneXus.Programs.ttalleres_bc_services,ttalleres_bc', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.]

   System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) +113266

   System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +1413

   System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +50

   System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +1172

 

[ServiceActivationException: The service '/LogicsatWeb2WebVersion/ttalleres_bc.svc' cannot be activated due to an exception during compilation.  The exception message is: The type 'GeneXus.Programs.ttalleres_bc_services,ttalleres_bc', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found..]

   System.Runtime.AsyncResult.End(IAsyncResult result) +901424

   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +178702

   System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +136

 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.237

 

 


--
Has recibido este mensaje porque estás suscrito al grupo "GeneXus" de Grupos de Google.
Para publicar una entrada en este grupo, envía un correo electrónico a genexus@googlegroups.com.
Para anular tu suscripción a este grupo, envía un correo electrónico a genexus+unsubscribe@googlegroups.com
Para tener acceso a más opciones, visita el grupo en http://groups.google.com/group/genexus?hl=es.

0 Response to "Re: [xev2] error en REST"

Publicar un comentario