我在登录 TFS 时遇到问题。我收到以下错误:
异常消息:TF246017:Team Foundation Server 无法连接到数据库。验证托管数据库的服务器是否可以运行,并且网络问题不会阻止与服务器的通信。(类型 SoapException)SoapException 详细信息:
我想向远程API发送AJAX请求.
function Gettest(CourseID) {
var param = { "CourseID": CourseID};
param = JSON.stringify(param);
$.ajax({
type: "Post",
url: apiurl + "Course/DelCoursetargetedaudience",
contentType: "application/json; charset=utf-8",
data: param,
dataType: "json",
success: function (data) {
},
error: function (response) {
}
});
};
Run Code Online (Sandbox Code Playgroud)
但是我需要在发送请求之前更改源名称.
请参考下图.