青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

統計

  • 隨筆 - 50
  • 文章 - 42
  • 評論 - 147
  • 引用 - 0

留言簿(6)

隨筆分類

文章分類

Link

搜索

  •  

積分與排名

  • 積分 - 167517
  • 排名 - 159

最新評論

閱讀排行榜

評論排行榜

asp.net網站部署錯誤及解決方法
error:
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS
solution:
However, this error occurs primarily out of 2 scenarios.

1. When you create an new web application using visual studio.net, it automatically creates the virtual directory and configures it as an application. However, if you manually create the virtual directory and it is not configured as an application, then you will not be able to browse the application and may get the above error. The debug information you get as mentioned above, is applicable to this scenario.

To resolve it, Right Click on the virtual directory - select properties and then click on
"Create" next to the "Application" Label and the textbox. It will automatically create the "application" using the virtual directory's name. Now the application can be accessed.


2. When you have sub-directories in your application, you can have web.config file for the sub-directory. However, there are certain properties which cannot be set in the web.config of the sub-directory such as authentication, session state (you may see that the error message shows the line number where the authentication or sessionstate is declared in the web.config of the sub-directory). The reason is, these settings cannot be overridden at the sub-directory level unless the sub-directory is also configured as an application (as mentioned in the above point).

Mostly we have the practice of adding web.config in the sub-directory if we want to protect access to the sub-directory files (say, the directory is admin and we wish to protect the admin pages from unathorized users).

But actually, this can be achieved in the web.config at the application's root level itself, by specifing the location path tags and authorization, as follows:-


<location path="Admin">
<system.web>
<authorization>
<allow roles="administrators" />
<deny users="*" />
</authorization>
</system.web>
</location>


However, if you wish to have a web.config at the sub-directory level and protect the sub-directory, you can just specify the Authorization mode as follows:-


<configuration>
<system.web>
<authorization>
<allow roles="administrators" />
<deny users="*" />
</authorization>
</system.web>
</configuration>

Thus you can protect the sub-directory from unauthorized access.

error:
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'.
Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>
 

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>

solution:
"Could not load file or assembly " indicate that the Framework version is not right, you need to install the right version of framework, and set the ASP.NET selection in IIS website property,select right version , note that you still select asp.net2.0 after you install the .net framework3.5 or 3.0


 

posted on 2009-01-15 21:44 pear_li 閱讀(1051) 評論(0)  編輯 收藏 引用 所屬分類: asp.net


