Deploying ASP.NET to Windows Azure cloud, application gives error when running on cloud

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 06:03:32

Try this.

A.If you have RDP Acces to the Azure cloud then change the IIS settings

  • 1.Go to the IIS
  • 2.Under sites select the Default site
  • 3.Add Permission
  • 4.choose I_User object and give read/write access.
  • 5.later you can automate this setting using a batch file and startup task.

B.I think you are using any local path. You should change this to local storage for temporary requirement and blob storage for long requirement.

I had a similar problem and figured out that I would need to build my own IDataStore using Windows Azure Blob storage. My solution is in C#, but I posted my class file here: https://groups.google.com/d/msg/google-api-dotnet-client/s7i6mkMjX-M/p_4YlaOyLp4J Maybe that will help you some if you haven't already figured out another solution.

Wrap the code that uses credential in the using statement. Closing the using statement disposes of the resources in the using statement, so when you try to access/use credential later in code, it has already been disposed.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!