發布asp.net website常見癥狀及其解決方案

來源:互聯網
上載者:User

在發布asp.net開發的website的時候,總會遇到各種各樣的問題,而這些問題在本機進行開發時候是不會出現的。下面幾個是常見的問題

1.sympton

The page cannot be found

The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

 

Please try the following:

  • Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
  • If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
  • Click the Back button to try another link.
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)

solution:
    可能是asp.net 的服務沒有沒有開啟。只需要開啟iis伺服器,選擇web services  extension s-> allow asp.net *.*服務即可。

2 symption: Writing data to Access or specified files will be denied!向指定的檔案裡面寫入資料時候,會無法寫入。例如Access資料庫的更新等等。
    reason:
        iis如果採用anonymous登入方式的話,是使用了IUSER_<Machine_name>來進行的。而default的access acount是沒有對檔案進行write/update的許可權的。這時,我們需要將website相關acount都賦予wirte/update的permission即可。具體操作如下:
        找到需要write/update所在檔案夾/檔案,點擊右健--〉security,然後將相應acount添加到其使用者租,並給與其write 許可權即可

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.