Ask a Question

aqFileSystem.GetFolderInfo Unable to open the folder

cmweekes
New Contributor

aqFileSystem.GetFolderInfo Unable to open the folder

I'm trying to use GetFolderInfo with a network path .

This path works without a problem :  "\\\\officedata\\OfficeData\\OPC\\AppServer\\Apps\\TestAutomation\\ExportedResults\\"

however this path fails with an Unable to open the folder error 

                                                                 "\\\\officedata\\itdata\\Digital_Guardian\\Test Data\\nDLP-Testdata\\Regression_Test\\"

 

 

If I enter file:///\\\\officedata\\itdata\\Digital_Guardian\\Test Data\\nDLP-Testdata\\Regression_Test\\ into a browser see the files so I know the path is good and I have access. 

3 REPLIES 3
Marsha_R
Community Hero

I wonder if this space is causing the problem

 

Marsha_R_0-1628643318340.png

 


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

That was my thought as well but I could not find any information on if spaces caused a problem in network paths. I would really help if TC put out a better error message as to what the problem is.

Marsha_R
Community Hero

I had a look around in Google and since you have the double quotes, evidently the space isn't the issue.

 

I'm sure TC is just returning the message that goes with the Windows error code, so blame Windows for the poor explanation.  😉

 

Can you get to \\\\officedata\\itdata\\Digital_Guardian

without an error?

 

 


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
cancel
Showing results for 
Search instead for 
Did you mean: