Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9202389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:14:48+00:00 2026-06-17T23:14:48+00:00

Credit to Pranay Rana for this example: http://www.codeproject.com/Articles/223572/Calling-Cross-Domain-WCF-service-using-Jquery-Java Having an issue where it fails

  • 0

Credit to Pranay Rana for this example:
http://www.codeproject.com/Articles/223572/Calling-Cross-Domain-WCF-service-using-Jquery-Java

Having an issue where it fails here with link to actual WCF:
http://jsfiddle.net/TyrHW/

Markup:

<%@ ServiceHost Language="C#" Debug="true" Service="WCF1.Service1" CodeBehind="Service1.svc.cs" Factory="System.ServiceModel.Activation.WebScriptServiceHostFactory"%>

C# WCF Service

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.ServiceModel.Web;
using System.Text;

namespace WCF1
{
        [DataContract]
        public class Customer
        {
            [DataMember]
            public string Name;

            [DataMember]
        public string Address;


        }


  [ServiceContract(Namespace = "JsonpAjaxService")]
  [AspNetCompatibilityRequirements(RequirementsMode =   AspNetCompatibilityRequirementsMode.Allowed)]

    public class Service1
    {
        [WebGet(ResponseFormat = WebMessageFormat.Json)]
        public Customer GetCustomer()
        {
            return new Customer() { Name = "Jacob Pines", Address = "999 S William St." };
        }
    }
    }

web.config

<?xml version="1.0"?>
<configuration>

    <system.web>
        <compilation debug="true" targetFramework="4.0"  />

    </system.web>

    <system.serviceModel >
        <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
            <standardEndpoints>
                <webScriptEndpoint>
                        <standardEndpoint name="" crossDomainScriptAccessEnabled="true"/>
                </webScriptEndpoint>
            </standardEndpoints>


    </system.serviceModel>


    <system.webServer>
        <modules runAllManagedModulesForAllRequests="true"/>

    </system.webServer>

    <system.web>
        <customErrors mode="Off"/>
    </system.web>


</configuration>

I get the same result locally as in my godaddy .net 4.0 host. I’ve checked asp.net levels. IIS security at goddady is set to annonymous. If I enter the url to the Service in a browser I get some apparent issue with authentication which I’ve sent to Godaddy. If I do the same locally, I get what appears to healthy Web Service, though still get undefined from jsFiddle.

It’s all new to me .. so It’s been a mission.
Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T23:14:49+00:00Added an answer on June 17, 2026 at 11:14 pm

    Quote from the following article:

    This all works fine when running it in Cassini, but when you want to
    host it in IIS, you will need to take care two things. First, you will
    need to ensure that IIS and WCF are correctly installed and
    registered. If IIS does not seem to want to cough up your SVC files
    (you can check that by trying http:////AjaxService.svc), try running the command ServiceModelReg.exe /i
    /x from %WINDIR%\Microsoft.NET\Framework\v3.0\Windows Communication
    Foundation. Restart IIS after running this command. Second, if you
    created a default ASP.NET 2.0 website, you may run into this error
    message:

    IIS specified authentication schemes
    'IntegratedWindowsAuthentication, Anonymous', but the binding only
    supports specification of exactly one authentication scheme. Valid
    authentication schemes are Digest, Negotiate, NTLM, Basic, or
    Anonymous. Change the IIS settings so that only a single
    authentication scheme is used.

    To fix this, right-click the website in
    your IIS manager and choose “properties”. Then click the “Directory”
    tab, click the “Edit” button in the “Anonymous access and
    authentication control” area. You will see that both Anonymous access
    and Integrated Windows Authentication are selected. Unselect one of
    them, then restart IIS. After that, the application should work
    smoothly.

    In your case replace Integrated Windows Authentication with Basic Authentication.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This page : http://www.csgmember.com/credit-success/ works fine on FF and Chrome. It shows all the
Trying to do this: $product_description = 'Credit balance of &#8364;' $_POST['creditamount'] ; Want to
Answer Credit to Leenert Regebro: Apparently my instincts were right, and this is impossible.
Credit to @Nick Brunt, after some editing and now this is exact what i
Can credit card type be determined solely from the credit card number? Is this
i have domain classes: package test class Credit { String name; static hasMany =
This is pseudo homework (it's extra credit). I've got a BST which is an
This is a question about credit card processing. We are using AVS and have
I take no credit for this challenge at all. It's Project Euler problem 6
Storing credit card information securely and legally is very difficult and should not be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.