The request was aborted: The request was canceled.

I am trying to upload some files through c# on Azure. But i am getting below error on a particular system.
The request was aborted: The request was canceled.
I ran fiddler and get the following response.
<?xml version="1.0" encoding="UTF-8"?><request protocol="3.0" version="1.3.23.0" ismachine="1" sessionid="{7D4FD5D2-27F8-45D9-9CB9-94995712087B}" installsource="core" testsource="auto"
requestid="{8D9DECDD-4920-4AE4-B5FD-B2D9DBC56329}"><os platform="win" version="6.1" sp="Service Pack 1" arch="x86"/><app appid="{22BC5D71-241A-4198-94D2-4A45297A4910}" version="1.3.23.0"
nextversion="" lang="" brand="GGLS" client="" installage="251"><updatecheck/><ping r="-1"/></app><app appid="{BD53C92C-0EDE-40B1-9E29-DA95D1F72764}" version="1.0.0.1"
nextversion="" lang="" brand="" client=""><updatecheck/><ping r="-1"/></app></request>
HTTP/1.1 504 Fiddler - Receive Failure
Date: Mon, 29 Dec 2014 14:13:49 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Cache-Control: no-cache, must-revalidate
Timestamp: 19:43:49.762
[Fiddler] ReadResponse() failed: The server did not return a complete response for this request. Server returned 0 bytes.         
K K Sanghi

try
StorageCredentials sc = new StorageCredentials(storage, accessKey);
CloudStorageAccount storageAccount = new CloudStorageAccount(sc, true);
CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
CloudBlobContainer blobContainer = blobClient.GetContainerReference(container);
CloudBlockBlob blockBlob = blobContainer.GetBlockBlobReference(targetFileName);
using (var fileStream = System.IO.File.OpenRead(localPathwithFileName))
blockBlob.UploadFromStream(fileStream);
catch (Exception ex)
throw ex;
K K Sanghi

