Wenn ich meine Anwendung ausführen, bekomme ich diesen Fehler, hat jemand eine Idee warum?Server Fehler in '/' Anwendung
The remote server returned an error: (404) Not 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.Net.WebException: The remote server returned an error: (404) Not Found. Source Error: Line 45771: public sample.Services.Acs.DCShopLite GetShopLiteByName(string name) Line 45772: { Line 45773: return base.Channel.GetShopLiteByName(name); Line 45774: } Line 45775: Source File: c:\Projects\ACS\sample.Services.Acs.Storefront\Services\services.g.cs Line: 45773 Stack Trace: [WebException: The remote server returned an error: (404) Not Found.] System.Net.HttpWebRequest.GetResponse() +5314029 System.ServiceModel.Channels.HttpChannelRequest.WaitForReply(TimeSpan timeout) +54 [EndpointNotFoundException: There was no endpoint listening at http://acslocal11.sample.com/Services/StoreService.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.] System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +7596735 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +275 sample.Services.Acs.IStoreService.GetShopLiteByName(String name) +0 sample.Services.Acs.StoreServiceClient.GetShopLiteByName(String name) in c:\Projects\ACS\sample.Services.Acs.Storefront\Services\services.g.cs:45773 ASP.global_asax.Session_Start(Object sender, EventArgs e) in c:\Projects\ACS\sample.Acs.Storefront\Global.asax:30 System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +8779824 System.Web.SessionState.SessionStateModule.CompleteAcquireState() +237 System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +504 System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +66 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155 Version Information: Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3074
Wenn ich die Fledermaus-Datei ausführen zeigt es keine Fehler, die Service bedeutet, dass ordnungsgemäß läuft – peter
Welche Bat-Datei? Wo wird das gelaufen? Können Sie den Web-Service vom Web-Server mit einem Browser sehen? Sehen Sie, ob Sie die WSDL holen können. –
Dies ist der Inhalt meiner debug.bat @ECHO OFF "C: \ Windows \ Microsoft.NET \ Framework \ v3.5 \ MSBuild.exe" "Aivea.Acs.sln"/Eigenschaft: Konfiguration = Debug/noconsolelogger /logger:FileLogger,Microsoft.Build.Engine;logfile=ACSDebugBuild.log – peter