Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator
Creator

While running the job in QMC it throwing error Cannot open file.

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 (qvd);


Thanks and Regards,

  1. Vinod.
10 Replies
Highlighted
Partner
Partner

Hi,

did you try with an Excel filename without blanks/spaces?

S.

Highlighted
Contributor II
Contributor II

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\'.

Highlighted
MVP & Luminary
MVP & Luminary

Make sure that the user with which the qmc runs has access rights to these files.

- Marcus

Highlighted
Creator
Creator

I am the admin and i have access to all the files.

Highlighted
MVP & Luminary
MVP & Luminary

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

Highlighted

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.

Highlighted
Creator
Creator

yes i tried it but it is not working.

Highlighted
Creator
Creator

If it is security problem how multiple files are loading. and can you please confirm how to check the security of the shared folder

Highlighted
Creator
Creator

Can you please advise how to test that Please.....