Mahmoud Fayez
Mahmoud Fayez

Reputation: 3459

Azure cannot access an image from asp.net page

I cannot access an image that is reside beside the asp.net page.Access is denied any hint?

Upvotes: 0

Views: 70

Answers (1)

Neil Thompson
Neil Thompson

Reputation: 6425

Have you enabled local storage in the configs?

from the article:

local storage in the cloud is not the same as that under our local IIS environment. Local storage, is assumed under an ASP.NET application running on a local IIS server. In the Azure world, you must first configure your role to request local storage as it is deployed. This can be done with the Role Editor in VS

Read more: http://www.intertech.com/Blog/Post/Windows-Azure-Local-File-Storage-How-To-Guide-and-Warnings.aspx#ixzz2I7xrJiBD

http://www.intertech.com/Blog/Post/Windows-Azure-Local-File-Storage-How-To-Guide-and-Warnings.aspx

Upvotes: 1

Related Questions