下载中心┊文章中心┊软件分类┊更新软件┊推荐下载┊热门软件┊更新文章┊热门文章
 
《拓文asp.net网站内容管理系统》官方演示站。
 设为首页    
 收藏本站
 作者:黄振安
 
网站首页 开源拓文 .NET编程 网站编程 网页设计 图形图像 数据库 软件工程留言本
    站内搜索:   
您现在的位置: 拓文网络 → 文章中心 → .NET编程 → ASP.NET → ASP.NET 拒绝访问[正文]

热 门 文 章

相 关 文 章
  • 使用 Visual Basic 或 Visual ...
  • asp.net 2.0下一个标准GRIDVIE...
  • asp.net 2.0下一个标准GRIDVIE...
  • asp.net 2.0下一个标准GRIDVIE...
  • ASP.NET 2.0页面框架简要慨述(2)
  • ASP.NET 2.0页面框架简要慨述(1)
  • ASP.NET 2.0中的Web和HTML服务...
  • ASP.NET 2.0中的Web和HTML服务...
  • ASP.NET 2.0中的Web和HTML服务...
  • ASP.NET 2.0中的Web和HTML服务...
  • ASP.NET 拒绝访问
     
    [作者:不详    转贴自:    点击数:    字体:【大 中 小】    更新时间:2006-10-2 16:18:54]

         使用MICROSOFT的com组件编写插入数据到Excel然后再下载到客户机本机程序,在开发时测试通过,上传到WIN2000服务器上后出现如下错误:
       Server Error in '/Webqr' 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.UnauthorizedAccessException: 拒绝访问。
      
      ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
      
      To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
      
      由于本机测试的时候就出现这种情况,在网上查找解决方法,尝试解决的方法如下:
      1。提高IIS_USER的权限,将IIS_USER加入ADMINISTRATOR,个人觉得这样做有安全风险,故不采用
      2。在开始-》运行 输入dcomcnfg配置,Excelcom文件的安全性权限,编辑启动权限,配置权限
      修改完成后出现错误
       Server Error in '/Webqr' Application.
      --------------------------------------------------------------------------------
      Object reference not set to an instance of an object
      
      http://www.cnblogs.com/sherry/archive/2006/07/25/459248.HTML
      
      
      
        做人要厚道,请注明转自酷网动力(www.ASPCOOL.COM)。


    页次:1/1  1篇/页  首页   上一页   下一页   尾页  合计 1 篇 Go:
     
    上一篇:ASP.NET 2.0 中好东西(theme)介绍
    下一篇:如何使用FindControl查找内容...
    winner 打印本页 关闭窗口

         文 章 评 论
    评论人 查看该文章的评论 发表时间
       笔 名* : 0 50分 60分 70分 80分 90分 100分
    评论内容 *: (最多600字。当前字数:0)


    没有相关评论,欢迎您参与!

    - 关于本站 - 网站帮助 - 下载声明 - 友情连接 - 网站地图 -
    Copyright © 2005-2006 rtht.Com. All Rights Reserved . [桂ICP备06004496号]程序设计: 拓文ASP.NET网站内容管理系统 V2.6 SQL版