azure-web-roles

“The certificate chain was issued by an authority that is not trusted” when connecting DB in VM Role from Azure website

让人想犯罪 __ 提交于 2019-11-27 06:38:47
I am experiencing error when connecting MY DB which is in VM Role(I have SQL VM Role) from Azure Website. Both VM Role and Azure Website are in West zone. I am facing following issue: SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)] I am able to connect to my DB using SSMS. 1433 port is open on my VM role. What is wrong with my connection? Thiago Silva You likely don't have a CA signed certificate

Azure CDN - Enabling HTTP Compression - Hosted Web Role

我的梦境 提交于 2019-11-27 04:28:25
问题 Has anyone successfully configured Azure CDN for HTTP compression using their hosted web role? We are having trouble compressing HTTP content at the Azure edge servers. The CDN is only caching the uncompressed version of the content. If we hit our resource link ( webresource.axd ) from a non-Azure approach it compresses via gzip ( using the xxxx.cloudapp.net/cdn/webresource.axd ) as expected. However, as soon as we point our resource link to Azure CDN ( xxxx.vo.msecnd.net ), the content is

In Windows Azure: What are web role, worker role and VM role?

吃可爱长大的小学妹 提交于 2019-11-27 02:41:16
The application I work on contains a web role: it's a simple web application. I needed to host the application in Windows Azure, so I created a web role. I actually want to know what these roles are for. What is their significance coding wise or storage wise? EDIT 3/3/2013 - updated to reference UDP endpoints, Virtual Machines, and more languages EDIT 6/6/2013 - updated to reflect the discontinuation of VM Role, and update to web/worker role baseline OS images to Windows Server 2012 Good link by @Vladimir. A bit more clarification: All roles (web, worker) are essentially Windows Server. Web

Webrole is not starting and always busy

 ̄綄美尐妖づ 提交于 2019-11-27 02:26:13
问题 I am working on a Azure Web application. The code compiles and runs fine on my local machine. But when I upload the package in Azure Platform, the webrole wouldn't start and gives Busy status with the message: "Waiting for role to start... System is initializing. [2012-04-30T09:19:08Z]" Both Onstart() and Run() don't contain any code. I am not blocking the return of OnStart. However I am using window.setInterval in javascript. The javascript function retrieves the values from Database every

How to add a custom post deployment script to azure websites?

假装没事ソ 提交于 2019-11-27 01:55:34
问题 My problem is that I need to run a custom cmd file after the build. Instead of modifying the deployment scripts I just want to run few MSDOS commands to my deployment easily. The task I need to do is to run a cmd at the repository located at /source/copyextrafiles.cmd after the build succeeded. How can I achieve that? 回答1: At the azure portal on the CONFIGURE tab of your website add a "app settings" entry called POST_DEPLOYMENT_ACTION with the value of source/copyextrafiles.cmd Save and the

Multiple roles on the same instance in Windows Azure

夙愿已清 提交于 2019-11-27 01:50:28
问题 Is it possible to deploy multiple roles in the same instance? I have three web roles (website in asp.net mvc3, and two WCF services instances) and two worker roles (windows services). The load for this application is very small, so I don't want to create so many instances in Windows Azure and pay for all of the instances now. Instead I want to deploy all my application in the same instance and change it later if I will get some income from my applications. I Googled and found some forum posts

“The certificate chain was issued by an authority that is not trusted” when connecting DB in VM Role from Azure website

隐身守侯 提交于 2019-11-26 12:38:12
问题 I am experiencing error when connecting MY DB which is in VM Role(I have SQL VM Role) from Azure Website. Both VM Role and Azure Website are in West zone. I am facing following issue: SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)] I am able to connect to my DB using SSMS. 1433 port is open on my

How does Microsoft Azure handle Session State?

江枫思渺然 提交于 2019-11-26 12:14:12
问题 Does anyone have any information on how state is managed in Azure when you choose to have multiple instances? It seems like InProc would be worthless and you would have to have another state server instance, or use the datastore to store the users state across servers. Or does it implement sticky sessions, so InProc is all you need. Found the answer here: Azure Forums 回答1: Table Storage would be the most logical place. Other server farm type setups also use a database table to store session

In Windows Azure: What are web role, worker role and VM role?

时光怂恿深爱的人放手 提交于 2019-11-26 10:10:13
问题 The application I work on contains a web role: it\'s a simple web application. I needed to host the application in Windows Azure, so I created a web role. I actually want to know what these roles are for. What is their significance coding wise or storage wise? 回答1: EDIT 3/3/2013 - updated to reference UDP endpoints, Virtual Machines, and more languages EDIT 6/6/2013 - updated to reflect the discontinuation of VM Role, and update to web/worker role baseline OS images to Windows Server 2012

ASP.NET session state provider in Azure [closed]

风流意气都作罢 提交于 2019-11-26 07:43:21
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . As far as I know, the current situation is this: Use SQL session state provider is possible (as I\'ve read somewhere) but it\'s not