Change the Temporary ASP.NET Files Location?

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: Change the Temporary ASP.NET Files Location?

    Yes, change the tempDirectory attribute of compilation tag in
    web.config.
    for more info :
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenre[/url]
    f/html/gngrfcompilationsection.asp

    Natty Gur, CTO
    Dao2Com Ltd.
    28th Baruch Hirsch st. Bnei-Brak
    Israel , 51114

    Phone Numbers:
    Office: +972-(0)3-5786668
    Fax: +972-(0)3-5703475
    Mobile: +972-(0)58-888377

    Know the overall picture


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

  2. Similar Questions and Discussions

    1. GetTimeZoneInfo and a temporary change
      hello punters, Can anyone tell me what GetTimeZoneInfo uses to calculate the timezone, is it from JRun, Java or the Operating System? In...
    2. Location of Temporary Flash Files
      Hi; it depends on your OS; in Win2000-XP go to C:\Documents and Settings\Administrateur\Local Settings\Temporary Internet Files (Local settings...
    3. Help! - ASP.NET cannot 'Temporary ASP NET Files'
      Guys, Sorry if this has been covered and for the cross post(ish). I have tried suggestion I have come across (i.e. Adding myself to the...
    4. Where is Temporary Files for ASP.NET?
      I want to detect through code where the ASP.NET temporary files location is, or where the System TEMP directory is, so I can write temporary...
    5. Can you change the default location for saving files
      I need to change the default location for saving files, so that users can save files to there homedrive, we are using Nt4 Sp6a. Users should not have...
  3. #2

    Default Re: Change the Temporary ASP.NET Files Location?

    Can it be changed globally or is it app specific?
    I tried to change the tempDirectory attribute in the global default
    machine.config file
    (%SystemRoot%\Microsoft.NET\Framework\v1.1.4322\CO NFIG\machine.config). I
    gave the new directory the correct permissions, renamed the original
    Temporary ASP.NET Files folder (to spoof) and did an IISRESET. It did'nt
    work. Error said I didn't have correct perms on original directory! Looks
    like it was still looking for
    %SystemRoot%\Microsoft.NET\Framework\v1.1.4322\Tem porary ASP.NET Files! I
    tried both <newDirPath> & <newDirPath>\Temporary ASP.NET Files. Wasn't sure.


    Guest

  4. #3

    Default Re: Change the Temporary ASP.NET Files Location?

    Hello,

    The change in web.config is application specific. Please double check that
    the asp.net account does have full control permissions
    to the temporary asp.net files folder and make sure to cascade those
    permissions down. If that fails, try adding the asp.net account to the
    administrators group to see if that fixes it.(Make sure to remove it)

    If the problem is still there, please feel free to post here. Thanks.

    Best regards,
    yhhuang
    VS.NET, Visual C++
    Microsoft

    This posting is provided "AS IS" with no warranties, and confers no rights.
    Got .Net? [url]http://www.gotdotnet.com[/url]
    --------------------
    !From: <.>
    !References: <uIjPSy#PDHA.2768@tk2msftngp13.phx.gbl>
    <eHJYDSGQDHA.1748@TK2MSFTNGP11.phx.gbl>
    !Subject: Re: Change the Temporary ASP.NET Files Location?
    !Date: Wed, 2 Jul 2003 08:26:36 -0400
    !Lines: 12
    !X-Priority: 3
    !X-MSMail-Priority: Normal
    !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
    !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
    !Message-ID: <eVVqvUJQDHA.560@TK2MSFTNGP10.phx.gbl>
    !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !NNTP-Posting-Host: d150-83-130.home.cgocable.net 24.150.83.130
    !Path: cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
    !Xref: cpmsftngxa09.phx.gbl microsoft.public.dotnet.framework.aspnet:31688
    !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    !
    !Can it be changed globally or is it app specific?
    !I tried to change the tempDirectory attribute in the global default
    !machine.config file
    !(%SystemRoot%\Microsoft.NET\Framework\v1.1.4322\C ONFIG\machine.config). I
    !gave the new directory the correct permissions, renamed the original
    !Temporary ASP.NET Files folder (to spoof) and did an IISRESET. It did'nt
    !work. Error said I didn't have correct perms on original directory! Looks
    !like it was still looking for
    !%SystemRoot%\Microsoft.NET\Framework\v1.1.4322\Te mporary ASP.NET Files! I
    !tried both <newDirPath> & <newDirPath>\Temporary ASP.NET Files. Wasn't
    sure.
    !
    !
    !

    Yan-Hong Huang[MSFT] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139