Server Error in '/Webapplcation' Application.

Posted by Samy33 under WCF on 4/3/2010 | Views : 7280 | Status : [Member] | Replies : 1
The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.
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.ServiceModel.FaultException: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.

Source Error:


Line 55:
Line 56: public System.Data.DataSet GetDataS(string Sql) {
Line 57: return base.Channel.GetDataS(Sql);
Line 58: }
Line 59: }


Source File: c:\inetpub\wwwroot\wcfservicelib12\wcfservicelib12\service references\getdatasetsr\reference.cs Line: 57

Stack Trace:


[FaultException: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.]
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +7594687
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +275
WCFServicelib12.GetDataSetSR.IGetDataSet.GetDataS(String Sql) +0
WCFServicelib12.GetDataSetSR.GetDataSetClient.GetDataS(String Sql) in c:\inetpub\wwwroot\wcfservicelib12\wcfservicelib12\service references\getdatasetsr\reference.cs:57
WCFServicelib12.BLL.GetDataSet.GetDataS(String Sql) in C:\Inetpub\wwwroot\WCFServicelib12\WCFServicelib12\BLL\GetDataSet.cs:18
_Default.Button1_Click(Object sender, EventArgs e) in c:\Inetpub\wwwroot\Webapplcation\Default.aspx.cs:24
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053




Responses

Posted by: Vuyiswamb on: 6/1/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
You mean before you compile this service Visual Studio did not give an Error on this lines

Line 55:

Line 56: public System.Data.DataSet GetDataS(string Sql) {
Line 57: return base.Channel.GetDataS(Sql);
Line 58: }
Line 59: }


Thank you for posting at Dotnetfunda
[Administrator]

Samy33, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response