ERROR :SCRIPT7002: XMLHttpRequest: Network Error 0x2efd, Could not complete the operation due to error 00002efd. File: default.html

Hi ,all
I am beginner for windows 8 app development.
I created simple project on domain name called www.aaa.com and also hosted web services on same domain. at that time i was able to access web services on my application code using AJAX. Then i created same project on another domain called www.bbb.com then
i tried to access wcf services from www.aaa.com domain. at that time my javaScript console is throwing this error "SCRIPT7002: XMLHttpRequest: Network Error 0x2efd, Could not complete the operation due to error 00002efd.
File: default.html". I tried some thing on both end on web services project as well as windows 8 app.
AT app side in package.appxmanifest file i added below code.
<Capabilities>
    <Capability Name="privateNetworkClientServer" />
    <Capability Name="internetClient" />
  </Capabilities>
AT web services side in web.config file i added following settings.
<serviceHostingEnvironment aspNetCompatibilityEnabled="true"
        multipleSiteBindingsEnabled="true" />
    <standardEndpoints>
      <webScriptEndpoint>
        <standardEndpoint name="" crossDomainScriptAccessEnabled="true" />
      </webScriptEndpoint>
    </standardEndpoints>
but above all diagnostics are not working for me.
and one more thing at www.bbb.com domain in sample android app while i am trying to consume my wcf services it is working fine. the problem is specifically for windows 8 app only.
Here is sample code which i had written in default.html file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>DemoWebService</title>
<!-- DemoWebService references -->
<script src="/js/default.js"></script>
<script>
var personNameVar = "Hardik";
var dataIn = '{' + '"personName":"' + personNameVar + '"}';
$.ajax({
url: "http://SomeIP:SomePort/Service1.svc/HelloWorld",
type: "POST",
contentType: "application/json; charset=utf-8",
data: dataIn,
dataType: "json",
success: function (data) {
var object = JSON.parse(data.d);
if (object.Error == '') {
$('body').html(object.Response);
error: function (error) {
$('body').html(error);
</script>
</head>
<body>
</body>
</html>
so is there any help. I am eagerly waiting for it.
P.S I am accessing www.aaa.com web services using VPN.
Thanks in advance,
Hardik

In that case, I recommend that you collect a Network trace using a tool such as Microsoft Network Monitor or Wireshark to understand what IP Address is the connection being made to. The 0x2efd error correlates to the WinINet error: ERROR_INTERNET_CANNOT_CONNECT
meaning that the connection with the remote server cannot be established. When you collect a network trace, try looking for the TCP-SYN signal and see whether your remote server responds with a SYN-ACK.
Windows Store Developer Solutions, follow us on Twitter:
@WSDevSol|| Want more solutions? See our blog

Similar Messages

  • Error in ie7 - "Could not complete the operation due to error c00ce56e"

    While opening dashboard report with OBIEE 11g in IE7, the following error occurs,
    *"Could not complete the operation due to error c00ce56e"*
    However, we can't see dashboard prompts and getting character encoding problem.
    The application works fine in ie8 and firefox...
    Is it possible to solve the problem, without upgrading ie7 to ie8?
    Thanks...

    Hi,
    it looks like an Ajax and IE issue. Have a look at the following links, they might help you.
    http://www.webmasterworld.com/javascript/3341129.htm
    http://xrigher.co.cc/web/sloving-the-ajax-error-c00ce56e/
    Regards,
    Kalyan Chukkapalli
    http://123obi.com

  • Outlook 2010 "could not complete the operation" when forwarding email

    Hi, I have a user who is experiencing the following error. He is opening an email, clicking Forward, adding some text of his own to the top, and clicking Send. When he does, he gets the following error: "Microsoft Outlook could not complete the operation.
    One or more parameter values are not valid." I first had him run the inbox repair tool SCANPST.EXE and it did not help. Then I had him delete his mail profile, create a new one, and re-downloaded the local copy of his mailbox from the Exchange server (he is
    running in Cached mode). No change, he is still getting the error. Some searching produced the suggestion to rename the existing OUTCMD.DAT, EXTEND.DAT and FRMCAHE.DAT files to force Outlook to create new ones, but I don't know where those files are located,
    and in any case as far as I can see, it may apply only to older versions of Outlook, or an Outlook client configured to use POP3/IMAP and not Exchange as ours is. Any advice?

    Hi Dan,
    Please check whether there are some add-in application on the client end, and disable them to make a test.
    How about on other box to create a new profile to make a test?
    Regards!
    Gavin
    TechNet Subscriber Support
    in forum
    If you have any feedback on our support, please contact
    [email protected]
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • VS 2013 Community Edition lost its license: SP324098: Your browser could not complete the operation.

    I have installed Visual Studio 2013 Community Edition on a brand new Windows 7 machine and registered with a new Microsoft account. This was for testing purpose to see how well the new Community Edition would work in comparison to the Professional Edition.
    At first, everything looked good.
    Didn't use it in a while now, and just came back to see that it's complaining about a license. What a warm welcome. It gave me a link to "renew" the license and I clicked it. It opened that pre-login window, then came back and said this:
    SP324098: Your browser could not complete the operation.
    That's all. Every single time I retry. What does it even mean? I don't want my browser (IE11 by the way) to do anything, I just want that license to use my free Visual Studio edition. Is it not free after all, was it just a trial that has now expired? I
    mean, why should I get a 1500$ application for free... That just doesn't sound real.
    Anyway, can somebody tell me what went wrong and whether/how it can be fixed?

    Okay, something's badly broken here in my region. I took an older VM with Windows 8.1 and an installed VS 2013 (from MSDN, with licence), uninstalled VS 2013, installed all Windows updates, and then installed the VS 2015 CTP 5. It has installed fine, but
    at the first start, it says:
    Sorry, we ran into a problem.
    SP324098: Your browser could not complete the operation.
    At least I can ignore the problem and continue in this case. After starting, under "Register product", it first said "licence expires in 14 days" and I was logged in with my primary account. Must have been from the previous installation.
    The error code appeared here as well. After logging out and registering again, it seems to work. And my default browser here is Chrome and I never took special care about IE. In VS 2013 CE, however, I don't even get the login form.
    So this is an entirely different machine, it has never seen a community edition of Visual Studio nor the separate account I used for it. Yet it failed with the very same error message. What the heck does that error code even mean and what is the real cause
    of it?? Can you please tell me the truth about it? I don't want to chase symptoms or try every guess somebody might have (retry, restart, reinstall) – that leads us nowhere. This error appears for a reason, I hope, and somebody must be able to find that out.
    (If not, I'm really wondering what Microsoft engineers do and whether they know their product.)
    If this doesn't improve, I honestly and urgently suggest you drop this broken licensing implementation and replace it by what there was before (i.e. product key or nothing at all) or use another proven technology. This thing just isn't stable or reliable
    and will cause trouble.

  • SP324099: Could not complete the operation. This is making me loose my patience.

    As the tittle says error 
    SP324099: Could not complete the operation.
    has been harassing me for the last couples of days while i had tried to renew my bloody license which requires me to sing in.
    I have started even loosing confidence in MS and I have tried all the solutions i have found, None have yield any positives result if this program wasn't needed for a class i would have just given up on it by this point. I am using MS Virtual Studio 2013
    with update 4, and have been trying to input a product key. I have tried to flush my dns, re installing and the bloody command prompt (VSExpres.exe/resetuserdata) this has been an absolute nightmare and this had made me severly consider waisting any more time
    or money on your product. Either way Can some one help me with this?

    Hello
    MarquisNikola,
    So you means you cannot register for Visual Studio Express 2013 with the error you mentioned?
    Are you able to navigate to this site:
    https://app.vssps.visualstudio.com/profile/view?
    If you can, please create a new account by click the "create a free account now" and use it to access. I see someone else fixed the issue with this way.
    By the way,you mentioned you are renew your license,do you mean it is expired and you haven't typed the license key before?
    Best regards,
    Barry
    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.

  • Sorry, we could not complete the operation. Please try again later or reload the web page

    I am a bizspark member and wanted to signup for Azure. 
    I did phone verification part and when I sign up I get this error 
    Sorry, we could not complete the operation. Please try again later or reload the web page
    Same happened with my colleagues ones too. But 2 invites got accepted after reloading the webpage for 100+ times. I am loosing my patience here. I have seen others getting this error as well. Do you guys have any idea how irritating this is? Azure support
    is also not responding properly. Its a big headache for developers like us. 
    When will you solve this issue? And I want an correct explanation why this error occurs. Don't tell me to clear cookies and cache. I've done everything. Tried different browsers. 

    Hi,
    It seems there is something wrong with your sign up process, sorry for the inconvenience, this is technical forum, the account issue is out of our range, please follow steps below to contact with azure support, it's a best choice for you.
    Get the support channel at:
    http://www.windowsazure.com/en-us/support/options/
    If you have any other concern, please feel free to let me know.
    Best Regards,
    Jambor
    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.

  • SP324099: Could not complete the operation - Can not login to update VS2013 community license

    I need to update my vs2013 community license.
    I go to help / register product and then I fill out the form with my windows life info and get this message:
    SP324099: Could not complete the operation
    IE also opens up to a url that has this:
    res://ieframe.dll/dnserrordiagoff.htm -#https://app.vssps.visualstudio.com/_signedin?realm=app.vssps.visualstudio.com&protocol=javascriptnotify&mode=profile&cache_key=MpmrmitkkD%2FA4WkL2wR8RCxxi6lHNmj5p3MUYOpdzQw%3D
    I've also tried the ipconfig /flushdns command and I can't find the VSWinExpress.exe /resetuserdata command.
    Can anyone tell me what else to do??
    Thanks.

    Hi zoropell,
    >>I need to update my vs2013 community license.
    Didn't you register VS2013 Community before?
    As far as I know, we can use VS2013 Community without sign in for several days. Can you use it now? Was it expired? If you can still use it, please check if VS works fine except for registering it. If you find that you can't create projects
    or you can't build the projects fine, I'm afraid that you need to repair VS because I guess VS wasn't installed ok.
    Your update is welcome.
    Best 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.

  • AI error: Can't finish previewing. Could not complete the requested operation.

    I have a user who is trying to open up .ai files but recieves a few errors when he tries opening it.
    Can't finish previewing. Could not complete the requested operation.
    Can't open the illustration.
    An unknown error has occurred.
    His MAC has the latest 10.6.8 OSX and updates. I already tried uninstalling and reinstalling CS5 but still didn't work.
    When he logs onto another employees MAC, he's able to open it up fine. But when he logs onto the MAC that he uses, the error shows up. He has admin privileges to the computer as well. When logging into the local accounts, its able to open any AI files fine. Seems like this is only happening when he logs into his domain account on that computer.
    I've looked and already tried removing/disabling fonts that he didn't need. Also when opening up AI (no other programs opened), he still has 1.75 GB RAM available.
    Specs
    2.5GHz Intel i5
    1TB
    4GB Ram

    Max Pastchenko wrote:
    the question is what has changed in terms of PDF standard, in just the latest patch, to cause this problem for some of our generated PDFs?
    Again, I'm guessing: it is possible that newer versions of Adobe products are more strict to adhere to PDF standards.
    I have also tried to open your file using Adobe internal beta versions, and I've received the same errors.  Meaning that this behavior is here to stay.
    If you think that this is a bug, you can file a bug report at https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Could not Complete the operation.

    >Could not complete this operation. An
    >unknown operating system error has
    >occurred.
    This error presents itself when I click "Save" in the Save for Web dialog.
    I've trashed prefs for PS and SFW.
    Repaired permissions
    Booted from another drive and repaired disk.
    Any ideas?

    This is the Console log...
    4/7/11 8:10:12 PM [0x0-0x9d09d].com.adobe.Photoshop[3822] ScriptUI: 3[0]: 0.901013 (FlexServer performance info) 0.200 seconds for server SWF to initialize
    4/7/11 8:10:13 PM [0x0-0x9d09d].com.adobe.Photoshop[3822] ScriptUI: 6[0]: 0.952464 (FlexServer performance info) 0.050 seconds to load /Applications/Adobe%20Photoshop%20CS5/Plug-ins/Extensions/ScriptingSupport.plugin/Content s/Resources/ScriptUIFlexPhotoshop.swf
    4/7/11 8:10:26 PM mdworker[2846] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    4/7/11 8:10:28 PM [0x0-0x9d09d].com.adobe.Photoshop[3822] 2011-04-07 20:10:28 : INFO  PlugPlugTerminate called
    4/7/11 8:10:28 PM [0x0-0x9d09d].com.adobe.Photoshop[3822] 2011-04-07 20:10:28 : ERROR PlugPlugTerminate: PlugPlugErrorCode_internalError (PlugPlugRegisterCallbacks and PlugPlugSetup must be called first)
    4/7/11 8:10:28 PM [0x0-0x9d09d].com.adobe.Photoshop[3822] 2011-04-07 20:10:28 : INFO  Return value for PlugPlugTerminate: PlugPlugErrorCode_internalError
    ANY help is appreciated!

  • Adobe Save for Web Error - Could not complete this operation, An unknown error has occurred.

    I can't create a .gif and everytime I do get that error above.
    Is there anyway I fix this?

    I found the solution (took forever to consolidate all the answers) for OS X 10.9 + Maverick. Finally!
    1. Change permissions (as AOTPR says) to your User/Library/Preferences file so that your admin and user (the one you are using) has read + write permissions within the Get Info pane (command+I). You may have to add them with the sign.
    2. Delete Adobe save for web 12.0 Prefs & Adobe save for web 13.0 Prefs files within the User/ Library/ Preferences folder. These may be hidden for some people, so when in a finder window, hold Option(alt) and click Go from the main top menu (keep holding Option/Alt) and click Library — the full Preferences folder should open for you.
    3. Change the view when in Save for web pane in PS. If you have it in Cover Flow — it won't work. Change it to another view like List or Columns view.
    Presto! Works for me on Maverick.
    Thank god. It took forever to get this cleared up!!
    If you have any questions, email me [email protected]

  • Flash export MOV could not complete because of an unknown error. Please help.

    This problem has come up in the forum a few times and no solutions are given.  Hope you can help.
    I am running Flash Pro CS6 and want to export a MOV file.  The export seems to work as it should until after building the audio track, and then I get an error:
    Could not complete the operation because of an unknown error. 
    My settings are:
    Quicktime is H.264, frame rate: current, quality: high, multi-pass: yes
    Audio: MPEG-4, AAC, 44.1 KHz, 16-bit mono
    Stop exporting after time elapsed

    You can use either AVI or MOV but MOV will give you a bit of lossless compression (small file size reduction over uncompressed AVI).
    What I mean by lossless is try exporting to MOV, in the video settings set the codec to "Animation", keep the colors at RGB (Millions) or if you need alpha then RGB+Alpha (Millions+). Keep the quality set all the way to the highest. Then go in audio settings and choose anything you like. Export the movie.
    Now take the very large MOV file it made into Adobe Media Encoder. Once it's imported, choose a preset (H.264, etc) and choose your desired compression settings. You will see there are a lot more compression settings. Also set your audio options. Then when you're done customizing your preset just click the green start icon and let AME compress your high quality source to a much smaller file size.
    Just clarifying, after you import your video in AME and you choose your preset you have to click the presets orangeish hypertext to customize the presets settings. It will not overwrite that preset so don't worry about what you change. Pay special attention to the bottom of the custom settings panel because it lets you see the output file size. Adjust your quality controls until you hit the file size you want (both video and audio). You also have a preview panel so you can see the output at any part of the timeline using those settings.

  • HT3275 How do I correct this problem - Time Machine could not complete back up. An error occurred while creating the backup folder? The problem started on 5th March but I had backed up to an iomega HD since I got my iMac in October.

    I have had a problem since 5th March with Time Machine on my iMac. I have had no problem since I got the computer in October backing up to an iomega HD but now I keep getting a message that "Time Machine could not complete the backup. An error occurred while creating the backup folder". Anyone know how to correct this?

    I had the same "Error creating the backup folder" error - many times over.
    I went into the Disk Utility, selected the Backup Disk and ran Verify. It checked out OK. But if not, could have run Repair.
    Then did a complete shutdown and restart of the iMac and then tried "Backup Now" from the Time Machine icon's menu - it worked fine.

  • HT3275 I get the following message - "Time Machine could not complete the backup."  "Unable to complete backup."  "An error occurred while creating the backup folder.""

    I get the following message - "Time Machine could not complete the backup."  "Unable to complete backup. An error occurred while creating the backup folder."" 
    This MAC is partioned with Windows 7 with only  50 gig devoted to Windows so my son can play Flight Simulator X on the machine. 
    I have a WD Passport External Hard Drive for the Back Up
    I have spoken with WD Tech Support and they have been fantastic but I still keep getting this message.  Any thought?
    Maxx

    Reboot the TC.. it sometimes gets lost on the network.. are you still actually using 10.6.8 as the problem is more prevalent on Lion and ML it seems is no better.
    You might find reset of the TC is needed. change the names to short, no spaces pure alphanumeric.
    Reset the TM to the new name.. use the A4 in Pondini's great KB.
    http://pondini.org/TM/Troubleshooting.html

  • How do I resolve: "Could not complete the Crop command because the file is not compatible with this version of Photoshop" error message?

    Photoshop document created in current version of PSCC2014, now will not crop, resize, etc without throwing compatibility error.
    "Could not complete the Crop command because the file is not compatible with this version of Photoshop."
    How do I resolve without recreating the file?

    Ooops.  Hit save reply prematurely. 
    You may be able to open the flattened composite or the embedded JPEG preview of your file in Adobe Illustrator, GraphicConverter (Mac only) or some such application, but your layers will be gone.
    The problem of working across a network is that it's not supported by Adobe:
    This is the boilerplate text often used in connection to saving to a network (please NOTE the part where it explains that normally, it does work, but that it is impossible to troubleshoot someone else's network remotely, and that's why it's not supported by Adobe):
    If you are opening files over a network or saving them to a network server, please cease and desist immediately in the event you are currently experiencing problems with one or more files. Working across a network is not supported.
    See: 
    http://kb2.adobe.com/cps/406/kb406793.html
      Copy the CLOSED file from your server to your local hard disk, work on it, save it again to your local hard disk, close it, and copy the closed file back to the server.
         Of course, the fact that Adobe does not support working across a network does not necessarily mean it won't work.   It should.
        Adobe's position is that there are too many variables in a network environment for them to guarantee that everything will work correctly in every network, especially given the fact that if something does not work properly, it's probably the network's fault, and Adobe has no way of troubleshooting your network.
      If you can't work locally, you are on your own, and if something happens, you're on your own. If you must work from a server, make sure your network administrator is a competent professional.
    When problems arise, a lot of valuable work can be lost.

  • I get this error message when I try to back up my laptop:  Time machine could not complete the backup.  The backup disc image "/Volumes/Data/Lou Ann Buesing's Mac Book Pro. sparse bundle is already in use.  Anyone know how to fix it?

    I get this error message when I try to back up my laptop:
    ' Time machine could not complete the backup.  The backup disc image "/Volumes/Data/Lou Ann Buesing's Mac Book Pro. sparse bundle' is already in use. "
    Anyone know how to fix it?

    Reboot the TC.. Sometimes you need to reboot the whole network.
    This is what comes of Lion and then made worse in Mountain Lion of Apple not spending enough time to fix the bugs.
    Read C12 in pondini.
    http://pondini.org/TM/Troubleshooting.html
    C17 can be related I think.

Maybe you are looking for