Server Error in '/' Application.

Could not find file 'D:\InetPub\vhosts\almakass-11641.package\kspso.almakassed.edu.lb\wwwroot\templates\xigla.config'.

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.IO.FileNotFoundException: Could not find file 'D:\InetPub\vhosts\almakass-11641.package\kspso.almakassed.edu.lb\wwwroot\templates\xigla.config'.

Source Error:


Line 9:  Public articlesfolder As String = ConfigurationManager.AppSettings("xlaANMarticlesfolder")
Line 10: 
Line 11: 	Public appsettings As AppConfigurationData = AppConfiguration.Settings
Line 12: 	public newnow as string=dateoffset(now)
Line 13: 	Public todaydate As String = Year(newnow) & "/" & Right("0" & Month(newnow), 2) & "/" & Right("0" & Day(newnow), 2)

Source File: D:\InetPub\vhosts\almakass-11641.package\kspso.almakassed.edu.lb\wwwroot\anmviewer.ascx    Line: 11

Stack Trace:


[FileNotFoundException: Could not find file 'D:\InetPub\vhosts\almakass-11641.package\kspso.almakassed.edu.lb\wwwroot\templates\xigla.config'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +371
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +1118
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +144
   System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) +177
   System.IO.StreamReader..ctor(String path) +53
   System.IO.File.OpenText(String path) +43
   XIGLA.AbsoluteNewsManager.AppConfiguration.LoadSettings(String filename) +11
   XIGLA.AbsoluteNewsManager.AppConfiguration.get_Settings() +448
   ASP.ANMviewercontrol..ctor() in D:\InetPub\vhosts\almakass-11641.package\kspso.almakassed.edu.lb\wwwroot\anmviewer.ascx:11
   ASP.templates_showarticle_aspx.__BuildControlanm() in D:\InetPub\vhosts\almakass-11641.package\kspso.almakassed.edu.lb\wwwroot\templates\showarticle.aspx:17
   ASP.templates_showarticle_aspx.__BuildControlHead1() in D:\InetPub\vhosts\almakass-11641.package\kspso.almakassed.edu.lb\wwwroot\templates\showarticle.aspx:12
   ASP.templates_showarticle_aspx.__BuildControlTree(templates_showarticle_aspx __ctrl) in D:\InetPub\vhosts\almakass-11641.package\kspso.almakassed.edu.lb\wwwroot\templates\showarticle.aspx:1
   ASP.templates_showarticle_aspx.FrameworkInitialize() in D:\InetPub\vhosts\almakass-11641.package\kspso.almakassed.edu.lb\wwwroot\templates\ShowArticle.aspx.vb:912308
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +52
   System.Web.UI.Page.ProcessRequest() +75
   System.Web.UI.Page.ProcessRequest(HttpContext context) +105
   ASP.templates_showarticle_aspx.ProcessRequest(HttpContext context) +46
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +872
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +94


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