How do I get WcfHostWeb running and then hit F5 to debug the Rolodex solution? I right-click on WcfHostWeb - choose View in Browser and can bring up page for WcfPortal.svc. If I hit F5 I get a dialog "Unable to attach to application WebDev.WebServer.exe the system cannot find the file specified..continue anyway - Yes/No. If I hit yes, I get a blank browser window. Isn't this a conflict since I already have WcfHostWeb running on same port?
With nothing running, If I just hit F5 I get the login page, but no login works and trace shows "The service '/WcfPortal.svc' does not exist". Obviously, this is due to not launching WcfHostWeb first?
I've set the Web project as startup and forced it to use port 2430. The login page displays, but no login works. I have rebuilt connection string from settings page in WcfHostWeb properties and test connection button works fine. I have read all the threads in forum and still stuck.
Below is traces.svclog exception with "The service '/WcfPortal.svc' does not exist".
<E2ETraceEvent xmlns="1310753http://schemas.microsoft.com/2004/06/windows/eventlog/system"><EventID>131075</EventID><Type>3</Type><SubType Name="Error">0</SubType><Level>2</Level><TimeCreated SystemTime="2008-12-03T14:07:05.5084339Z" /><Source Name="System.ServiceModel" /><Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" /><Execution ProcessName="WebDev.WebServer" ProcessID="2136" ThreadID="6" /><Channel /><Computer>TERRYLAB</Computer></System><ApplicationData><TraceData><DataItem><TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier><Description>Throwing an exception.</Description><AppDomain>db813434-1-128727868036363739</AppDomain><Exception><ExceptionType>System.ServiceModel.EndpointNotFoundException, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The service '/WcfPortal.svc' does not exist.</Message><StackTrace> at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest()
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.OnBeginRequest(Object state)
at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.WorkItem.Invoke2()
at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.WorkItem.Invoke()
at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.ProcessCallbacks()
at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.CompletionCallback(Object state)
at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.ServiceModel.Diagnostics.Utility.IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
</StackTrace><ExceptionString>System.ServiceModel.EndpointNotFoundException: The service '/WcfPortal.svc' does not exist.</ExceptionString></Exception></TraceRecord></DataItem></TraceData></ApplicationData></E2ETraceEvent>
Your WCF web project should really be the one running on port
2430.
Sergey Barskiy
Principal Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: thunt
[mailto:cslanet@lhotka.net]
Sent: Wednesday, December 03, 2008 9:33 AM
To: Sergey Barskiy
Subject: [CSLA .NET] Rolodex - The service '/WcfPortal.svc' does not
exist...
I can load IE with http://localhost:2430/WcfPortal.svc
and get valid service page displayed. I've set the Web project as startup
and forced it to use port 2430. The login page displays, but no login
works. I have rebuilt connection string from settings page in WcfHostWeb
properties and test connection button works fine.
I have read all the threads in forum and still stuck. Below
is traces.svclog exception with "The service '/WcfPortal.svc' does
not exist".
<E2ETraceEvent xmlns="1310753http://schemas.microsoft.com/2004/06/windows/eventlog/system"><EventID>131075</EventID><Type>3</Type><SubType
Name="Error">0</SubType><Level>2</Level><TimeCreated
SystemTime="2008-12-03T14:07:05.5084339Z" /><Source
Name="System.ServiceModel" /><Correlation
ActivityID="{00000000-0000-0000-0000-000000000000}"
/><Execution ProcessName="WebDev.WebServer"
ProcessID="2136" ThreadID="6" /><Channel
/><Computer>TERRYLAB</Computer></System><ApplicationData><TraceData><DataItem><TraceRecord
xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord"
Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier><Description>Throwing
an
exception.</Description><AppDomain>db813434-1-128727868036363739</AppDomain><Exception><ExceptionType>System.ServiceModel.EndpointNotFoundException,
System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
service '/WcfPortal.svc' does not
exist.</Message><StackTrace> at
System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String
normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String
relativeVirtualPath)
at
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest()
at
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()
at
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.OnBeginRequest(Object
state)
at
System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.WorkItem.Invoke2()
at
System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.WorkItem.Invoke()
at
System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.ProcessCallbacks()
at
System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.CompletionCallback(Object
state)
at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.ScheduledOverlapped.IOCallback(UInt32
errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at
System.ServiceModel.Diagnostics.Utility.IOCompletionThunk.UnhandledExceptionFrame(UInt32
error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped)
at
System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32
errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
</StackTrace><ExceptionString>System.ServiceModel.EndpointNotFoundException:
The service '/WcfPortal.svc' does not
exist.</ExceptionString></Exception></TraceRecord></DataItem></TraceData></ApplicationData></E2ETraceEvent>
Copyright (c) Marimer LLC