After having spent months developing a browser app using
VB.NET and SQL Server that will happily use FSO for all sorts of disc accesses for me, I have now let it loose on some test users, and frequently, (but not always!) they will get the 0x800A004C - CTL_E_PATHNOTFOUND error.
I have a mapped drive to the app server, they do not as it wouldnot be sensible to provide them with this sort of access.
We are all mystified.
Plainly permissions are set sufficiently well so that both I and the test users can access directoriea dn files on hard discs over three servers.
One instance of the error, reported through Try/Catch:
System.IO.DirectoryNotFoundException: Exception from HRESULT: 0x800A004C (CTL_E_PATHNOTFOUND). at Scripting.FileSystemObjectClass.GetFolder(String FolderPath) at DDA.FSOClass.GetSubfolders(String FolderName) in \\nas-dda-01\wwwroot$\DDA\FSOClass.
vb:line 625 at DDA.Workflow1.ddlInboxStatus_SelectedIndexChanged( Object sender, EventArgs e) in \\nas-dda-01\wwwroot$\DDA\Workflow1.aspx.
vb:line 645
The code seems to work fine about 80% of the time. Any ideas?