Error Message: An error occured attempting to execute the command against the database.
Stack Trace:
Dea.Data.DatabaseException: An error occured attempting to execute the command against the database. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at Dea.Data.Database.a(DbCommand A_0, DataSet A_1, String[] A_2)
--- End of inner exception stack trace ---
at Dea.Data.Database.a(DbCommand A_0, DataSet A_1, String[] A_2)
at Dea.Data.Database.LoadDataSet(DbCommand command, DataSet dataSet, String[] tableNames)
at Dea.Data.Database.LoadDataSet(DbCommand command, DataSet dataSet, String tableName)
at Dea.Data.Database.ExecuteDataSet(DbCommand command)
at Dea.MasterCalendar.Events.EventsDatabase.GetEventDetailsData(Int32 eventId, Int32 eventDetailId, Boolean showApprovedUDQsOnly)
at EventDetails.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at Dea.Web.Sites.MasterCalendar.BasePage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Additional Information
ErrorCaughtBy: EventDetails.aspx
PatchNumber: 10
ClientName:
Product:
SqlStatement: dbo.MC_EventDetails_LoadData
@eventDetailId: 6587
@eventId: 2304
@userId: -1
@userTemplateId: -1
@siteAdministrator: False
@showApprovedUDQOnly: True


Error Logging Exeception:


Logging Error Message: Access to the path 'C:\inetpub\MasterCalendar\LogFiles\ErrorLog_08202014.txt' is denied.
Logging Stack Trace:
System.UnauthorizedAccessException: Access to the path 'C:\inetpub\MasterCalendar\LogFiles\ErrorLog_08202014.txt' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path, Boolean append)
at System.IO.File.CreateText(String path)
at e.a(String A_0, Boolean A_1)
at Dea.ExceptionHandling.Loggers.DefaultLogger.Log(Exception exception, NameValueCollection additionalInfo, NameValueCollection configSettings)
at Dea.ExceptionHandling.ExceptionHandler.a(Exception A_0, NameValueCollection A_1)
at Dea.ExceptionHandling.ExceptionHandler.Log(Exception exception, NameValueCollection additionalInfo)
at Dea.ExceptionHandling.ExceptionPrep.LogError(Exception caughtError, String caughtBy, String simpleErrorMessage, NameValueCollection additionalInfo)