Показать сообщение отдельно
Старый 20.10.2008, 08:14   #6  
sergeyjb is offline
sergeyjb
Участник
Аватар для sergeyjb
 
68 / 12 (1) ++
Регистрация: 01.10.2008
maclai:
Интересная страница, не знал о ее существовании.
Действительно поле activityid отмечено как Required For Grid.
Удивило то, что ownerid не помечено как обязательное, хотя на форме поле "ответственный" стоит с красной звездочкой.

Гуревич Денис:
Спасибо за ссылку, сейчас попробую как там пишут. Есть подозрение судя по ошибкам что с самим сервисом не порядок а не с набором отправляемых полей. Я ожидал бы другой ошибки если обязательное поле отсутствовало.
Хотя попробую все варианты.

Артем, это часть целого сообщения в системном журнале: "Журналы Windows - Приложение".
Если есть отдельный журнал ошибок CRM сервера то подскажите где его посмотреть.
А из системного полный текст ошибки (точнее предупреждения):

Код:
 
Event code: 3005 
Event message: Возникло необработанное исключение. 
Event time: 20.10.2008 8:47:52 
Event time (UTC): 20.10.2008 3:47:52 
Event ID: 907e722b17074104b8b6d5540dbae94c 
Event sequence: 6 
Event occurrence: 1 
Event detail code: 0 
 
Application information: 
Application domain: /LM/W3SVC/3/ROOT-1-128689480638620121 
Trust level: Full 
Application Virtual Path: / 
Application Path: C:\inetpub\Infrastructure\ 
Machine name: SRV-CRM-01 
 
Process information: 
Process ID: 1828 
Process name: w3wp.exe 
Account name: NT AUTHORITY\NETWORK SERVICE 
 
Exception information: 
Exception type: SoapException 
Exception message: System.Web.Services.Protocols.SoapException: Сервер не распознал значение заголовка HTTP SOAPAction: http://schemas.microsoft.com/crm/200...ervices/Create.
в System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
в System.Web.Services.Protocols.SoapServerProtocol.Initialize()
в System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response)
в System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) 
 
Request information: 
Request URL: http://crm:1001/UpdateActivity.aspx?...Mode=Completed 
Request path: /UpdateActivity.aspx 
User host address: 192.168.100.62 
User: 
Is authenticated: False 
Authentication Type: 
Thread account name: NT AUTHORITY\NETWORK SERVICE 
 
Thread information: 
Thread ID: 5 
Thread account name: NT AUTHORITY\NETWORK SERVICE 
Is impersonating: False 
Stack trace: в System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
в System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
в CrmSdk.CrmService.Create(BusinessEntity entity) в c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\5c7d8db1\29570109\App_WebReferences.wh6ss6eb.0.cs:строка 204
в UpdateActivity.Page_Load(Object sender, EventArgs e) в c:\inetpub\Infrastructure\UpdateActivity.aspx.cs:строка 64
в System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
в System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
в System.Web.UI.Control.OnLoad(EventArgs e)
в System.Web.UI.Control.LoadRecursive()
в System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
 
Custom event details:
__________________
Сергей Осипов, MCTS:SQL Server 2005, ООО "Программные технологии", Самара