Server Error in '/' Application.

No web service found at: /SmartphoneService.asmx. This error can occur if a ServiceReference to a WCF service has InlineScript set to 'true'. For WCF services InlineScript should be 'false'.

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: No web service found at: /SmartphoneService.asmx. This error can occur if a ServiceReference to a WCF service has InlineScript set to 'true'. For WCF services InlineScript should be 'false'.

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: No web service found at: /SmartphoneService.asmx. This error can occur if a ServiceReference to a WCF service has InlineScript set to 'true'. For WCF services InlineScript should be 'false'.]
   System.Web.Script.Services.WebServiceData.GetWebServiceData(HttpContext context, String virtualPath, Boolean failIfNoData, Boolean pageMethods, Boolean inlineScript) +627933
   System.Web.Script.Services.WebServiceClientProxyGenerator.GetInlineClientProxyScript(String path, HttpContext context, Boolean debug) +23
   System.Web.UI.ServiceReference.GetProxyScript(ScriptManager scriptManager, Control containingControl) +237
   System.Web.UI.ServiceReference.Register(Control containingControl, ScriptManager scriptManager) +56
   System.Web.UI.ScriptManager.RegisterServices() +86
   System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e) +136
   System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +9854102
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1098


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