Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Monday, December 5, 2016

Azure Cloud service problem "The current service model is out of sync"

Azure has providing lot of could compute technique, one of the most reliable is Azure Cron program called Azure cloud services. Develop, package and deploy powerful applications and services to the cloud with Azure Cloud Services.

There are features advantages on azure cloud services
  1.       Support for Java, Node.js, PHP, Python, .NET and Ruby
  2.       Automatic operating system and application patching
  3.       Auto scale to meet demand and save money

In Azure cloud service, we usually facing the problem called “The current service model is out of sync”. This issue will occur on few scenarios.
  


  • Either ServiceDefinition(.csdef) file content is not match with ServiceConfiguration(.cscfg) files
Solution:
We should check the service definition file and configuration files, to make sure the xml tags are matches on both files. If some tags are missing on any one of the, we should added them into another file.
  • Your project was not closed properly.
Solution:
Step 1: Open the solution file in Visual Studio.
Step 2: There you can see the cloud service project.
Step 3: Select the cloud service project and right them, Click on “Unload Project”
Step 4: Now again select the cloud service project load them into solution.
Step 5: Now cloud service should run fine now.

Tuesday, February 2, 2016

Posting packets from Azure Storage to Service Bus using C#

Microsoft Azure is one of the leading cloud computing environment. Using the below script we are posting raw packets from storage to Service Bus.


Friday, December 5, 2014

CURL error code 7 in php

Curl is one of most powerful functionality in PHP. It will allow us to communicate with external URL. To use the curl functionality in your code. We must enable PHP curl module in PHP installation.

In this post, i could like to explain about curl error code "7". There are some of the criteria to get this error.
  1. Due to wrong URL.
  2. URL might have some port on postfix.
    For Example: http://xx.xxx.xxx.xx:8080/
    Solution : To solve this issue, we must remove the port on URL.Your URL must be like http://xx.xxx.xxx.xx/

Saturday, April 5, 2014

How to use SCP command in windows

SCP command is one of the most powerful command in linux to transfer files in secure way. It can be use for windows.

Here the link to download link for windows.

After you download the file into you local machine. Please go to command prompt and go to location of pscp.exe. From there you need to execute the following commands to download and upload a file.

Please use below command to download file to local from server location.



Please use below command to upload file from local to server location.