Windows Server 2008 R2中上傳和下載檔案

來源:互聯網
上載者:User

標籤:iis   work   ken   ftp   檔案夾   .com   ati   not   解決   

在 Windows Server 2008 R2 中,使用伺服器管理員來啟用或禁用 Windows 功能,那在這個上面如何上傳和下載檔案呢?


1.在“伺服器管理員”->“角色”->“web伺服器”中看到已經安裝了“ftp服務”

 

2.在上傳檔案時出現問題“遠程伺服器返回錯誤: (500) 內部伺服器錯誤。”

解決方案是在上傳檔案執行的檔案夾設定“寫入”許可權
轉載自:http://jingyan.baidu.com/article/9faa7231764cfa473c28cbf0.html

 

3.在外網瀏覽器中開啟執行方法,發現問題“ System.TypeLoadException: Could not load type ‘System.ServiceModel.Activation.HttpModule‘ from assembly ‘System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089‘.

解決方案:

原因就是網站所用的 .Net Framework4.0被.Net Framework 3.5覆蓋了,只需要重新註冊一下.Net Framework 4.0組件即可,方法如下:
開始——運行——輸入C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_regiis.exe -iru斷行符號即可。

還在伺服器的web.config檔案中加了
<system.web>
<customErrors mode="Off"/>
</system.web>

Windows Server 2008 R2中上傳和下載檔案

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.