只有注冊用戶登錄后才能發表評論。
網站導航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            亚洲国产毛片完整版| 这里只有精品视频在线| 欧美专区一区二区三区| 亚洲一级片在线观看| 国产精品国色综合久久| 性做久久久久久久免费看| 亚洲欧美国产77777| 国产欧美日韩一区二区三区| 久久久久天天天天| 久久中文字幕一区二区三区| 亚洲精品乱码久久久久| 99v久久综合狠狠综合久久| 国产精品毛片高清在线完整版| 欧美一区视频在线| 久久午夜色播影院免费高清| 亚洲精品在线三区| 亚洲一区精品视频| 在线成人www免费观看视频| 亚洲日本久久| 国产欧美视频一区二区三区| 免费成人小视频| 欧美日韩国产精品一区二区亚洲| 欧美一区二区三区另类| 久久婷婷国产综合国色天香| 一区二区成人精品 | 亚洲国产精品一区在线观看不卡| 欧美成年网站| 国产精品嫩草影院一区二区| 欧美波霸影院| 欧美午夜一区| 欧美高清一区| 国产欧美精品国产国产专区| 亚洲国产激情| 国产亚洲精品美女| 亚洲日本中文字幕区| 国产视频在线观看一区二区三区| 欧美国产免费| 国产日产欧美一区| 日韩一级黄色大片| 在线日韩视频| 亚洲欧美成人精品| 一区二区三区视频在线| 久久综合伊人77777蜜臀| 欧美一区二区三区四区高清| 欧美精品三级日韩久久| 美女图片一区二区| 国产无一区二区| 9l视频自拍蝌蚪9l视频成人| 91久久一区二区| 久久gogo国模啪啪人体图| 午夜精品免费视频| 欧美日韩精品一区二区天天拍小说| 久久夜色撩人精品| 国产性色一区二区| 亚洲午夜激情网页| 亚洲午夜激情网站| 欧美日韩卡一卡二| 91久久久国产精品| 亚洲精品一区二区三区四区高清| 久久精品91久久久久久再现| 欧美在线视频一区| 国产毛片精品国产一区二区三区| 亚洲久色影视| 亚洲一区二区免费| 欧美午夜精品| 在线综合亚洲| 午夜视频一区二区| 国产欧美大片| 欧美一级电影久久| 久久久久成人精品| 黄色成人在线网址| 久久精品一区中文字幕| 欧美aa在线视频| 亚洲黄色在线视频| 欧美福利小视频| 欧美体内she精视频| 久久久久网站| 国内精品一区二区三区| 久久精品亚洲一区二区三区浴池| 久久先锋影音| 在线看片成人| 欧美精品一区二区三区高清aⅴ| 亚洲精品欧美精品| 亚洲一区二区三区在线| 国产区二精品视| 久久精品电影| 亚洲国产高清在线| 亚洲男女自偷自拍| 国产一区二区三区成人欧美日韩在线观看 | 亚洲午夜久久久久久尤物 | 亚洲欧美日韩在线一区| 久久av红桃一区二区小说| 国产欧美一区二区三区久久| 久久精品九九| 亚洲人成在线影院| 欧美一区视频在线| 亚洲国产精品久久久久婷婷老年 | 亚洲一区二区三区激情| 久久久蜜臀国产一区二区| 亚洲国产另类久久精品| 欧美日韩一区二区免费在线观看| 午夜精品久久久久久久99热浪潮| 久久综合精品国产一区二区三区| 亚洲日本视频| 国产精品自在在线| 欧美大片在线影院| 午夜精品影院在线观看| 亚洲国产欧美日韩精品| 西瓜成人精品人成网站| 亚洲激情偷拍| 国产欧美精品在线观看| 欧美激情aaaa| 久久精品99国产精品| 99视频热这里只有精品免费| 久久躁狠狠躁夜夜爽| 亚洲主播在线播放| 亚洲欧洲日本在线| 国产一区二区av| 国产精品草莓在线免费观看| 欧美 亚欧 日韩视频在线| 亚洲欧美视频| 99国产精品久久久久久久成人热 | 亚洲一区中文字幕在线观看| 亚洲福利专区| 国产一区在线免费观看| 国产精品视频一区二区三区 | 亚洲午夜av| 日韩一二三在线视频播| 欧美国产精品va在线观看| 久久精品天堂| 欧美一区二区三区视频在线观看| 在线一区二区日韩| 亚洲三级观看| 亚洲精品1区2区| 今天的高清视频免费播放成人| 国产精品一区二区三区乱码| 欧美色区777第一页| 欧美日韩国产探花| 欧美精品久久久久久久| 欧美激情一区二区三区在线视频观看| 久久看片网站| 久久综合九色九九| 久久夜色精品国产| 久久视频一区二区| 久久久之久亚州精品露出| 久久精品日韩| 久久精品主播| 久久久一二三| 美腿丝袜亚洲色图| 欧美福利一区二区| 欧美韩日亚洲| 欧美日韩国产综合在线| 欧美日韩中文字幕精品| 国产精品久久久久久久午夜片| 欧美性色综合| 国产欧美成人| 国内精品伊人久久久久av一坑| 国内精品亚洲| 亚洲电影中文字幕| 日韩视频专区| 亚洲女ⅴideoshd黑人| 欧美一区免费视频| 久久永久免费| 欧美激情一区二区三区成人 | 性感少妇一区| 久久久精品欧美丰满| 欧美va亚洲va日韩∨a综合色| 欧美国产大片| 一区二区电影免费在线观看| 午夜免费日韩视频| 久久久噜噜噜久久中文字免| 欧美ab在线视频| 欧美视频二区| 精品不卡一区| 一区二区三区精品视频在线观看| 欧美亚洲视频在线看网址| 免费日韩av电影| 日韩视频免费在线| 久久er精品视频| 欧美激情一二三区| 国产日韩欧美综合一区| 亚洲欧洲日韩女同| 欧美一区二区三区电影在线观看| 蜜臀a∨国产成人精品| 9色porny自拍视频一区二区| 欧美在线一区二区三区| 欧美啪啪一区| 尤物精品国产第一福利三区| 宅男精品导航| 嫩草影视亚洲| 亚洲天堂黄色| 欧美极品在线观看| 国产原创一区二区| 亚洲一区二区在线观看视频| 欧美/亚洲一区| 午夜精品在线观看| 欧美午夜不卡视频| 亚洲精选久久| 可以看av的网站久久看| 亚洲伊人网站|