Help on System.IO.DirectoryNotFoundException

  • Thread starter Thread starter Andy Lim
  • Start date Start date
A

Andy Lim

Hello all,

I just moved one of my ASP.NET application to a new hosting. But the same
application that used to work perfectly before now returns this error:

System.IO.DirectoryNotFoundException

[HttpException (0x80004005): Failed to create temporary files directory
'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\root\cc10de08\489ca468'. Access denied.]

What's wrong here? and how to resolve it?

many thks in advance,
andy
 
thanks for the reply, teemu,

do you means that my hosting administrator should set the mentioned folder
permissions to 'full control'?
i mean, this is something that my hosting admin should do, right?

regards,
andy

Teemu Keiski said:
ASPNET (or NETWORK SERVICES if on IIS 6) user should have Full Control
permissions to folder mentioned in the error message:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files

See Table 1 "Requiored NTFS Permissions" on this page for complete list of
required permissions:
http://msdn.microsoft.com/webservic...l=/library/en-us/dnnetsec/html/SecNetHT01.asp

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU


Andy Lim said:
Hello all,

I just moved one of my ASP.NET application to a new hosting. But the same
application that used to work perfectly before now returns this error:

System.IO.DirectoryNotFoundException

[HttpException (0x80004005): Failed to create temporary files directory
'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\root\cc10de08\489ca468'. Access denied.]

What's wrong here? and how to resolve it?

many thks in advance,
andy
 
Yes,

that's what it should be on the server (see the link I gave). Might be
though that hoster disagrees butit makes running ASP.NET rather difficult.
:-(

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU


Andy Lim said:
thanks for the reply, teemu,

do you means that my hosting administrator should set the mentioned folder
permissions to 'full control'?
i mean, this is something that my hosting admin should do, right?

regards,
andy

Teemu Keiski said:
ASPNET (or NETWORK SERVICES if on IIS 6) user should have Full Control
permissions to folder mentioned in the error message:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files

See Table 1 "Requiored NTFS Permissions" on this page for complete list
of
required permissions:
http://msdn.microsoft.com/webservic...l=/library/en-us/dnnetsec/html/SecNetHT01.asp

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU


Andy Lim said:
Hello all,

I just moved one of my ASP.NET application to a new hosting. But the same
application that used to work perfectly before now returns this error:

System.IO.DirectoryNotFoundException

[HttpException (0x80004005): Failed to create temporary files directory
'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\root\cc10de08\489ca468'. Access denied.]

What's wrong here? and how to resolve it?

many thks in advance,
andy
 
thanks a lot, teemu...

i'll contact my hosting admin to do it.

regards,
andy

Teemu Keiski said:
Yes,

that's what it should be on the server (see the link I gave). Might be
though that hoster disagrees butit makes running ASP.NET rather difficult.
:-(

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU


Andy Lim said:
thanks for the reply, teemu,

do you means that my hosting administrator should set the mentioned folder
permissions to 'full control'?
i mean, this is something that my hosting admin should do, right?

regards,
andy

Teemu Keiski said:
ASPNET (or NETWORK SERVICES if on IIS 6) user should have Full Control
permissions to folder mentioned in the error message:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files

See Table 1 "Requiored NTFS Permissions" on this page for complete list
of
required permissions:
http://msdn.microsoft.com/webservic...l=/library/en-us/dnnetsec/html/SecNetHT01.asp
--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU


Hello all,

I just moved one of my ASP.NET application to a new hosting. But the same
application that used to work perfectly before now returns this error:

System.IO.DirectoryNotFoundException

[HttpException (0x80004005): Failed to create temporary files directory
'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\root\cc10de08\489ca468'. Access denied.]

What's wrong here? and how to resolve it?

many thks in advance,
andy
 
HI Andy or any other watching

Did this solve the problem. I have the same problem but can't seem to solve
it. Can it be anything else than the rights that are causing the trouble ?
My hosting admin tells me nothing is wrong on their part.

plz help me

Johan

Andy Lim said:
thanks a lot, teemu...

i'll contact my hosting admin to do it.

regards,
andy

Teemu Keiski said:
Yes,

that's what it should be on the server (see the link I gave). Might be
though that hoster disagrees butit makes running ASP.NET rather difficult.
:-(

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU


Andy Lim said:
thanks for the reply, teemu,

do you means that my hosting administrator should set the mentioned folder
permissions to 'full control'?
i mean, this is something that my hosting admin should do, right?

regards,
andy

ASPNET (or NETWORK SERVICES if on IIS 6) user should have Full Control
permissions to folder mentioned in the error message:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files

See Table 1 "Requiored NTFS Permissions" on this page for complete list
of
required permissions:

http://msdn.microsoft.com/webservic...l=/library/en-us/dnnetsec/html/SecNetHT01.asp

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU


Hello all,

I just moved one of my ASP.NET application to a new hosting. But the
same
application that used to work perfectly before now returns this error:

System.IO.DirectoryNotFoundException

[HttpException (0x80004005): Failed to create temporary files directory
'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\root\cc10de08\489ca468'. Access denied.]

What's wrong here? and how to resolve it?

many thks in advance,
andy
 
Back
Top