WIN2003改Windows权限后,.net网站均出现"Server Error in '/' Application"

葫芦的世界 2007-03-26 12:33:30
我把服务器的windows文件夹权限给改了.而且把权限继承下去了.改后,所有的asp.net+access的网站都出现错误,而asp+access的没有错误.错误代码为:

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

未指定的错误
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.Data.OleDb.OleDbException: 未指定的错误

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:


[OleDbException (0x80004005): 未指定的错误]


...全文
259 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
phisy 2007-03-26
  • 打赏
  • 举报
回复
权限不够喽。。。
文件夹里要ASPNET可写入权限
还有LOCAL SERVICE
还有NETWORK SERVIE
葫芦的世界 2007-03-26
  • 打赏
  • 举报
回复
已经解决.在c:\windows\temp里面必须有network Service用户写权限.
葫芦的世界 2007-03-26
  • 打赏
  • 举报
回复
楼上说的不能解决问题.
shadow841112 2007-03-26
  • 打赏
  • 举报
回复
在IIS里给ASP.NET设置可写权限,然后把权限继承
ilexyang 2007-03-26
  • 打赏
  • 举报
回复
友情支持
葫芦的世界 2007-03-26
  • 打赏
  • 举报
回复
在哪个文件夹里设置权限呀?我已经给
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files文件夹设置了权限.ASPNET/LOCAL SERVICE/NETWORK SERVIE/IUSR_CNAME(internet来宾帐户)/都给了可修改的权限.
wshuangminlg 2007-03-26
  • 打赏
  • 举报
回复
帮LZ顶

62,047

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

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