Getting path denied error when trying to run copied .NET 1.1 project to new server

I am having a problem getting a project started on one server transferred to another.  USS folder does not exist. Entire Solution and Project Files were copied onto server. Know I am missing something here.



Server Error in '/USS' Application.

Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\uss\7cb89631\ffe5ea77" 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\Temporary ASP.NET Files\uss\7cb89631\ffe5ea77" 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\Temporary ASP.NET Files\uss\7cb89631\ffe5ea77" is denied.]
   System.IO.__Error.WinIOError(Int32 errorCode, String str) +393
   System.IO.Directory.InternalCreateDirectory(String fullPath, String path) +632
   System.IO.Directory.CreateDirectory(String path) +195
   System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext context) +85
   System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext context) +97
   System.Web.Compilation.PreservedAssemblyEntry.GetPreservedAssemblyEntry(HttpContext context, String virtualPath, Boolean fApplicationFile) +29
   System.Web.UI.TemplateParser.GetParserCacheItemFromPreservedCompilation() +91
   System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) +148
   System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125
   System.Web.UI.TemplateParser.GetParserCacheItem() +88
   System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser) +171
   System.Web.HttpApplicationFactory.CompileApplication(HttpContext context) +43
   System.Web.HttpApplicationFactory.Init(HttpContext context) +485
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +170
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414

Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

3/22/2006 10:03:32 PM 5668 articles. 1 followers. Follow

3 Replies

Similar Articles

[PageSpeed] 12

As you can see in that message it says that the ASPNET user doesn't have the proper permissions applied to the temp folder where it is attempting to write to.
Do you know the truth when you hear it?
3/22/2006 10:35:46 PM

yes thanks, I do see that but the folder doesn't even exist when I look for it to possibly change access/permission settings therefore I am assuming there is something missing in copying the project to that server.

Thanks for your response.

3/23/2006 12:35:48 PM

That folder is created during ASP.NET installation.  Try running ASPNET_REGIIS -i to correct this.  Make sure the ASP.NET process account, normally either ASPNET or NETWORK SERVICES has Full Control of the folder (Should happen with the ASPNET_REGIIS command).


Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.
3/23/2006 1:02:43 PM

Web resources about - Getting path denied error when trying to run copied .NET 1.1 project to new server -

FedEx Sparks Outrage After Missing Thousands Of Christmas Deliveries, Workers Volunteering To Work On ...
FedEx is “doing everything possible” to resolve all of the holiday madness following their catastrophic package delivery confusion. Just hours ...

Top Syrian rebel leader killed in air strike in Damascus suburb
Reuters Top Syrian rebel leader killed in air strike in Damascus suburb Reuters BEIRUT A top Syrian rebel leader and head of the most powerful ...

Arson Is Suspected at Bill Clinton's Childhood Home
Washington Post Arson Is Suspected at Bill Clinton's Childhood Home New York Times LITTLE ROCK, Ark. — A fire that caused minor damage to ...

Newly Obtained Document Shows ISIS Reportedly Permits Organ Harvesting
A document obtained in a raid by U.S. special forces shows that ISIS is reportedly allowing the harvesting of captives’ organs. According to ...

Israeli police say they killed Palestinian attempting ramming attack
Israeli border police shot dead a Palestinian woman who tried to ram them with her car in the West Bank on Friday, the police said, as a 12-week ...

ROBERT HARDMAN tells the story behind Lewisham & Greenwich NHS Choir
As Christmas Day fairy tales go, Disney would struggle to produce one as heartwarming, even if they filled it with puppies and Dickensian street ...

Oops: UK astronaut Tim Peake calls wrong number from space
Anyone can dial a wrong number, but it's not often done from outer space.

Janet Jackson postpones 'Unbreakable' tour to get unspecified surgery
LOS ANGELES (AP) — Janet Jackson says she is postponing her Unbreakable tour to have an unspecified surgical procedure. The 49-year-old singer ...

Radiohead's James Bond Theme Song "Spectre" Released
Radiohead just released a new song! “Last year we were asked to write a theme tune for the [James] Bond movie Spectre ,” Radiohead singer Thom ...

‘Southern Charm’ Thomas Ravenel Accuses Kathryn Dennis Of Doing Drugs When Pregnant With Their Second ...
The drama between Southern Charm stars Thomas Ravenel and Kathryn Dennis apparently hasn’t stopped despite the birth of their second child in ...

Resources last updated: 12/26/2015 3:19:44 AM