Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 vinod22kv
		
			vinod22kv
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Team,
Just I want to one clarification regarding job in QMC job. When I am executing the QVW file manually it is executing successfully but while running in QMC it is throwing path issue. could you please help me to do this? please find the below example for reference.
QMC Log details:
Error: Cannot open file '\\FPSERVER\Company\Shared\Household\TL - Performance\Quality 1_05_06_2018 Start LIVE 1.xlsx' The system cannot find the path specified.
General Script Error
Execution Failed
Execution finished.
When I am executing same QVW file manually it is running successfully without any log error.
And when I am loading multiple excels using the below script it is working fine. When I am trying to load single excel I am getting above error. Request you to help me out Please.
Set vConcatenate = ;
 
 sub ScanFolder(Root)
 
 for each FileExtension in 'xlsx'
 
 
 for each FoundFile in filelist( Root & '\*.' & FileExtension)
 
 
 WebChat:
 LOAD [Department Name], 
 [Start Time (GMT+0)], 
 [Conversions (Agent Attributed)]
 
 FROM [$(FoundFile)]
 (ooxml, embedded labels, table is department_chats_analytics_2099);
 
 Set vConcatenate = Concatenate;
 
 next FoundFile
 
 next FileExtension
 
 for each SubDirectory in dirlist( Root & '\*' )
 
 call ScanFolder(SubDirectory)
 
 next SubDirectory
 
 end sub
 
 
 Call ScanFolder('\\FPSERVER\Company\Shared\Household\CALL CENTRE STATS\Webchat Dashboard') ;
 
 store WebChat into 
 
 
 
Thanks and Regards,
 simospa
		
			simospa
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
did you try with an Excel filename without blanks/spaces?
S.
 
					
				
		
 michelknecht
		
			michelknecht
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Does the service user for your QV-Services on the server has access to this shared folder?
When you're using the QlikView Client to execute your Script, it is executed as the user you're logged in. When you're starting the task in QMC, the service user executes the script.
Maybe you have to adjust the security of the shared folder '\\FPSERVER\Company\Shared\Household\TL - Performance\'.
 
					
				
		
 marcus_sommer
		
			marcus_sommer
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Make sure that the user with which the qmc runs has access rights to these files.
- Marcus
 vinod22kv
		
			vinod22kv
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I am the admin and i have access to all the files.
 
					
				
		
 marcus_sommer
		
			marcus_sommer
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Does your user runs also also the qmc-services? More common is that they run with a generic admin-account and not with an user-account which has admin-rights.
- Marcus
 Peter_Cammaert
		
			Peter_Cammaert
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		In addition to what Marcus already stated, make sure that the Service Account that is running the QlikView Distribution Service has access to the network share that is listed in the error message. Remember that network shares have two sets of privileges: those for the share itself, and those for the underlying directory.
Since you're an admin, you can easily test this access problem by running QV Desktop as the Service Account on your server and performing a reload as the Service Account.
 vinod22kv
		
			vinod22kv
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		yes i tried it but it is not working.
 vinod22kv
		
			vinod22kv
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		If it is security problem how multiple files are loading. and can you please confirm how to check the security of the shared folder
 vinod22kv
		
			vinod22kv
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Can you please advise how to test that Please.....
