Company: Link Technologies
Case No: L13054
Logged By: Sanjay (Link Technologies) on 15 Jul 2024 02:06PM
Priority: High
Product: Framework
Group: Support
Time Taken: 39.00
Assigned To: Sanjay (Link Technologies)
Circulation: Sanjay, Vineshwar
Resolve By: Monday, 15 July 2024 02:06 PM [55 days since logged date]
Status: Closed
Subject: TNA Timesheet File not processing menu "File Manager -> Watch"
Summary:    
1. Problem Details

TNA Timesheet File not processing menu "File Manager -> Watch"

2. Error Message (screenshot of the error)

ID: 
104101 Date: Jul 1 2024 10:48AM User: NT SERVICE\SQLSERVERAGENT Module: TimesheetImportTI001ReadFile Machine: LINKAU-AZURE Status: Error

Log Message: Cannot bulk load. The file "E:\WebSites\LinkSOFT-EdgeBusinessSolutions\App_Data\FileManager\TNA Timesheet\1005 - Investment Fiji\TI001\Processing\Access is denied." does not exist or you don't have file access rights. Script: BULK INSERT [LT_ESS_TimesheetImport_BCP_TI001_TNATI00120240701104840443_512E673C81CF4A1DABA16ACA526C9D68] FROM 'E:\WebSites\LinkSOFT-EdgeBusinessSolutions\App_Data\FileManager\TNA Timesheet\1005 - Investment Fiji\TI001\Processing\Access is denied.' WITH ( FIRSTROW=2, FIELDTERMINATOR =',', ROWTERMINATOR ='\n' )

Log Data: IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[LT_ESS_TimesheetImport_BCP_TI001_TNATI00120240701104840443_512E673C81CF4A1DABA16ACA526C9D68]') AND type in (N'U')) DROP TABLE [dbo].[LT_ESS_TimesheetImport_BCP_TI001_TNATI00120240701104840443_512E673C81CF4A1DABA16ACA526C9D68]

CFD: T1=FileName,T2=TableName,LogData=SQL
T1: E:\WebSites\LinkSOFT-EdgeBusinessSolutions\App_Data\FileManager\TNA Timesheet\1005 - Investment Fiji\TI001\Processing\Access is denied.
T2: LT_ESS_TimesheetImport_BCP_TI001_TNATI00120240701104840443_512E673C81CF4A1DABA16ACA526C9D68

3. Environment Details
  1. URL: https://www.link247.com.au/LinkSOFT-EdgeBusinessSolutions
  2. Company: 1005
  3. Version: 15.30.240604P.GA
Audit Notes:Edited by sanjay on 15/07/24 14:06. 
01 Jul 202410:55AM Comment 1 by Vineshwar (Edge Business Solutions) Assigned To: Vineshwar (Edge Business Solutions) Followup Date: 02-07-2024 10:50 PM Time Taken: 1.00 Notes: ETC extended from: 01/07/2024 to 02/07/2024
Bula Team,

We connected to the Environment and diagnosed as below;
  1. Verified all TNA setup
  2. Verified the File that was being uploaded to the folder from the menu "File Manager -> Watch"

No issues have been identified in the file however it keeps failing with messages as Cannot bulk load. The file "E:\WebSites\LinkSOFT-EdgeBusinessSolutions\App_Data\FileManager\TNA Timesheet\1005 - Investment Fiji\TI001\Processing\Access is denied."

We will get our technical team to diagnose further and advise.

Regards
Vineshwar Prasad


15 Jul 202402:00PM Comment 2 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 16-07-2024 01:58 PM Time Taken: 6.00 Notes: ETC extended from: 02/07/2024 to 16/07/2024

Hi Vineshwar, 

Apologies for the delay. The azure environment is highly secured, and security changes must be thoroughly evaluated before they are applied.

We have added more access to the Watch folder. Can you attempt this TNA "Watch" folder import in both Training and Production environments.  Thx.


15 Jul 202402:14PM Comment 3 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 16-07-2024 06:06 PM Time Taken: 32.00

The issue is occurring because of changes made on Azure environment to secure folders from "Cross Client Access".

The following changes have been implemented:

  1. Each site files have access to its own container using a user account named: "LinkSOFT-XXX" where XXX is the client abbreviation
  2. Clients cannot read (or access) other clients site files
  3. Folder permissions are managed through the user account defined on the application pool
  4. Each Client has their own "application pool" in IIS

To resolve this issue, the "Authenticated users" group was given "Execute" access to the Site Files "Root", followed by "Write/Delete" access to the "Site Specific" "File Manager". This results in each site having "delete" access to its own "Watch" folder so it can move completed files into the "Archive" folder.


If you have any queries regarding this support incident, please email admin@linktechnologies.com.au and include the Case No: L13054 in the subject line of all emails regarding this issue.

Document size: 4.1 KB
For call complaints, please contact the Managing Director of the company using this form