[問題] ASP.NET MVC 專案上傳 Azure 後無法跑
大家好
我照著這兩篇教學文做了類似的專案
https://dotblogs.com.tw/berrynote/2016/07/24/121311
https://dotblogs.com.tw/berrynote/2016/07/24/130604
在Local跑沒有問題
local網址: http://localhost:(位址)/Movies/
local畫面: https://i.imgur.com/uNttz6Y.png

但是上傳到Azure後發生問題
server網址: https://aspnet-test-201905191240-b.azurewebsites.net/Movies/
server畫面: https://i.imgur.com/1GEiMEt.png

(catch到的exception)
最下面這張圖是教學文的步驟
因為我推斷可能是問題發生的點
所以這邊特別截圖show出來請板友指教
https://i.imgur.com/RGA3NGg.png

我的推斷是LocalDB跟著專案publish到Azure後無法被使用
想請問這部分該怎麼修改?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.160.34.44
※ 文章網址: https://www.ptt.cc/bbs/C_Sharp/M.1558367021.A.2F7.html
※ 編輯: NadiaArwall (1.160.34.44), 05/21/2019 00:40:14
→
05/21 09:14,
6年前
, 1F
05/21 09:14, 1F
→
05/21 09:15,
6年前
, 2F
05/21 09:15, 2F
→
05/21 09:15,
6年前
, 3F
05/21 09:15, 3F
→
05/21 09:16,
6年前
, 4F
05/21 09:16, 4F
→
05/21 09:18,
6年前
, 5F
05/21 09:18, 5F
推
05/21 16:54,
6年前
, 6F
05/21 16:54, 6F
C_Sharp 近期熱門文章
PTT數位生活區 即時熱門文章