Avatar of mobot
Flag for United States of America

asked on 

cannot create the file - make sure that the path and filename are correct.

Info: Windows Server 2008 R2; Windows XP Pro SP3; Windows 7 Pro.

We have a user (using XP Pro) who has an .asp file that controls whether an Access db is available or not by changing a line in the .asp file from true to false and vice versa. This worked for them for years on Win2003 and IIS 6.

We've upgraded to Win2008 R2 and IIS 7.5.

Here's the problem I'm trying to solve.

When he edits the file and tries to save it he gets the msg. "Cannot create the z:\folder\filename.asp file.  Make sure that the path and filename are correct."  I have the same problem and I'm a member of the domain admin group and using XP Pro also.

I've checked permissions, he has "Full permissions" to the folder where the .asp file is located.  And he can create and delete folders and files within the folder where the .asp file is located.  He can edit the file and save it with a different file name.  He is in the Power Users group, not in the Admin group.  So he can't open Notepad using the Run As cmd to escalate his privileges to Admin.

Because it's an .asp file does he need write permissions to the folder where the temporary IIS files are stored? I'm thinking that because it's a .asp file it's something permission related that I'm missing.  There's some folder that he needs write permissions to other than the one where the .asp file is located.  What else would prevent him from saving this file and throw that err msg?

Note that if he\we use a Win 7 Pro pc it's not a problem.

I've googled the err msg and searched in the technet forums and I'm not finding a solution.  I'm sure someone else has solved this problem for someone but I've not found it yet.  If you need additional info let me know.
Windows Server 2008Microsoft IIS Web ServerASP

Avatar of undefined
Last Comment

8/22/2022 - Mon