在Azure上部署后尝试在Server文件夹上载Image时找不到路径异常 [英] Path not found Exception when try to upload Image on Server folder after deploying on azure

查看:77
本文介绍了在Azure上部署后尝试在Server文件夹上载Image时找不到路径异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Azure上部署了Web,并且有2个图像文件夹,用户可以在其中上载图像.第一工作正常,但 另一个显示出示例路径未找到".在天蓝色部署后.甚至我创建新文件夹,然后部署,但也不能工作.只有一个旧文件夹可以正常工作,我创建的所有新文件夹在尝试向其上载图像时都会显示异常...

解决方案

最好的解决方案是将上传的图像存储在Azure Blob存储中,请参考 链接以获取有关使用Azure存储在云中上传图像数据的详细信息.

------------------------------------------------- ---------------------------------------------

如果此答案有帮助,请单击标记为答案"或上投票".提供其他反馈 在您的论坛体验上,点击


I have Deployed the web on Azure and i have 2 images Folders in which user can upload images on it. 1st works fine but other one shows Exeption "Path not Found" after Deploying on azure . and even i create new folder and then deploy but it also dnt work. Only one old folder works fine and all new folder i created shows exception when try to upload image on them...

The best solution would be to store uploaded images in Azure blob storage, refer to this link for details on uploading image data in the cloud with Azure Storage.

----------------------------------------------------------------------------------------------

If this answer was helpful, click "Mark as Answer" or "Up-Vote". To provide additional feedback on your forum experience, click here


这篇关于在Azure上部署后尝试在Server文件夹上载Image时找不到路径异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