Problem deploying ASP.NET v1.1 web site

  • Thread starter Thread starter Andrew Chalk
  • Start date Start date
A

Andrew Chalk

I have created an ASP.NET v1.1 web site that runs fine on my development
machine.

To deploy it to another XP computer I copied the whole of the web site to a
directory on that computer and converted the target directory to a virtual
directory. When I attempt to access the site's home page on that computer I
get an error that a temporary directory cannot be accessed.

Exception Details: System.UnauthorizedAccessException: Access to the path
"c:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET
Files\20060426\98b399e4\39096cb5" is denied.

The directory doesn't exist, but it does exist on my development machine.

What did I do wrong deploying this web site? What's the easy way to transfer
a site to another server?

Many thanks.
 
Andrew try granting that folder ASPNET acount read and write access
Hope that helps
Patrick
 
ASP.NET applications are good for copying by directory to other web servers
without much problem.

It looks to me that the version specific that your app is configured to use
in IIS is not using Framework 1.1.4322 or something to that effect.

I would try viewing the ASP.NET tab in the virtual directory and check the
version, also try reinstalling the framework and re-regitering it with IIS.

I would predict that doig that should allow the app to be complied thus
viewed.
 
I just wanted to say thanks for you response to this issue, I had a
similar issue, and I've been searching the web for way to long today
trying to find a resolution to this problem and changing all sorts of
permissions. Turns out I installed .net before iis, and just needed to
register it by opening the comand promt and CD'ing to
c:\windows\Microsoft.Net\Framework\v1.1.4322 and running
aspnet_regiis.exe -i .
Thanks for the reinstalling hint, I never would have thought of that on
my own.
 
Back
Top