Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2006

Tip: Looking for answers? Try searching our database.

My portal won't run on Windows 2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Thielen - 28 Dec 2006 04:04 GMT
I copied my portal to WIndows 2003 and now I am getting:

Server Error in '/portal' Application
--------------------------------------------------------------------------------

The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write
access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files'.
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.Web.HttpException: The current identity (NT
AUTHORITY\NETWORK SERVICE) does not have write access to
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.

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:

[HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK
SERVICE) does not have write access to
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.]
  System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection
compilationSection) +742
  System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags)
+225

[HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK
SERVICE) does not have write access to
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.]
  System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +936
  System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +90
  System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +270

Signature

thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm

David Thielen - 28 Dec 2006 04:10 GMT
Hi;

If I run "aspnet_regiis -i" then it works. Do I need to do that? Or is that
global and it might screw up other websites on the server? This is for an
install program we have and we cannot have a bad effect on anything already
on the server.

Signature

thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm

> I copied my portal to WIndows 2003 and now I am getting:
>
[quoted text clipped - 34 lines]
>    System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +90
>    System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +270
Rad [Visual C# MVP] - 28 Dec 2006 09:57 GMT
> Hi;
>
> If I run "aspnet_regiis -i" then it works. Do I need to do that? Or is that
> global and it might screw up other websites on the server? This is for an
> install program we have and we cannot have a bad effect on anything already
> on the server.

You could try directly setting the permissions on the directory directly
before re-installing asp.net
Signature

Bits.Bytes
http://bytes.thinkersroom.com

Walter Wang [MSFT] - 28 Dec 2006 11:03 GMT
Hi Dave,

aspnet_regiis -i will upgrade previous version to this installed version.

To grant access rights to the account, try to use:

aspnet_regiis -ga "NETWORK SERVICE"

Hope this helps.

Sincerely,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
David Thielen - 30 Dec 2006 22:07 GMT
That did it - thanks

Signature

thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm

> Hi Dave,
>
[quoted text clipped - 31 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.