Greetings,
I've been trying to get Rolodex to run. Seem to be having an issue similar to this post - http://forums.lhotka.net/forums/3/27687/ShowThread.aspx
When I navigate to http://localhost:2430/WcfPortal.svc I get an exception. Stack trace is below. Any ideas?
Thanks,
Mike
[InvalidOperationException: The type 'Csla.Server.Hosts.Silverlight.WcfPortal', provided as the Service attribute value in the ServiceHost directive could not be found.]
System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) +4072062
System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +11656092
System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +42
System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +479
[ServiceActivationException: The service '/WcfPortal.svc' cannot be activated due to an exception during compilation. The exception message is: The type 'Csla.Server.Hosts.Silverlight.WcfPortal', provided as the Service attribute value in the ServiceHost directive could not be found..]
System.ServiceModel.AsyncResult.End(IAsyncResult result) +11527290
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +194
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication context, Boolean flowContext) +176
System.ServiceModel.Activation.HttpModule.ProcessRequest(Object sender, EventArgs e) +278
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
I think your references to CSLA are invalid in WCF project.
Sergey Barskiy
Principal Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: Michael Hildner [mailto:cslanet@lhotka.net]
Sent: Thursday, November 06, 2008 6:49 PM
To: Sergey Barskiy
Subject: [CSLA .NET] Rolodex exception
Greetings,
I've been trying to get Rolodex to run. Seem to be having an issue similar
to this post - http://forums.lhotka.net/forums/3/27687/ShowThread.aspx
When I navigate to http://localhost:2430/WcfPortal.svc I
get an exception. Stack trace is below. Any ideas?
Thanks,
Mike
[InvalidOperationException: The type
'Csla.Server.Hosts.Silverlight.WcfPortal', provided as the Service attribute
value in the ServiceHost directive could not be found.]
System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String
constructorString, Uri[] baseAddresses) +4072062
System.ServiceModel.HostingManager.CreateService(String
normalizedVirtualPath) +11656092
System.ServiceModel.HostingManager.ActivateService(String
normalizedVirtualPath) +42
System.ServiceModel.HostingManager.EnsureServiceAvailable(String
normalizedVirtualPath) +479
[ServiceActivationException: The service '/WcfPortal.svc' cannot be activated
due to an exception during compilation. The exception message is: The
type 'Csla.Server.Hosts.Silverlight.WcfPortal', provided as the Service
attribute value in the ServiceHost directive could not be found..]
System.ServiceModel.AsyncResult.End(IAsyncResult result) +11527290
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult
result) +194
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication
context, Boolean flowContext) +176
System.ServiceModel.Activation.HttpModule.ProcessRequest(Object
sender, EventArgs e) +278
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +75
You're right. Thanks Sergey! I was referencing the light .dll and not the .net .dll in that project. Guess I wasn't sure which projects were supposed to reference which Csla.dll when I initally "fixed" the broken references.
BTW, trying to search out my problem here, I see you've put a lot of effort supporting people's troubles. Much appreciated.
Mike
My pleasure. Thanks for the kind words.
Sergey Barskiy
Principal Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: Michael Hildner
[mailto:cslanet@lhotka.net]
Sent: Thursday, November 06, 2008 7:02 PM
To: Sergey Barskiy
Subject: Re: [CSLA .NET] RE: Rolodex exception
You're right. Thanks Sergey! I was referencing the light .dll and not the
.net .dll in that project. Guess I wasn't sure which projects were supposed to
reference which Csla.dll when I initally "fixed" the broken
references.
BTW, trying to search out my problem here, I see you've put a lot of effort
supporting people's troubles. Much appreciated.
Mike
Copyright (c) Marimer LLC