Привет всем
Опыта работы с ASP.NET нет, но есть необходимость
Такая проблема
При попытке вызова сервиса с aspx страницы получаю (после таймаута) сообщение {"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond"}.
Тот же код из windows приложения работает без всяких проблем.
// login properties
....
using (CampaignService campaignService = new CampaignService())
{
ICredentials credentials = new NetworkCredential("user", "password", "domain");
campaignService.Credentials = credentials;
Campaign[] campaignList = campaignService.getAllAdWordsCampaigns(0);
}
Credential пробовал брать из кеша или вообще не проставлять, используя опции из IE — результат не меняется
Есть идеи?