Raja

Raja

  • 547
  • 2k
  • 345.6k

'System.Web.HttpException' occurred in System.Web.dll ?

Jun 8 2017 7:29 AM

i add the below code for some datatable connection in global.asax page.
void Application_Start(object sender, EventArgs e)
{
string destinationConfigName = "development";
IDestinationConfiguration destinationConfig = null;
bool destinationIsInitalized = false;
if (!destinationIsInitalized)
{
destinationConfig = new SAPDestinationConfig();
destinationConfig.GetParameters(destinationConfigName);
RfcDestinationManager.RegisterDestinationConfiguration(destinationConfig);
destinationIsInitalized = true;
}
}
 
 
but i add the above code below error is occured. i search in online but no solutions is fix this issue.
 
 
Error:
An exception of type 'System.Web.HttpException' occurred in System.Web.dll but was not handled in user code

Additional information: Request is not available in this context
 
 

Answers (2)