--------------------------------------------------------------- Log Entry : 5/8/2024 11:30:43 AM - ------------------------------------------------------------- Get_Beta_Products --------------------------------------------------------------- Log Entry : 5/8/2024 11:33:58 AM - ------------------------------------------------------------- Get_Beta_Units --------------------------------------------------------------- Log Entry : 5/8/2024 11:33:58 AM - ------------------------------------------------------------- Get_Beta_Customer --------------------------------------------------------------- Log Entry : 5/8/2024 11:33:58 AM - ------------------------------------------------------------- GetProductRate --------------------------------------------------------------- Log Entry : 5/8/2024 11:33:58 AM - ------------------------------------------------------------- Log System.IO.IOException: The process cannot access the file 'C:\inetpub\wwwroot\SangAPI\Data\SangLog20240508.txt' because it is being used by another process. 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, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.FileInfo.AppendText() at SangAPI.Logs.Log.CreateLog(String logMessage) --------------------------------------------------------------- Log Entry : 5/8/2024 11:33:58 AM - ------------------------------------------------------------- Log System.IO.IOException: The process cannot access the file 'C:\inetpub\wwwroot\SangAPI\Data\SangLog20240508.txt' because it is being used by another process. 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, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.FileInfo.AppendText() at SangAPI.Logs.Log.CreateLog(String logMessage) --------------------------------------------------------------- Log Entry : 5/8/2024 3:16:02 PM - ------------------------------------------------------------- GetDocNo --------------------------------------------------------------- Log Entry : 5/8/2024 3:16:08 PM - ------------------------------------------------------------- GetRoutePlan --------------------------------------------------------------- Log Entry : 5/8/2024 3:16:15 PM - ------------------------------------------------------------- GetStockUploadDocList --------------------------------------------------------------- Log Entry : 5/8/2024 3:17:12 PM - ------------------------------------------------------------- GetStockUploadDocList --------------------------------------------------------------- Log Entry : 5/8/2024 3:18:04 PM - ------------------------------------------------------------- GetRoutePlan --------------------------------------------------------------- Log Entry : 5/8/2024 3:18:12 PM - ------------------------------------------------------------- GetDocNo --------------------------------------------------------------- Log Entry : 5/8/2024 3:18:18 PM - ------------------------------------------------------------- GetStockUploadDocList --------------------------------------------------------------- Log Entry : 5/8/2024 3:18:21 PM - ------------------------------------------------------------- GetStockUploadProductList --------------------------------------------------------------- Log Entry : 5/8/2024 3:18:31 PM - ------------------------------------------------------------- PostStockUpload --------------------------------------------------------------- Log Entry : 5/8/2024 3:18:32 PM - ------------------------------------------------------------- GetStockUploadDetails --------------------------------------------------------------- Log Entry : 5/8/2024 3:18:32 PM - ------------------------------------------------------------- GetOrders --------------------------------------------------------------- Log Entry : 5/8/2024 3:18:32 PM - ------------------------------------------------------------- GetDocNo --------------------------------------------------------------- Log Entry : 5/8/2024 3:18:32 PM - ------------------------------------------------------------- GetStockUploadDocList --------------------------------------------------------------- Log Entry : 5/8/2024 3:19:16 PM - ------------------------------------------------------------- GetBank --------------------------------------------------------------- Log Entry : 5/8/2024 3:19:16 PM - ------------------------------------------------------------- GetDecimalSettings --------------------------------------------------------------- Log Entry : 5/8/2024 3:19:22 PM - ------------------------------------------------------------- Get_Beta_Outlet --------------------------------------------------------------- Log Entry : 5/8/2024 3:19:22 PM - ------------------------------------------------------------- Get_Beta_Products --------------------------------------------------------------- Log Entry : 5/8/2024 3:19:22 PM - ------------------------------------------------------------- GetProductRate --------------------------------------------------------------- Log Entry : 5/8/2024 3:19:22 PM - ------------------------------------------------------------- Get_Beta_Location --------------------------------------------------------------- Log Entry : 5/8/2024 3:19:29 PM - ------------------------------------------------------------- Get_Beta_Units --------------------------------------------------------------- Log Entry : 5/8/2024 3:19:29 PM - ------------------------------------------------------------- Get_Beta_Customer --------------------------------------------------------------- Log Entry : 5/8/2024 3:19:29 PM - ------------------------------------------------------------- GetPrintLayoutField --------------------------------------------------------------- Log Entry : 5/8/2024 3:19:33 PM - ------------------------------------------------------------- GetDocNo --------------------------------------------------------------- Log Entry : 5/8/2024 3:19:57 PM - ------------------------------------------------------------- GetRoutePlan --------------------------------------------------------------- Log Entry : 5/8/2024 3:20:00 PM - ------------------------------------------------------------- GetStockUploadDocList --------------------------------------------------------------- Log Entry : 5/8/2024 3:20:01 PM - ------------------------------------------------------------- GetStockUploadProductList --------------------------------------------------------------- Log Entry : 5/8/2024 3:20:03 PM - ------------------------------------------------------------- GetStockUploadDocList --------------------------------------------------------------- Log Entry : 5/8/2024 3:21:46 PM - ------------------------------------------------------------- PostSalesWithBatch --------------------------------------------------------------- Log Entry : 5/8/2024 3:21:46 PM - ------------------------------------------------------------- Post_Receipt --------------------------------------------------------------- Log Entry : 5/8/2024 3:21:46 PM - ------------------------------------------------------------- LogCreate --------------------------------------------------------------- Log Entry : 5/8/2024 3:21:46 PM - ------------------------------------------------------------- java.lang.NumberFormatException: For input string: "10,000.00" --------------------------------------------------------------- Log Entry : 5/8/2024 3:22:31 PM - ------------------------------------------------------------- GetInvoiceList --------------------------------------------------------------- Log Entry : 5/8/2024 3:23:52 PM - ------------------------------------------------------------- PostOffload --------------------------------------------------------------- Log Entry : 5/8/2024 3:23:53 PM - ------------------------------------------------------------- GetStockUploadDetails --------------------------------------------------------------- Log Entry : 5/8/2024 3:23:53 PM - ------------------------------------------------------------- GetDocNo --------------------------------------------------------------- Log Entry : 5/8/2024 3:30:00 PM - ------------------------------------------------------------- GetProductRate --------------------------------------------------------------- Log Entry : 5/8/2024 3:30:00 PM - ------------------------------------------------------------- Log System.IO.IOException: The process cannot access the file 'C:\inetpub\wwwroot\SangAPI\Data\SangLog20240508.txt' because it is being used by another process. 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, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.FileInfo.AppendText() at SangAPI.Logs.Log.CreateLog(String logMessage) --------------------------------------------------------------- Log Entry : 5/8/2024 3:30:00 PM - ------------------------------------------------------------- Log System.IO.IOException: The process cannot access the file 'C:\inetpub\wwwroot\SangAPI\Data\SangLog20240508.txt' because it is being used by another process. 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, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.FileInfo.AppendText() at SangAPI.Logs.Log.CreateLog(String logMessage) --------------------------------------------------------------- Log Entry : 5/8/2024 3:30:00 PM - ------------------------------------------------------------- Log System.IO.IOException: The process cannot access the file 'C:\inetpub\wwwroot\SangAPI\Data\SangLog20240508.txt' because it is being used by another process. 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, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.FileInfo.AppendText() at SangAPI.Logs.Log.CreateLog(String logMessage) --------------------------------------------------------------- Log Entry : 5/8/2024 3:30:01 PM - ------------------------------------------------------------- Get_Beta_Customer --------------------------------------------------------------- Log Entry : 5/8/2024 3:43:29 PM - ------------------------------------------------------------- Get_Beta_Units --------------------------------------------------------------- Log Entry : 5/8/2024 3:43:31 PM - ------------------------------------------------------------- Get_Beta_Outlet --------------------------------------------------------------- Log Entry : 5/8/2024 3:43:31 PM - ------------------------------------------------------------- Get_Beta_Products --------------------------------------------------------------- Log Entry : 5/8/2024 3:43:31 PM - ------------------------------------------------------------- GetProductRate --------------------------------------------------------------- Log Entry : 5/8/2024 3:43:31 PM - ------------------------------------------------------------- Get_Beta_Location --------------------------------------------------------------- Log Entry : 5/8/2024 3:43:31 PM - ------------------------------------------------------------- Get_Beta_Customer --------------------------------------------------------------- Log Entry : 5/8/2024 3:51:47 PM - ------------------------------------------------------------- GetRoutePlan --------------------------------------------------------------- Log Entry : 5/8/2024 3:52:34 PM - ------------------------------------------------------------- PostSalesWithBatch --------------------------------------------------------------- Log Entry : 5/8/2024 3:52:35 PM - ------------------------------------------------------------- Post_Receipt --------------------------------------------------------------- Log Entry : 5/8/2024 3:52:35 PM - ------------------------------------------------------------- LogCreate --------------------------------------------------------------- Log Entry : 5/8/2024 3:52:35 PM - ------------------------------------------------------------- java.lang.NumberFormatException: For input string: "12,500.00" --------------------------------------------------------------- Log Entry : 5/8/2024 3:53:14 PM - ------------------------------------------------------------- GetRoutePlan --------------------------------------------------------------- Log Entry : 5/8/2024 3:53:59 PM - ------------------------------------------------------------- GetReturnDocNo --------------------------------------------------------------- Log Entry : 5/8/2024 3:54:00 PM - ------------------------------------------------------------- GetReturnDocNo --------------------------------------------------------------- Log Entry : 5/8/2024 3:54:05 PM - ------------------------------------------------------------- PostReturn --------------------------------------------------------------- Log Entry : 5/8/2024 3:54:44 PM - ------------------------------------------------------------- Get_Beta_Units --------------------------------------------------------------- Log Entry : 5/8/2024 3:55:34 PM - ------------------------------------------------------------- Get_Beta_Outlet --------------------------------------------------------------- Log Entry : 5/8/2024 3:55:35 PM - ------------------------------------------------------------- Get_Beta_Products --------------------------------------------------------------- Log Entry : 5/8/2024 3:55:56 PM - ------------------------------------------------------------- GetProductRate --------------------------------------------------------------- Log Entry : 5/8/2024 3:55:56 PM - ------------------------------------------------------------- Get_Beta_Location --------------------------------------------------------------- Log Entry : 5/8/2024 3:55:56 PM - ------------------------------------------------------------- Get_Beta_Customer --------------------------------------------------------------- Log Entry : 5/8/2024 4:07:12 PM - ------------------------------------------------------------- Get_Beta_Units --------------------------------------------------------------- Log Entry : 5/8/2024 4:17:12 PM - ------------------------------------------------------------- Get_Beta_Outlet --------------------------------------------------------------- Log Entry : 5/8/2024 4:27:12 PM - ------------------------------------------------------------- Get_Beta_Units --------------------------------------------------------------- Log Entry : 5/8/2024 8:07:23 PM - ------------------------------------------------------------- GetProductRate --------------------------------------------------------------- Log Entry : 5/8/2024 8:07:23 PM - ------------------------------------------------------------- Get_Beta_Units --------------------------------------------------------------- Log Entry : 5/8/2024 8:07:23 PM - ------------------------------------------------------------- Get_Beta_Outlet --------------------------------------------------------------- Log Entry : 5/8/2024 8:07:23 PM - ------------------------------------------------------------- Get_Beta_Customer --------------------------------------------------------------- Log Entry : 5/8/2024 8:07:23 PM - ------------------------------------------------------------- Get_Beta_Location --------------------------------------------------------------- Log Entry : 5/8/2024 8:07:23 PM - ------------------------------------------------------------- Log System.IO.IOException: The process cannot access the file 'C:\inetpub\wwwroot\SangAPI\Data\SangLog20240508.txt' because it is being used by another process. 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, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.FileInfo.AppendText() at SangAPI.Logs.Log.CreateLog(String logMessage) --------------------------------------------------------------- Log Entry : 5/8/2024 8:07:38 PM - ------------------------------------------------------------- VansalesController Method: Get_Beta_Outlet System.Data.SqlClient.SqlException (0x80131904): 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) ---> System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at SangAPI.Controllers.VansalesController.Get_Beta_Outlet(String sDate) ClientConnectionId:00000000-0000-0000-0000-000000000000 Error Number:2,State:0,Class:20 --------------------------------------------------------------- Log Entry : 5/8/2024 8:07:38 PM - ------------------------------------------------------------- VansalesController Method: Get_Beta_Customer System.Data.SqlClient.SqlException (0x80131904): 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) ---> System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at SangAPI.Controllers.VansalesController.Get_Beta_Customer(String sDate) ClientConnectionId:00000000-0000-0000-0000-000000000000 Error Number:2,State:0,Class:20 --------------------------------------------------------------- Log Entry : 5/8/2024 8:07:38 PM - ------------------------------------------------------------- Log System.IO.IOException: The process cannot access the file 'C:\inetpub\wwwroot\SangAPI\Data\SangLog20240508.txt' because it is being used by another process. 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, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.FileInfo.AppendText() at SangAPI.Logs.Log.CreateLog(String logMessage) --------------------------------------------------------------- Log Entry : 5/8/2024 8:07:38 PM - ------------------------------------------------------------- Log System.IO.IOException: The process cannot access the file 'C:\inetpub\wwwroot\SangAPI\Data\SangLog20240508.txt' because it is being used by another process. 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, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.FileInfo.AppendText() at SangAPI.Logs.Log.CreateLog(String logMessage) --------------------------------------------------------------- Log Entry : 5/8/2024 8:07:38 PM - ------------------------------------------------------------- VansalesController Method: GetProductRate System.Data.SqlClient.SqlException (0x80131904): 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) ---> System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at SangAPI.Controllers.VansalesController.GetProductRate() ClientConnectionId:00000000-0000-0000-0000-000000000000 Error Number:2,State:0,Class:20 --------------------------------------------------------------- Log Entry : 5/8/2024 8:07:38 PM - ------------------------------------------------------------- Log System.IO.IOException: The process cannot access the file 'C:\inetpub\wwwroot\SangAPI\Data\SangLog20240508.txt' because it is being used by another process. 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, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.FileInfo.AppendText() at SangAPI.Logs.Log.CreateLog(String logMessage)