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

統計

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

留言簿(6)

隨筆分類

文章分類

Link

搜索

  •  

積分與排名

  • 積分 - 167189
  • 排名 - 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 閱讀(1047) 評論(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>
            欧美色大人视频| 欧美成人在线免费视频| 亚洲欧美激情四射在线日| 久久久久高清| 久久国产精品久久久| 国产专区精品视频| 亚洲国产视频一区| 欧美在线一二三四区| 一区二区三区无毛| 亚洲精品美女在线| 黄网站色欧美视频| 亚洲精品男同| 国产无一区二区| 亚洲电影在线看| 国产精品久在线观看| 久久精品国产久精国产思思| 久久久91精品| 性欧美8khd高清极品| 久久综合导航| 欧美伊人影院| 国产欧美欧美| 亚洲精品日韩一| 红桃视频欧美| 性欧美xxxx大乳国产app| 亚洲三级免费观看| 久久国产加勒比精品无码| 亚洲在线视频一区| 国产精品无码永久免费888| 99re6这里只有精品视频在线观看| 亚洲国产精品一区| 蜜臀99久久精品久久久久久软件| 午夜精品久久| 欧美.www| 亚洲第一综合天堂另类专| 欧美在线免费观看视频| 久久精品视频99| 国产一区在线免费观看| 狂野欧美性猛交xxxx巴西| 欧美1级日本1级| 亚洲视频999| 国产精品日韩在线一区| 欧美一区二区三区四区在线| 久久精品导航| 亚洲丶国产丶欧美一区二区三区| 米奇777在线欧美播放| 亚洲免费观看| 久久久www成人免费毛片麻豆| 亚洲大片精品永久免费| 欧美激情自拍| 亚洲一区二区三区四区中文| 久久九九国产| 亚洲精品日韩久久| 国产视频一区在线观看| 久久久水蜜桃| 亚洲视频 欧洲视频| 亚洲第一精品久久忘忧草社区| 午夜精品久久久久久久99樱桃| 国内精品视频一区| 欧美性大战久久久久| 免费美女久久99| 欧美在线短视频| 日韩视频在线永久播放| 欧美国产日韩在线观看| 久久综合九色九九| 欧美中文字幕在线视频| 亚洲在线第一页| 亚洲一区二区三区午夜| 亚洲三级视频| 亚洲视频在线免费观看| 亚洲一区影音先锋| 夜夜嗨av一区二区三区网页| 好吊色欧美一区二区三区四区| 欧美日韩伊人| 欧美91视频| 免费h精品视频在线播放| 久久久久久伊人| 久久精品国产免费看久久精品| 午夜精品一区二区三区在线 | 国产精品久久久久av免费| 欧美69视频| 欧美理论在线| 国产精品主播| 尤物视频一区二区| 亚洲精选成人| 亚洲一区免费观看| 亚洲欧美一区二区三区在线| 欧美综合国产精品久久丁香| 久久久久久久999精品视频| 久久午夜精品| 欧美国产精品日韩| 国产精品久久97| 在线欧美电影| 亚洲欧美一区在线| 免费成人av资源网| 一卡二卡3卡四卡高清精品视频| 亚洲精选久久| 久久婷婷av| 国内精品久久国产| 亚洲一区观看| 亚洲黄色在线观看| 午夜欧美大尺度福利影院在线看| 你懂的视频欧美| 在线免费不卡视频| 麻豆精品国产91久久久久久| 一区二区不卡在线视频 午夜欧美不卡在 | 激情av一区二区| 亚洲一二三区在线| 亚洲国产精品va在线看黑人动漫 | 亚洲高清在线精品| 午夜视频一区| 日韩一级在线| 欧美精品日韩一区| 亚洲人久久久| 欧美激情一区二区三区| 性刺激综合网| 狠狠色伊人亚洲综合成人| 亚洲免费在线观看| 亚洲婷婷在线| 国产精品入口麻豆原神| 中文欧美日韩| 亚洲制服av| 极品少妇一区二区三区精品视频| 欧美一区二区三区在线免费观看 | 亚洲天堂成人在线视频| 欧美日韩视频在线第一区| 亚洲一区二区三区免费观看| 日韩性生活视频| 国产资源精品在线观看| 欧美不卡在线视频| 欧美激情视频网站| 夜夜嗨网站十八久久| 一区二区三区免费看| 国产亚洲va综合人人澡精品| 欧美专区在线播放| 欧美一区激情视频在线观看| 伊人一区二区三区久久精品| 亚洲精品国产日韩| 国内成人在线| 一区二区高清视频| 亚洲第一毛片| 亚洲欧美国产一区二区三区| 日韩视频在线一区| 久久久伊人欧美| 午夜激情一区| 欧美精品aa| 欧美黄网免费在线观看| 国产色爱av资源综合区| 亚洲乱码国产乱码精品精98午夜| 国产亚洲精品久久久久动| 亚洲伊人第一页| 欧美**字幕| 欧美激情一区二区三区在线视频观看 | 国模精品一区二区三区色天香| 日韩视频久久| 亚洲欧美国产高清| 欧美日韩中文在线观看| 日韩一级网站| 一区二区三区四区五区在线| 免费在线欧美视频| 亚洲国产综合在线看不卡| 亚洲国产精品福利| 玖玖玖国产精品| 欧美国产日韩一二三区| 99re8这里有精品热视频免费| 欧美黄色日本| 一区二区三区欧美日韩| 99精品国产99久久久久久福利| 欧美jizzhd精品欧美巨大免费| 欧美激情亚洲一区| 一区二区三区高清在线| 欧美日韩国内自拍| 香蕉av福利精品导航| 欧美一区二区三区免费视频| 国内久久视频| 欧美日韩国内| 久久久国产精彩视频美女艺术照福利| 久久久综合激的五月天| 最新日韩av| 国产亚洲毛片在线| 欧美精品www在线观看| 这里只有精品视频| 久久一区二区三区av| 一区二区三区日韩欧美精品| 国产欧美1区2区3区| 欧美日本一区二区三区| 久久久精品网| 性欧美videos另类喷潮| 99re6这里只有精品| 香蕉久久夜色精品| 亚洲美女在线看| 一区在线影院| 激情成人中文字幕| 国产精品亚洲产品| 亚洲片区在线| 麻豆精品视频在线| 亚洲男女自偷自拍| 亚洲自拍高清| 亚洲中无吗在线| 亚洲一区二区在线视频 | 91久久精品一区|