couple of days ago, I upgrade my iTunes and also change my phone to be iPhone 4GS, but after first time sync from iTunes to iPhone , I found the ringtone are missing in new version iTunes .
I turn on/off several times for the Ringtone checkbox in preferences –> General. but still cannot import any new ringtone. After some trying, I found, must delete the ringtone file that inside of iTunes music folder. select delete it and also keep it. Then double click, the m4r will display in Ringtone.
I guess this is one of the change for new version iTunes.
-4的咖啡裡的牛奶糟糕到我的舌頭都可以感受的出來, 我要放棄他了…
http://line.naver.jp/zh-hant/ < here, but only for Android, iPhone not yet
Keywords:
UnauthorizedAccessException, FileStream, Access to the path is denied, UNC, Shared Folder
Story:
Trying read a file inside UNC shared folder, and already confirmed we can open it by app host with same account in Windows Explorer. And file holder said the shared folder already grant read privilege.
想要讀遠端UNC Shared Folder的檔案, 也確定用的account可以在程式跑的機器打開那個路徑(檔案總管). 對方也宣稱有打開read的權限.
Code:
new FileStream(file.FullName, FileMode.Open);
Solution:
new FileStream(fileName, FileMode.Open, FileAccess.Read);