网站访问出错

shadow_89 2009-03-05 11:59:57
挂在服务器上,访问出现下面的错误,之前可以访问,而且挂在其他服务器上的话可以访问,应该不是程序的问题。求解!


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

The current identity (SJAPS\ASPNET) does not have write access to 'C:\WINNT\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 (SJAPS\ASPNET) does not have write access to 'C:\WINNT\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 (SJAPS\ASPNET) does not have write access to 'C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.]
System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection) +3570267
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +218

[HttpException (0x80004005): The current identity (SJAPS\ASPNET) does not have write access to 'C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3465427
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +69
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +279




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
...全文
143 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
chaobeyond 2009-03-05
  • 打赏
  • 举报
回复
一楼正解!
mobydick 2009-03-05
  • 打赏
  • 举报
回复
http://topic.csdn.net/u/20080620/23/c54e5c1e-83dd-4035-9881-0616d97906a9.html
重装2.0框架。

111,126

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Creator Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