Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - Where is KB article for Access to the path C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files?

 
Thread Tools Search this Thread
Old 10-24-2005, 07:13 PM   #1
Default Where is KB article for Access to the path C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files?


I believe it is necessary to grant my FTP account access to Access to the
path "C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/root/" if I want to access DLLs or MSAccess databases in my ASP.NET
application. Is this documented in a KB article somewhere?

Since third party hosting services are reluctant to grant me such access, it
would help if I could point them to something on the official MS web site
that confirms my verbal explanations.

Thanks,
Siegfried




Siegfried Heintze
  Reply With Quote
Old 10-24-2005, 08:57 PM   #2
Bruce Barker
 
Posts: n/a
Default Re: Where is KB article for Access to the path C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files?
its not necessary. asp.net will shadow copy all dll's from your bin to the
temp. to find the accessdb, use server.mappath

-- bruce (sqlwork.com)



"Siegfried Heintze" <> wrote in message
news:%...
>I believe it is necessary to grant my FTP account access to Access to the
> path "C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/root/" if I want to access DLLs or MSAccess databases in my ASP.NET
> application. Is this documented in a KB article somewhere?
>
> Since third party hosting services are reluctant to grant me such access,
> it
> would help if I could point them to something on the official MS web site
> that confirms my verbal explanations.
>
> Thanks,
> Siegfried
>
>





Bruce Barker
  Reply With Quote
Old 10-25-2005, 02:38 AM   #3
Jason Kester
 
Posts: n/a
Default Re: Where is KB article for Access to the path C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files?
Actually, all the documentation you need is contained in the error
message. You personally never need to touch that folder. Only the
ASPNET account needs access to it, and if you're using shared hosting
you can be assured that they will set it up for you.

Jason Kester
Expat Software Consulting Services
http://www.expatsoftware.com/

---
Get your own Travel Blog, with itinerary maps and photos!
http://www.blogabond.com/



Jason Kester
  Reply With Quote
Old 10-25-2005, 04:34 AM   #4
Siegfried Heintze
 
Posts: n/a
Default Re: Where is KB article for Access to the path C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files?
Well, OK. The error message says:
"C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/root/" access denied." when I try to open an MSAccess database.

I wish I had the stack trace handy. So what do I do when I get this
error message? I know one thing that works: grant access to that
directory! It is just difficult to convince third party hosting services
to do this because they are concerned that this is a security
compromise.

But are you telling me there is a better solution?

Siegfried


*** Sent via Developersdex http://www.developersdex.com ***


Siegfried Heintze
  Reply With Quote
Old 10-25-2005, 07:26 AM   #5
Jason Kester
 
Posts: n/a
Default Re: Where is KB article for Access to the path C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files?
Exactly

If you have a shared ASP.NET hosting provider that refuses to grant the
ASPNET account the privileges it needs to function, I'd suggest you
drop them. That's what that account is for. That's basically ALL it
needs access to!

Jason Kester
Expat Software Consulting Services
http://www.expatsoftware.com/

---
Get your own Travel Blog, with itinerary maps and photos!
http://www.blogabond.com/



Jason Kester
  Reply With Quote
Old 07-17-2006, 10:05 AM   #6
Socrates Demise
Junior Member
 
Join Date: Jul 2006
Posts: 1
Default
Ok but what about this?
The problem in my case is not permissions related, I looked... ASPNET has plenty of access... the problem as far as i can tell is that the folder was never created... I look in the /root and there are other folders but not the one that it is looking for here...

I have also tried creating the folder, I get a problem with hash.web if i do.

(I even tried opeining the folder up to Everybody - Full control, to no avail...)

Any ideas on this would be most helpful.



Server Error in '/' Application.
--------------------------------------------------------------------------------

Access to the path "c:\windows\microsoft.net\framework\v1.1.4322\Temp orary ASP.NET Files\root\34a2bf68\7ff35194" is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path "c:\windows\microsoft.net\framework\v1.1.4322\Temp orary ASP.NET Files\root\34a2bf68\7ff35194" is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[UnauthorizedAccessException: Access to the path "c:\windows\microsoft.net\framework\v1.1.4322\Temp orary ASP.NET Files\root\34a2bf68\7ff35194" is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String str) +360
System.IO.Directory.InternalCreateDirectory(String fullPath, String path) +600
System.IO.Directory.CreateDirectory(String path) +180
System.Web.Compilation.PreservedAssemblyEntry.DoFi rstTimeInit(HttpContext context) +85
System.Web.Compilation.PreservedAssemblyEntry.Ensu reFirstTimeInit(HttpContext context) +97
System.Web.Compilation.PreservedAssemblyEntry.GetP reservedAssemblyEntry(HttpContext context, String virtualPath, Boolean fApplicationFile) +29
System.Web.UI.TemplateParser.GetParserCacheItemFro mPreservedCompilation() +91
System.Web.UI.TemplateParser.GetParserCacheItemInt ernal(Boolean fCreateIfNotFound) +148
System.Web.UI.TemplateParser.GetParserCacheItemWit hNewConfigPath() +125
System.Web.UI.TemplateParser.GetParserCacheItem() +88
System.Web.UI.TemplateControlParser.CompileAndGetP arserCacheItem(String virtualPath, String inputFile, HttpContext context) +120
System.Web.UI.TemplateControlParser.GetCompiledIns tance(String virtualPath, String inputFile, HttpContext context) +36
System.Web.UI.PageParser.GetCompiledPageInstanceIn ternal(String virtualPath, String inputFile, HttpContext context) +43
System.Web.UI.PageHandlerFactory.GetHandler(HttpCo ntext context, String requestType, String url, String path) +44
System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String requestType, String path, String pathTranslated, Boolean useAppConfig) +699
System.Web.MapHandlerExecutionStep.System.Web.Http Application+IExecutionStep.Execute() +95
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +173




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032


Socrates Demise
Socrates Demise is offline   Reply With Quote
Old 05-05-2007, 06:10 AM   #7
kenducharme
Junior Member
 
Join Date: May 2007
Posts: 1
Default Had the same problem
Finally I looked in IIS Manager and saw that there was no name in the Application box so I hit "Remove" then "Create" and it started working.


kenducharme
kenducharme is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Video files to PSP ivan DVD Video 4 06-17-2008 11:16 AM
How to copy *.vob files on DVD to the hard disk and merge them together zengpeiwen1719 Software 0 05-24-2008 10:33 AM
Convert Video files to MP4 for iPod ivan DVD Video 0 04-26-2006 08:38 AM
Very slow recognising DVD disc Terry Pinnell DVD Video 1 03-28-2006 06:53 PM
Now I introduce some popular software of multimedia eightsome@gmail.com DVD Video 0 03-28-2006 02:29 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

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