在vs2005运行正常,但是部署到iis上就有问题了?

thqtanghequn 2011-06-07 04:52:11


Server Error in '/salesb' Application.

Cannot access the system temp folder. Please, make sure your application have Full Control rights on that folder or check
RadUpload help --> Configuration --> RadUploadHttpModule

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.IO.IOException: Cannot access the system temp folder. Please, make sure your application have Full Control rights on that folder or check
RadUpload help --> Configuration --> RadUploadHttpModule

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:


[IOException: Cannot access the system temp folder. Please, make sure your application have Full Control rights on that folder or check
RadUpload help --> Configuration --> RadUploadHttpModule]
Telerik.WebControls.RadUploadUtils.IO.PathHelper.CreateTempFileName() +103
Telerik.WebControls.RadUploadUtils.RequestEntity.CreateFileBodyWriter() +14
Telerik.WebControls.RadUploadUtils.RequestEntity..ctor(String rawHeaders, Encoding encoding, TextBodyWriter textWriter) +511
Telerik.WebControls.RadUploadUtils.RequestParser.WriteProcessedPart(Int32 start, Int32 end) +310
Telerik.WebControls.RadUploadUtils.RequestParser.ProcessRequest(RequestStream request) +83
Telerik.WebControls.RadUploadHttpModule.Context_BeginRequest(Object sender, EventArgs e) +308
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


在vs2005运行正常,但是部署到iis上就有问题了?
就是在excel中的数据上传到数据库中的时候,报的错
...全文
153 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
thqtanghequn 2011-06-10
  • 打赏
  • 举报
回复
[Quote=引用 12 楼 net5354 的回复:]
??????这样都能解决的????
[/Quote] 有一部分这个问题,在web.config还少了个配置。关键还是权限问题
net5354 2011-06-09
  • 打赏
  • 举报
回复
??????这样都能解决的????
thqtanghequn 2011-06-08
  • 打赏
  • 举报
回复
[Quote=引用 9 楼 wxr0323 的回复:]
设置权限everyone
设置默认页面。
版本选2.0
[/Quote]
恩 已经解决了 就是这个问题 谢谢大侠了
haojuntu 2011-06-07
  • 打赏
  • 举报
回复
[Quote=引用 9 楼 wxr0323 的回复:]
设置权限everyone
设置默认页面。
版本选2.0
[/Quote]

+1
子夜__ 2011-06-07
  • 打赏
  • 举报
回复
设置权限everyone
设置默认页面。
版本选2.0
V-Far 2011-06-07
  • 打赏
  • 举报
回复
如果服务器在本地机房.试试远程上去.把c盘windows下的temp文件夹加上aspnet还是什么用户的权限.就是IIS哪个账户的.
不知道加上everyone行不行...
以前本地提示过这个问题.后来就没提示过了...
具体可行与否就不知道了
net5354 2011-06-07
  • 打赏
  • 举报
回复
IIS5.1网站:





thqtanghequn 2011-06-07
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 net5354 的回复:]
要把网站放在IIS的根目录下,不要放在虚拟目录~!!!
[/Quote]
我是部署在xp上的。。。要不还能怎么部署呢
net5354 2011-06-07
  • 打赏
  • 举报
回复
要把网站放在IIS的根目录下,不要放在虚拟目录~!!!
thqtanghequn 2011-06-07
  • 打赏
  • 举报
回复
我是这么设置的
assiwe 2011-06-07
  • 打赏
  • 举报
回复
看样子是权限的问题, 你的程序用的用户可能没有读写权限把.
thqtanghequn 2011-06-07
  • 打赏
  • 举报
回复
顶上去?
求救了
thqtanghequn 2011-06-07
  • 打赏
  • 举报
回复
现在部署在自己的机器上 xp sp3的

62,046

社区成员

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

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

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

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