Contue on error directory get files

I have a directory get files assignment which is

Directory.GetFiles(in_Config(“AttachmentsFolderPath”).ToString)

but it gives me objec reference not set to an instance of object . any idea/ thanks.

Do you have any files in this folder path???

Hi @AhmedKutraphali
also please check whether the in_Config(“AttachmentsFolderPath”).ToString is null or not ?
Regards,
Nived N

1 Like

Are you running the whole project or a file only?

Try to run the whole project.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.