Similar Messages

  • TFS Integration Platform Error while Syncing - Caught and converted, The request was aborted: The request was canceled

    Hello,
    We are doing a 2-way version control sync between TFS 2013 servers. 
    TFS A - Project A is getting synched with TFS B - Project A.
    TFS A - Project A has got all the code and files, whereas TFS B - Project A is empty.
    Previously we have synced TFS 2013 projects across servers with out any error or issues. Today we came across an issue (check log at end of post) and hope Microsoft can
    provide some guidance on this. Following is the problem we are facing today:
    We have configured the TFS Integration platform tool for VC - 2 way sync and started the migration. Current
    status is that the discovery, analysis is complete and migration is half way when I started to get such errors
    (check log at end of post) .
    Note that the migration has not stopped...
    After doing some research and googling I understand that the reason for this error is that by default if
    an individual file transfer cannot complete 16MB in 5 minutes, the operation will fail. And the solution to this is to modify
    chunk size in the file of "TfsMigrationShell.exe.config". I have few questions regarding this...
    Question 1:Is
    above understanding and solution correct? I also notice that this error appears for every huge file (approx >30MB), is there any timeout setting at the target server? Is this something to be changed at the Tool level config or the Target IIS level
    config?
    Question 2: Suppose
    I do not change the config setting, then huge files are skipped due to this error. However, after the migration of the other files is finished, then, will the tool retry to sync the skipped (huge) files? Or has it skipped them forever?
    Question 3:
    Suppose I modify
    chunk size in the file of "TfsMigrationShell.exe.config", then, which of the following do I need to do (give me the best solution among the 3 below)
    a) Do I need
    to restart the migration (by deleting and recreating the project on the 2nd TFS Server and re-starting migration)? 
    b) Do
    I need to create a new configuration and restart migration?
    c) Do I need to restart the sync service?
    The concern here is that we have got 3 more jobs (TFS
    Integration tool configurations) running parallelly that
    is syncing Work Items & VC of other TFS projects and want to make sure that restarting the TFS Integration Job Service will not have any negative impact on the other jobs as well as no negative impact on the current migration job...
    Microsoft, Please advice. Thanks!
    Log:
    [1/21/2015 10:55:39 AM] AsyncUploadFileState.Completed -- caught and converted:
    [1/21/2015 10:55:39 AM] Microsoft.TeamFoundation.VersionControl.Client.VersionControlException: C:\TfsIPData\10\ications\MDM Folder\Binaries\v9.5\DMS Web Service Release 1.5.zip: The request was aborted: The request was canceled. ---> System.Net.WebException: The request was aborted: The request was canceled. ---> System.IO.IOException: Cannot close stream until all bytes are written.
    [1/21/2015 10:55:39 AM] at System.Net.ConnectStream.CloseInternal(Boolean internalCall, Boolean aborting)
    [1/21/2015 10:55:39 AM] --- End of inner exception stack trace ---
    [1/21/2015 10:55:39 AM] at System.Net.ConnectStream.CloseInternal(Boolean internalCall, Boolean aborting)
    [1/21/2015 10:55:39 AM] at System.Net.ConnectStream.System.Net.ICloseEx.CloseEx(CloseExState closeState)
    [1/21/2015 10:55:39 AM] at System.Net.ConnectStream.Dispose(Boolean disposing)
    [1/21/2015 10:55:39 AM] at System.IO.Stream.Close()
    [1/21/2015 10:55:39 AM] at System.IO.Stream.Dispose()
    [1/21/2015 10:55:39 AM] at Microsoft.TeamFoundation.VersionControl.Client.FileUploader.UploadChunk(FileStream fileContentStream, Int64 end)
    [1/21/2015 10:55:39 AM] --- End of inner exception stack trace ---
    [1/21/2015 10:55:39 AM] at Microsoft.TeamFoundation.VersionControl.Client.Workspace.EndUploadFile(IAsyncResult asyncResult, PendingChange& pendingChange, Byte[]& uploadedContentBaselineFileGuid, Int64& uncompressedLength)
    [1/21/2015 10:55:39 AM] at Microsoft.TeamFoundation.VersionControl.Client.Workspace.AsyncUploadFileState.Completed(IAsyncResult asyncResult)

    Hi Charles,
    I have been doing in depth research and testing of this and here are my findings:
    Replies to your points:
    1) It failed with UploadChunkSize value change. Tried 1MB, 500KB, even 100KB. Fails with same error! Is there any other setting we can change for the timeouts at the target TFS server also?
    2) The huge files are not skipped. The migration loops on the failed files and doesn't continue to process the next lot of files. So the migration is blocked on the huge files.
    3) OK. Thanks. 
    Please see below the finding on when migration succeeds and when it fails:-
    Scenario 1:
    a) Where Migration fails:
    TFS A is in India and TFS B is in UK. Both TFS are on different domain. Migration tool is installed on same machine as TFS A. There is a firewall that allows the access from TFS A machine to TFS B machine. The migration tool fails to work in this scenario
    when it encounters a file size approx > 8MB. I tried setting the UploadChunkSize value to 100KB. Yet it failed!
    b) Where Migration works:
    However, if the files are approx less than 3MB then the migration works without any errors.
    Scenario 2 where TFS migration tool works:
    TFS A is in India and TFS B is also in India (located closeby). Both TFS are on different domain. Migration tool is installed on same machine as TFS A. There is no firewall in this case. No changes were made to UploadChunkSize value and files with size
    of 10's and 100's of MBs got synced without any issue.
    Questions
    Question 1: Can we conclude now that there is some issue with the firewall or network in case of scenario 1? As mentioned above Scenario 1 works if file size is less then approx 3MB.
    Question 2: Is there any timeout setting on the Target TFS server which can be set so that it waits for the file without timing out?
    Thanks for any help...

  • Processing was aborted because session was not available

    Hi Expert,
    I am facing the following issue for communication channel in Adapter Engine.
       <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: Exception during the primavera specific execution of the Adapapter request. Reason: javax.resource.ResourceException: Processing was aborted because Primavera Session is not available.</SAP:AdditionalText>
    <SAP:Stack />
       Regards
    Niraj

    Hi Niraj,
    primavera application seems some end system application which is having issue. i think primavera seems down. Please contact them, nothing to do in PI for this.
    Thanks,
    Madhu

  • M_ssl.AuthenticateAsServer An established connection was aborted by the software in your host machine

    m_ssl.AuthenticateAsServer(m_X509Certificate,
    false,
    SslProtocols.Tls12,
    false);
    Using Network 4.5.1 on Windows Server 2012 R2     (Virtual machine)  and C#
    The server receive connections from external devices, more than 1200 simultaneously.
    After the connection has been received, the TLS1.2  encryption is used.
    This works fine most of time, except (over weekends), it seems , when the external connection 3G is dropped and many of the external devices. Then about 200-500 of the external devices fails to connect while the remaining 600 stays connected.
    needs to connect again. The error I get during Authentication  is:  An established connection was aborted by the software in your host machine.
    Each ssl stream is dispose of when closed.    
    This is the only exception of with inner exceptions I get. No events are logged in the event log.
    How can I trace what s the reason why the host machine aborted the connection?
    On Hyper V, this is set

    Hello Commstech,
    >>How can I trace what s the reason why the host machine aborted the connection?
    If this exception occurs in the “AuthenticateAsServer” method, since the .NET team opens the source, you could check this blog:
    http://blogs.msdn.com/b/dotnet/archive/2014/02/24/a-new-look-for-net-reference-source.aspx to step into the source code to check what the exact caused reason is. Or according to the source code, to create a custom library which provides the communition
    function, in that custom library, adding the log trace logic so that if there is exception occurring, you just need to check the log.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • An error occurred at the server : Your request was cancelled due to an internal error on the Page Server. The object you are try

    hi i am getting this error.
    An error occurred at the server : Your request was cancelled due to an internal error on the Page Server. The object you are trying to view does not have the required property 'SI_FILES'. Please contact your system administrator
    please do the nedful.

    yeah Ted Ueda,
    what you are saying is correct. i am getting this output for
      report.getProgID() is CrystalEnterprise.Report.
    can you elaborate this. i am new to this. and also please let me know how to start and if u have any materials on this please forward to [email protected] and [email protected]
    please let me know which is best book for beginers.
    Thanks & Regards,
    Purushotham Podaralla

  • I need some help on how i can request to cancel the weekly updates n renewal that was charging my credit card.

    hi anybody help me on how can i request to cancel the weekly renewal of the voice on i tunes. it charged me every week on my creditcard billing.my son alreadyy deleted it on his ipad but continually charging us. please guide us it costs us 2dollars wkly

    ciedevera wrote:
    hi anybody help me on how can i request to cancel the weekly renewal of the voice...
    1) see here...
    iTunes Store: Purchasing and managing auto-renewing subscriptions
    2) Contact the developer...
    3) If necessary...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • I requested a repair, but there was an error after clicking the button with my credit card info. I was still charged, but the form email I received the next day had incorrect info about my iPod Touch problem. How can I contact CS w/o paying $19?!

    My iPod Touch battery is not working. I requested a repair through the Apple Support. On the final page, when I clicked the button that puts the info through with your credit card number, the resulting page gave an error (I wish I'd have saved it!). Anyhow, I checked my credit card and it was charged, so I assumed the repair request went through. The next day I received a form email saying my problem was with "Sync with iTunes (Not iCloud) - Data Backup/Migration (not iCloud)" instead of the battery repair. It also says for iPod customers, to send your iPod to Apple - but I had requested the "iPod Coffin" to be mailed to me so I could send it back. Obviously there was an error between the request and what was received, so I'd like to ask Customer Service about it. However, I can't find a way to contact them. When I replied to that form email, I recieved an automated reply saying emails there were not read. Anything online asks me to pay $19 and I don't have the correct issues to request an exception. The closest store is over an hour away or I'd simply go there to ask. What can I do?! Any suggestions you have are much appreciated. Thank you!
    PS - The form email also says if I wait 10 days the repair request will be canceled. Does this mean my credit card will be refunded for the $85 battery replacement charge if it is canceled automatically?

    Thanks, but I've been on the phone with AppleCare US (where I am and live) and AppleCare UK. They continue bouncing me back and forth without helping resolve the problem.
    Perhaps someones knows how to further escalate the issue at Apple?

  • The Microsoft Exchange Mailbox Replication service was unable to process a request due to an unexpected error. Event 1121

    Hello all,
    We migrated our Exchange server from 2003 to 2010. After the mailbox move requests were finished we had one that was stuck. We basically skipped it as we had a lot of other things to finish over the weekend. Here we are a year later, the old exchange server
    is gone and so is an old DC. I am receiving an error every four minutes in event viewer.
    The Microsoft Exchange Mailbox Replication service was unable to process a request due to an unexpected error.
    Request GUID: '3e46b7cb-2ac0-42c1-98e8-57517a19ee40' 
    Database GUID: '5c6c573b-4f45-4ce3-b296-11cf69c2e2b6'
    Error: Unable to find 'OLD Domain Controller' computer information in domain controller 'OLD Domain Controller' to perform the suitability check. Verify the fully qualified domain name..
    I have checked in EMC for move requests. None are listed. I have checked the DCs listed in EMC properties. Old DC is not listed.
    I also ran these commands in shell to attempt to cancel the stuck request.
    Get-MoveRequest -MoveStatus Completed;Pending;InProgress;Failed;CompletedWithWarning;Suspended;Queued;CompletionWithProgress : Remove-MoveRequest
    NO changes. Still throwing error. Any suggestions? I also tried using the guid and shell to look at the move request. Systems replies no such request.

    Hello,
    Please try to restart iis services to check the result.
    If the issue persists, I recommend you ping you DC server on your exchange server to check if your exchange server can communicate with your DC server.
    If there are other DCs, please try to use set-adserversettings cmdlet to specify a DC for your exchange server.
    Set-AdServerSettings
    http://technet.microsoft.com/en-us/library/dd298063(v=exchg.150).aspx
    Besides, please install the lasted rollup to check the result.
    Cara Chen
    TechNet Community Support

  • The requested URL /Site/Home.html was not found on this server - HELP!

    NOT FOUND: The requested URL /Site/Home.html was not found on this server.
    This comes up when I type in my website address. I am new to this, have created my website on iweb, bought the domain name and purchased web hosting with 123-REG. I ask for their help but have only received the same rote info and nothing that has solved my problem.
    I am using Cyberduck as my FTP client but tried Classic FTP for macs before this and although it says that I am connected, it is saying that it can not change to the directory hosting10.123-reg.co.uk and asks if I have permission to be using it? I am not sure what to do?
    Please could someone advise me?
    Thanks!

    Welcome to the Apple Discussions. Since you're not using MobileMe these pages might be of some help to you:
    http://homepage.mac.com/thgewecke/iwebserver.html
    http://iwebfaq.org/site/iWebFolderFTP.html
    http://docs.info.apple.com/article.html?path=iWeb/2.0/en/6838.html
    OT

  • Error deleting VHD: There is currently a lease on the blob and no lease ID was specified in the request

    When attempting to delete a VHD's blob you may receive the following error:
    There is currently a lease on the blob and no lease ID was specified in the request
    While these errors are expected if a VHD is still registered as a disk or image in the portal, we have identified an issue where a lease remains even if the blob is not registered as a disk or image in the portal.
    If you receive one of these errors, first make sure the VHD is not in use:
    In the Windows Azure management portal, if the disk shows up under Virtual Machines,
    Disks, and the Attached To column is not blank, you should first remove that VM in the
    Attached To column by going to VM Instances, selecting the VM, then clicking
    Delete.
    If Attached To is blank, or the VM in the Attached To column was already removed, try removing the disk by highlighting it under
    Disks and clicking Delete Disk (this will not physically delete the VHD from blob storage, it only removes the disk object in the portal). If you have multiple pages of disks it can be easier to search for a specific disk by
    clicking the magnifying glass icon at the top right.
    If Delete Disk is grayed out, or the disk is not listed under Disks, but you still cannot reuse it or delete it, review the options below.
    Breaking the lease
    You can use the
    Lease Blob API to break the lease in this scenario, which is also available in the Windows Azure PowerShell assembly
    Microsoft.WindowsAzure.StorageClient.dll using
    LeaseAction Enumeration.
    To use the BreakLease.ps1 script to break the lease:
    Download Azure PowerShell by clicking Install under Windows here:
    http://www.windowsazure.com/en-us/manage/downloads/
    Start, Search, type Windows Azure PowerShell and open that console.
    Run Get-AzurePublishSettingsFile to launch a browser window to
    https://windows.azure.com/download/publishprofile.aspx to download the management certificate in a
    .publishsettings file in order to manage your subscription with PowerShell.
    Get-AzurePublishSettingsFile
    Run Import-AzurePublishSettingsFile to import the certificate and subscription information. Replace the path below with the full path to the .publishsettings file if you didn't save it to your
    Downloads folder. If you saved it to Downloads you can run it as-is, otherwise replace the path with the full path to the
    .publishsettings file.
    Import-AzurePublishSettingsfile $env:userprofile\downloads\*.publishsettings
    Copy the script below into a text editor such as Notepad and save it as
    BreakLease.ps1.
    Run Set-ExecutionPolicy to allow script execution:
    Set-ExecutionPolicy unrestricted
    Run BreakLease.ps1 with the URL to the VHD in order to break the lease. The script obtains the necessary storage account information, checks that the blob is not currently registered as a disk or as an image, then proceeds to break the
    current lease (if any).
    Sample output:
    BreakLease.ps1 -Uri 'http://clstorage.blob.core.windows.net/vhds/testvm1-testvm1-2012-06-26.vhd'
    Processing http://clstorage.blob.core.windows.net/vhds/testvm1-testvm1-2012-06-26.vhd
    Reading storage account information...
    Confirmed - storage account 'clstorage'.
    Checking whether the blob is currently registered as a disk or image...
    Confirmed - the blob is not in use by the Windows Azure platform.
    Inspecting the blob's lease status...
    Current lease status: Locked
    Unlocking the blob...
    Current lease status: Unlocked
    Success - the blob is unlocked.
    BreakLease.ps1
    Param([string]$Uri = $(Read-Host -prompt "Please specify a blob URL"))
    $ProgressPreference = 'SilentlyContinue'
    echo "Processing $Uri"
    echo "Reading storage account information..."
    $acct = Get-AzureStorageAccount | ? { (new-object System.Uri($_.Endpoints[0])).Host -eq (new-object System.Uri($Uri)).Host }
    if(-not $acct) {
    write-host "The supplied URL does not appear to correspond to a storage account associated with the current subscription." -foregroundcolor "red"
    break
    $acctKey = Get-AzureStorageKey ($acct.StorageAccountName)
    $creds = "DefaultEndpointsProtocol=http;AccountName=$($acctKey.StorageAccountName);AccountKey=$($acctKey.Primary)"
    $acctobj = [Microsoft.WindowsAzure.CloudStorageAccount]::Parse($creds)
    $uri = $acctobj.Credentials.TransformUri($uri)
    echo "Confirmed - storage account '$($acct.StorageAccountName)'."
    $blobclient = New-Object Microsoft.WindowsAzure.StorageClient.CloudBlobClient($acctobj.BlobEndpoint, $acctobj.Credentials)
    $blobclient.Timeout = (New-TimeSpan -Minutes 1)
    $blob = New-Object Microsoft.WindowsAzure.StorageClient.CloudPageBlob($uri, $blobclient)
    echo "Checking whether the blob is currently registered as a disk or image..."
    $disk = Get-AzureDisk | ? { (new-object System.Uri($_.MediaLink)) -eq $blob.Uri }
    if($disk) {
    write-host "The blob is still registered as a disk with name '$($disk.DiskName)'. Please delete the disk first." -foregroundcolor "red"
    break
    $image = Get-AzureVMImage | ? { $_.MediaLink -eq $blob.Uri.AbsoluteUri }
    if($image) {
    write-host "The blob is still registered as an OS image with name '$($image.ImageName)'. Please delete the OS image first." -foregroundcolor "red"
    break
    echo "Confirmed - the blob is not in use by the Windows Azure platform."
    echo "Inspecting the blob's lease status..."
    try {
    $blob.FetchAttributes()
    } catch [System.Management.Automation.MethodInvocationException] {
    write-host $_.Exception.InnerException.Message -foregroundcolor "red"
    break
    echo "Current lease status: $($blob.Properties.LeaseStatus)"
    if($blob.Properties.LeaseStatus -ne [Microsoft.WindowsAzure.StorageClient.LeaseStatus]::Locked) {
    write-host "Success - the blob is unlocked." -foregroundcolor "green"
    break
    echo "Unlocking the blob..."
    $request = [Microsoft.WindowsAzure.StorageClient.Protocol.BlobRequest]::Lease($uri, 0, [Microsoft.WindowsAzure.StorageClient.Protocol.LeaseAction]::Break, $null)
    $request.Timeout = $blobclient.Timeout.TotalMilliseconds
    $acctobj.Credentials.SignRequest($request)
    try {
    $response = $request.GetResponse()
    $response.Close()
    catch {
    write-host "The blob could not be unlocked:" -foregroundcolor "red"
    write-host $_.Exception.InnerException.Message -foregroundcolor "red"
    break
    $blob.FetchAttributes()
    echo "Current lease status: $($blob.Properties.LeaseStatus)"
    write-host "Success - the blob is unlocked." -foregroundcolor "green"
    Alternate method: make a copy of the VHD in order to reuse a VHD with a stuck lease
    If you have removed the VM and the disk object but the lease remains and you need to reuse that VHD, you can make a copy of the VHD and use the copy for a new VM:
    Download CloudXplorer. This will work with other
    Windows Azure Storage Explorers but for the sake of brevity these steps will reference CloudXplorer.
    In the Windows Azure management portal, select Storage on the left, select the storage account where the VHD resides that you want to reuse, select
    Manage Keys at the bottom, and copy the Primary Access Key.
    In CloudXplorer, go to File, Accounts,
    New, Windows Azure Account and enter the storage account name in the
    Name field and the primary access key in the Secret Key field. Leave the rest on the default settings.
    Expand the storage account in the left pane in CloudXplorer and select the
    vhds container (or if the VHD in question is one uploaded to a different location, browse to that location instead).
    Right-click the VHD you want to reuse (which currently has a stuck lease), select
    Rename, and give it a different name. This will throw the error
    could not rename…there is currently a lease on the blob… but click
    Yes to continue, then View, Refresh (F5) to refresh and you will see it did make a copy of the VHD since it could not rename the original.
    In the Azure management portal, select Virtual Machines,
    Disks, then Create Disk at the bottom.
    Specify a name for the disk, click the folder icon under VHD URL to browse to the copy of the VHD you just created, check the box for
    This VHD contains an operating system, select the drop-down to specify if it is
    Windows or Linux, then click the arrow at the bottom right to create the disk.
    After the portal shows Successfully created disk <diskname>, select
    New at the bottom left of the portal, then Virtual Machine,
    From Gallery, My Disks, and select the disk you just created, then proceed through the rest of the wizard to create the VM.
    Thanks,
    Craig

    Just to add an update to this, it looks like the namespaces have changed with the latest version of the SDK. I have updated the script to use the new namespaces, namely: Microsoft.WindowsAzure.Storage.Blob.CloudPageBlob and Microsoft.WindowsAzure.Storage.CloudStorageAccount.
    Param([string]$Uri = $(Read-Host -prompt "Please specify a blob URL"))
    $ProgressPreference = 'SilentlyContinue'
    echo "Processing $Uri"
    echo "Reading storage account information..."
    $acct = Get-AzureStorageAccount | ? { (new-object System.Uri($_.Endpoints[0])).Host -eq (new-object System.Uri($Uri)).Host }
    if(-not $acct) {
    write-host "The supplied URL does not appear to correspond to a storage account associated with the current subscription." -foregroundcolor "red"
    break
    $acctKey = Get-AzureStorageKey ($acct.StorageAccountName)
    $creds = "DefaultEndpointsProtocol=http;AccountName=$($acctKey.StorageAccountName);AccountKey=$($acctKey.Primary)"
    $acctobj = [Microsoft.WindowsAzure.Storage.CloudStorageAccount]::Parse($creds)
    $uri = $acctobj.Credentials.TransformUri($uri)
    echo "Confirmed - storage account '$($acct.StorageAccountName)'."
    $blob = New-Object Microsoft.WindowsAzure.Storage.Blob.CloudPageBlob($uri, $creds)
    echo "Checking whether the blob is currently registered as a disk or image..."
    $disk = Get-AzureDisk | ? { (new-object System.Uri($_.MediaLink)) -eq $blob.Uri }
    if($disk) {
    write-host "The blob is still registered as a disk with name '$($disk.DiskName)'. Please delete the disk first." -foregroundcolor "red"
    break
    $image = Get-AzureVMImage | ? { $_.MediaLink -eq $blob.Uri.AbsoluteUri }
    if($image) {
    write-host "The blob is still registered as an OS image with name '$($image.ImageName)'. Please delete the OS image first." -foregroundcolor "red"
    break
    echo "Confirmed - the blob is not in use by the Windows Azure platform."
    echo "Inspecting the blob's lease status..."
    try {
    $blob.FetchAttributes()
    } catch [System.Management.Automation.MethodInvocationException] {
    write-host $_.Exception.InnerException.Message -foregroundcolor "red"
    break
    echo "Current lease status: $($blob.Properties.LeaseStatus)"
    if($blob.Properties.LeaseStatus -ne [Microsoft.WindowsAzure.Storage.StorageClient.LeaseStatus]::Locked) {
    write-host "Success - the blob is unlocked." -foregroundcolor "green"
    break
    echo "Unlocking the blob..."
    $request = [Microsoft.WindowsAzure.Storage.StorageClient.Protocol.BlobRequest]::Lease($uri, 0, [Microsoft.WindowsAzure.Storage.StorageClient.Protocol.LeaseAction]::Break, $null)
    $request.Timeout = $blobclient.Timeout.TotalMilliseconds
    $acctobj.Credentials.SignRequest($request)
    try {
    $response = $request.GetResponse()
    $response.Close()
    catch {
    write-host "The blob could not be unlocked:" -foregroundcolor "red"
    write-host $_.Exception.InnerException.Message -foregroundcolor "red"
    break
    $blob.FetchAttributes()
    echo "Current lease status: $($blob.Properties.LeaseStatus)"
    write-host "Success - the blob is unlocked." -foregroundcolor "green"

  • The Microsoft Exchange Mailbox Replication service was unable to process a request due to an unexpected error. : Error: An Active Directory Constraint Violation error occurred

    Hello,
    We have a multi domain parent child AD domain infrastructure and now we upgraded our exchange from Exchange 2007 to Exchange 2013. Since last few days, we see the below error on the mailbox server event viewer.
    EVENT ID : 1121
    The Microsoft Exchange Mailbox Replication service was unable to process a request due to an unexpected error. 
    Request GUID: '93a7d1ca-68a1-4cd9-9edb-a4ce2f7bb4cd' 
    Database GUID: '83d028ec-439d-4904-a0e4-1d3bc0f58809' 
    Error: An Active Directory Constraint Violation error occurred on <domain controller FQDN>. Additional information: The name reference is invalid. 
    This may be caused by replication latency between Active Directory domain controllers. 
    Active directory response: 000020B5: AtrErr: DSID-0315286E, #1:
    Our Exchange setup is in parent domain, but we keep on getting this error for various domain controllers in each child domain in the same site. We then configured one of the parent domain domain controller on Exchange. Still we are getting this error for
    the configured parent domain DC.
    Verified the AD replication and there is no latency or pending stuffs.
    Any support  to resolve this issue will be highly appreciated. Thank you in advance.
    Regards,
    Jnana R Dash

    Hi,
    In addition to Ed's suggestion, I would like to clarify the following things for troubleshooting:
    1. Please restart IIS at first.
    2. If the issue persists, please ping your DC on your Exchange server to check if Exchange can communicate with DC.
    Hope it helps.
    Best regards,
    Amy Wang
    TechNet Community Support

  • The Microsoft Exchange Mailbox Replication service was unable to process a request due to an unexpected error

    Since demoting a child domain a few days ago, Exchange 2013 is still trying to contact it and as a result generating errors in the application event logs.  I had a similar problem which I solved by removing some old migration batches, now I have a problem
    with the Microsoft Exchange Mailbox Replication service.
    The event logged is:
    The Microsoft Exchange Mailbox Replication service was unable to process a request due to an unexpected error.
    Request GUID: '0b6c0f5a-0563-48e2-8b97-e0781c6cc69a' 
    Database GUID: '23258311-ad29-41c2-a842-522f48baa267'
    Error: Unable to read from Active Directory. --> The call to Microsoft Exchange Active Directory Topology service on server 'TopologyClientTcpEndpoint (localhost)' returned an error. Error details Unable to find a suitable directory server for
    domain 'admin.riddlesdown.local'.. --> Unable to find a suitable directory server for domain 'admin.riddlesdown.local'..
    Process Microsoft.Exchange.Directory.TopologyService.exe (PID=2280). Exchange Active Directory Provider could not find an available domain controller in domain admin.riddlesdown.local. This event may be caused by network connectivity issues or
    configured incorrectly DNS server.
    The domain doesn't exist in AD Sites and Services, I have removed all traces from DNS but this is still occurring.  When I run Get-ADServerSettings | fl it reports no trace of the domain or a DC that was previously in it.
    How can I stop these events occurring and is it likely to be causing something else not to work correctly.
    We are running Exchange 2013 CU1

    No, that didn't work.  Here are more details:
    Source: MSExchange ADAccess (EventID: 2130)
    Process Microsoft.Exchange.Directory.TopologyService.exe (PID=2280). Exchange Active Directory Provider could not find an available domain controller in domain admin.riddlesdown.local. This event may be caused by network connectivity issues or configured
    incorrectly DNS server.
    Source: MSExchange ADAccess (EventID: 2119)
    Process Microsoft.Exchange.Directory.TopologyService.exe (PID=2280). Error DNS_ERROR_RCODE_NAME_ERROR (0x8007232B) occurred when DNS was queried for the service location (SRV) resource record used to locate a domain controller for domain admin.riddlesdown.local
     The query was for the SRV record for _ldap._tcp.dc._msdcs.admin.riddlesdown.local
     Common causes of this error include the following:
     - The DNS SRV records required to locate a domain controller for the domain are not registered in DNS. These records are registered with a DNS server automatically when a domain controller is added to a domain. They are updated by the domain controller
    at set intervals. This computer is configured to use DNS servers with following IP addresses:
    10.59.100.7
    10.59.100.8
    fec0:0:0:ffff::1Microsoft.Exchange.Directory.TopologyService.exe
    fec0:0:0:ffff::2Microsoft.Exchange.Directory.TopologyService.exe
    fec0:0:0:ffff::3Microsoft.Exchange.Directory.TopologyService.exe
     - One or more of the following zones do not include delegation to its child zone:
    admin.riddlesdown.local
    riddlesdown.local
    local
    . (the root zone)
    Source: MSExchange Mailbox Replication Service (EventID: 1121)
    The Microsoft Exchange Mailbox Replication service was unable to process a request due to an unexpected error.
    Request GUID: '87f4b926-0621-43d3-afeb-fe475ee6d850' 
    Database GUID: '23258311-ad29-41c2-a842-522f48baa267'
    Error: Unable to read from Active Directory. --> The call to Microsoft Exchange Active Directory Topology service on server 'TopologyClientTcpEndpoint (localhost)' returned an error. Error details Unable to find a suitable directory server for domain 'admin.riddlesdown.local'..
    --> Unable to find a suitable directory server for domain 'admin.riddlesdown.local'..
    Something is cause the Exchange server to go looking for our old domain, but what and why?

  • Not found - The requested URL /apex/wwv_flow.show was not found on this ser

    I have a very simple anonymous block (see below) which I am using to test an area of the database I am developing using OE and APEX. Sometimes the block works and other times it fails with the following error message------
    Not found - The requested URL /apex/wwv_flow.show was not found on this server
    Before the error message is displayed a pop-up window appears with a submit button ( the heading on the window contains --- Enter Bind Variables - windows internet explorer), which I do not understand.
    Is the problem I am experiencing due to some memory limitation ? or do I have a corrupt oracle system (everything else appears OK though).
    Any help or advice would be much appreciated.
    Best Regards
    Lawrence Cattell
    Here is the anonymous block (please no comments on the code). If I extend the number of DBMS_OUTPUT.PUT_LINES beyond the current number of 3 it fails everytime, sometimes it works with 3, sometimes it fails. Is it related to the number of variables I am binding to the WSI_QUOTE Type ?
    DECLARE
    v_dir VARCHAR2(20):='WSI_REPORTS';
    V_COUNT NUMBER(2,0);
    V_QTE_REF_NBR WSI_QUOTES.QTE_REF_NBR%TYPE;
    V_CTR_ID WSI_QUOTES.CTR_ID%TYPE;
    v_QTE_REC_NBR WSI_QUOTES.QTE_REC_NBR%TYPE;
    v_QTE_DTE WSI_QUOTES.QTE_DTE%TYPE;
    V_PEB_NBR WSI_QUOTES.PEB_NBR%TYPE;
    V_QTE_COM WSI_QUOTES.QTE_COM%TYPE;
    V_SAI_NBR_01 WSI_QUOTES.SAI_NBR_01%TYPE;
    V_QTY_01 WSI_QUOTES.QTY_01%TYPE;
    V_SAI_NBR_02 WSI_QUOTES.SAI_NBR_02%TYPE;
    V_QTY_02 WSI_QUOTES.QTY_02%TYPE;
    V_SAI_NBR_03 WSI_QUOTES.SAI_NBR_03%TYPE;
    V_QTY_03 WSI_QUOTES.QTY_03%TYPE;
    V_SAI_NBR_04 WSI_QUOTES.SAI_NBR_04%TYPE;
    V_QTY_04 WSI_QUOTES.QTY_04%TYPE;
    V_SAI_NBR_05 WSI_QUOTES.SAI_NBR_05%TYPE;
    V_QTY_05 WSI_QUOTES.QTY_05%TYPE;
    V_SAI_NBR_06 WSI_QUOTES.SAI_NBR_06%TYPE;
    V_QTY_06 WSI_QUOTES.QTY_06%TYPE;
    V_SAI_NBR_07 WSI_QUOTES.SAI_NBR_07%TYPE;
    V_QTY_07 WSI_QUOTES.QTY_07%TYPE;
    V_SAI_NBR_08 WSI_QUOTES.SAI_NBR_08%TYPE;
    V_QTY_08 WSI_QUOTES.QTY_08%TYPE;
    V_SAI_NBR_09 WSI_QUOTES.SAI_NBR_09%TYPE;
    V_QTY_09 WSI_QUOTES.QTY_09%TYPE;
    V_SAI_NBR_10 WSI_QUOTES.SAI_NBR_10%TYPE;
    V_QTY_10 WSI_QUOTES.QTY_10%TYPE;
    V_CTR_NME WSI_CUSTOMERS.CTR_NME%TYPE;
    CURSOR GET_QUOTE_INFO_CUR IS
    SELECT *FROM WSI_QUOTES WHERE QTE_REC_NBR = 2;
    BEGIN
    DELETE WSI_QUOTE_TEMP_HOLD;
    OPEN GET_QUOTE_INFO_CUR;
    LOOP
    FETCH GET_QUOTE_INFO_CUR INTO V_QTE_REC_NBR,V_QTE_REF_NBR,V_CTR_ID,v_QTE_DTE,V_PEB_NBR, V_SAI_NBR_01,V_QTY_01,V_SAI_NBR_02,V_QTY_02,V_SAI_NBR_03, V_QTY_03,
    V_SAI_NBR_04, V_QTY_04, V_SAI_NBR_05, V_QTY_05,V_SAI_NBR_06, V_QTY_06,V_SAI_NBR_07,V_QTY_07,V_SAI_NBR_08, V_QTY_08, V_SAI_NBR_09, V_QTY_09,
    V_SAI_NBR_10,V_QTY_10,V_QTE_COM;
    EXIT WHEN GET_QUOTE_INFO_CUR%NOTFOUND;
    SELECT CTR_NME INTO v_CTR_NME FROM WSI_CUSTOMERS WHERE CTR_ID = V_CTR_ID;
    END LOOP;
    CLOSE GET_QUOTE_INFO_CUR;
    V_COUNT :=1;
    DBMS_OUTPUT.PUT_LINE(v_QTE_REF_NBR|| '***' ||v_CTR_ID|| '***' ||V_CTR_NME|| '***' ||V_peb_NBR|| '***' ||V_SAI_NBR_01|| '***' ||V_QTY_01);
    DBMS_OUTPUT.PUT_LINE(v_QTE_REF_NBR|| '***' ||v_CTR_ID|| '***' ||V_CTR_NME|| '***' ||V_peb_NBR|| '***' ||V_SAI_NBR_02|| '***' ||V_QTY_02);
    DBMS_OUTPUT.PUT_LINE(v_QTE_REF_NBR|| '***' ||v_CTR_ID|| '***' ||V_CTR_NME|| '***' ||V_peb_NBR|| '***' ||V_SAI_NBR_03|| '***' ||V_QTY_03);
    END;

    The interpreter could be choking on the "*from" (no space before "from") might not be parsing the SQL as intended .
    The "Enter Bind Variables" dialog box is coming from something undefined, I'd suggest putting that block into an .sql file and run it via sqlplus.
    To demonstrate how a bind variable is handled try setting up a file with:
    select * from sometablename where somecolname = &somekeyval;
    -- or '&somekeyval' if its varchar2When you connect with sqlplus and run that file it will prompt for the value to use for "somekeyval".
    Only other thing is to ensure the "select * ..." has the same column names and in the same order as expected by the fetch, perhaps the table layout has changed and you could be getting an added column or maybe missing one at the end of the list.
    If you try running that block in a sqlplus session enable serveroutput to see the dbms_out result (set serveroutput on size 50000)

  • SQL Azure Reporting - There was an exception running the extensions specified in the config file. --- Maximum request length exceeded.

    I am trying to deploy an RDL file (5MB) to SQL Azure Reporting server in South Central US using the deploy function in SQL Server Data Tools but facing the following error during deployment to Azure Reporting server.
    "There was an exception running the extensions specified in the config file. ---> Maximum request length exceeded."
    Is there any limit on the size of RDL files which can be deployed to Azure Reporting server? I have seen some online posts which talk about increasing the maxRequestLength in httpruntime of web.config in Reporting server. But in case of Azure Reporting server
    how can be make modification to this configuration?
    I have tried to upload it directly to SQL Azure Reporting server from the Management Portal --> Upload Report function which still resulted in error.
    Thanks & Regards, Deep

    Thanks for your question. Unfortunately we are in the process of deprecating SQL Reporting services.  Full details are available at http://msdn.microsoft.com/en-us/library/gg430130.aspx
    Thanks Guy

  • Claims authentication: "Server was unable to process request. --- Index was outside the bounds of the array"

    Hi there,
    I recently got a peculiar error when users tried to log-in into a SP 2010 portal using claims based authentication.
    The following error is logged in the event viewer of the SP server in question:
    Event ID 8306 - Claims authentication
    An exception occurred when trying to issue security token: Server was unable to process request. ---> Index was outside the bounds of the array.
    I also found an IIS warning entry with a similar message:
    Event ID 1309 - Web Event
    Exception type: FaultException
    Exception message: Server was unable to process request. ---> Index was outside the bounds of the array.
    I simply could not find an answer to why this happened, but an iisreset seemed to have fixed the issue. I was wondering if anyone here would know a possible root cause for this issue?
    Thanks in advance for your help.
    Regards,
    P.

    Hi,
    Thanks for posting your issue, Kindly browse below mentioned URLs to fix this issue
    http://underthehood.ironworks.com/2011/05/sharepoint-2010-an-exception-occurred-when-trying-to-issue-security-token-the-server-was-unable-to-p-1.html
    http://nearbaseline.com/blog/2011/01/claims-exception-occurred-issuing-a-security-token/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

Maybe you are looking for