473,394 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Help on System.IO.DirectoryNotFoundException

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\Tempor ary ASP.NET
Files\root\cc10de08\489ca468'. Access denied.]

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

many thks in advance,
andy
Nov 19 '05 #1
5 2858
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\Tempora ry ASP.NET Files

See Table 1 "Requiored NTFS Permissions" on this page for complete list of
required permissions:
http://msdn.microsoft.com/webservice...SecNetHT01.asp

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
"Andy Lim" <ad***@infoteknika.com> wrote in message
news:uK**************@TK2MSFTNGP15.phx.gbl...
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\Tempor ary ASP.NET
Files\root\cc10de08\489ca468'. Access denied.]

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

many thks in advance,
andy

Nov 19 '05 #2
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" <jo****@aspalliance.com> wrote in message
news:ui*************@TK2MSFTNGP15.phx.gbl...
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\Tempora ry ASP.NET Files

See Table 1 "Requiored NTFS Permissions" on this page for complete list of
required permissions:
http://msdn.microsoft.com/webservice...SecNetHT01.asp
--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
"Andy Lim" <ad***@infoteknika.com> wrote in message
news:uK**************@TK2MSFTNGP15.phx.gbl...
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\Tempor ary ASP.NET
Files\root\cc10de08\489ca468'. Access denied.]

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

many thks in advance,
andy


Nov 19 '05 #3
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" <ad***@infoteknika.com> wrote in message
news:e2**************@tk2msftngp13.phx.gbl...
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" <jo****@aspalliance.com> wrote in message
news:ui*************@TK2MSFTNGP15.phx.gbl...
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\Tempora ry ASP.NET Files

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

http://msdn.microsoft.com/webservice...SecNetHT01.asp

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
"Andy Lim" <ad***@infoteknika.com> wrote in message
news:uK**************@TK2MSFTNGP15.phx.gbl...
> 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\Tempor ary ASP.NET
> Files\root\cc10de08\489ca468'. Access denied.]
>
> What's wrong here? and how to resolve it?
>
> many thks in advance,
> andy
>
>



Nov 19 '05 #4
thanks a lot, teemu...

i'll contact my hosting admin to do it.

regards,
andy

"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
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" <ad***@infoteknika.com> wrote in message
news:e2**************@tk2msftngp13.phx.gbl...
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" <jo****@aspalliance.com> wrote in message
news:ui*************@TK2MSFTNGP15.phx.gbl...
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\Tempora ry ASP.NET Files

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

http://msdn.microsoft.com/webservice...SecNetHT01.asp

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
"Andy Lim" <ad***@infoteknika.com> wrote in message
news:uK**************@TK2MSFTNGP15.phx.gbl...
> 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\Tempor ary ASP.NET
> Files\root\cc10de08\489ca468'. Access denied.]
>
> What's wrong here? and how to resolve it?
>
> many thks in advance,
> andy
>
>



Nov 19 '05 #5
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" wrote:
thanks a lot, teemu...

i'll contact my hosting admin to do it.

regards,
andy

"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
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" <ad***@infoteknika.com> wrote in message
news:e2**************@tk2msftngp13.phx.gbl...
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" <jo****@aspalliance.com> wrote in message
news:ui*************@TK2MSFTNGP15.phx.gbl...
> 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\Tempora ry ASP.NET Files
>
> See Table 1 "Requiored NTFS Permissions" on this page for complete list
> of
> required permissions:
>
http://msdn.microsoft.com/webservice...SecNetHT01.asp>
> --
> Teemu Keiski
> ASP.NET MVP, AspInsider
> Finland, EU
>
>
> "Andy Lim" <ad***@infoteknika.com> wrote in message
> news:uK**************@TK2MSFTNGP15.phx.gbl...
> > 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\Tempor ary ASP.NET
> > Files\root\cc10de08\489ca468'. Access denied.]
> >
> > What's wrong here? and how to resolve it?
> >
> > many thks in advance,
> > andy
> >
> >
>
>



Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Matthias Ludwig | last post by:
I'm trying to create a directory on the web server with a vb.net code: .... Dim dirName As String = "w:\filepath\images" If Not Directory.Exists(dirName) Then...
4
by: Frederico Caldeira Knabben | last post by:
Hello, I'm having a problem when trying to use the Directory.CreateDirectory() method. It throws a DirectoryNotFoundException exception. I'll try to illustrate it: Suppose you have the...
5
by: יוני גולדברג | last post by:
Hi, While trying to create new directory i recieve the following error message: "System.IO.DirectoryNotFoundException: Could not find a part of the path "\\premfs16\sites". The path exists, even...
4
by: Jacques Wentworth | last post by:
I'm trying to access a Folder on a different Server using ASP.NET, and are getting a DirectoryNotFoundException. It works fine when I access the local drives on the server. I made sure the folder...
3
by: Joe | last post by:
Hi, I have written a webpage that allows a user to delete files in asp.net with I am having a small problem. To access this page a user has to login via login.aspx page. After successful...
0
by: Larry Viezel | last post by:
I posted this problem on another forum previously, any help here would be appreciated: Two developers here are working on the same code in slightly different environments. Jason programmed code...
1
by: keith | last post by:
Running on localhost, the code, 'DirectoryInfo d = new DirectoryInfo(System.Web.HttpContext.Current.Server.MapPath("~/Upload"));' sets d to the value "c:\happyzoomer\upload" When the...
0
by: cw808 | last post by:
Hi all. I'm new here but hoping I can get some help for my problem. My situation is that I need to upload files through a C# .NET web application to a file server. I done a search and followed...
1
by: Berryl Hesh | last post by:
I don't know where the "%" sysmbols are coming from, but without them this is a valid directory. I've pasted both the exception and code that triggeered it below. The purpose of this code block is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.