error etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
error etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

20 Mart 2010 Cumartesi

Brutal Errors - Episode 1 : The key specified to compute a hash value is expired

When you left the office yesterday, everything was OK. But somehow this morning a weird "Invalid Action" error message is greeting you. The moment that you have check the trace logs: "The key specified to compute a hash value is expired" text was copied and pasted to google search, that's why you are here now:
Try the things below-maybe it saves your morning.
1- Make sure that MSCRM Async Service is running-even if it's running , restart it.
2- If you are still reading the post it means you have to run the command below:
C:\Program Files\Microsoft Dynamics CRM\Tools >Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R
If you are still reading this post, click an other search result. By

Ölümcül Hatalar - Bölüm 1
Dün ofisi terk ederken herşey çalışıyordu. Nasıl oluyorsa bu sabah geliyorum ve saçma bi "Invalid Action" mesajı "selam genç" diyor. Trace loglarını açtığında gördügün: "The key specified to compute a hash value is expired" cümlesini google'da aradıgın için burada değil misin zaten.
1- MSCRM Async Service'in çalıştıgına emin, çalışıyorsa bile restart et.
2- Hala okuyorsan 1.madde işe yaramamış demektir ki şu aşagıdaki komutu, komut satırında çalıştırman gerekecek:
C:\Program Files\Microsoft Dynamics CRM\Tools >Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R
Eğer hala okuyorsan, arama sonuçlarındaki başka bi sayfayı aç derim. Selametle

31 Ocak 2010 Pazar

Why nothing is working ?!


You are trying to run a custom application which talks to CRM webserivce but it's throwing exception like "Microsoft.Crm.WebServices.Crm2007.MultipleOrganizationSoapHeaderAuthentica-tionProvider,Microsoft.Crm.WebServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' doesn't exist" than don't worry.

One single dll can fix all your problems. Find "Microsoft.Crm.WebServices.dll" from somewhere (start searching from CRM server itself) Did you find it?Cool. Type "assembly" to Run window and check GAC. The thing that you should do is drag&drop this dll to GAC window. Let it copy the dll. Restart the IIS and thank.



2 kişinin bildiği sır degildir.

CRM webservis'iyle münasebeti olan bir uygulaman mı var? Çalıştırmaya kalkınca şu hatayı mı alıyorsun "Microsoft.Crm.WebServices.Crm2007.MultipleOrganizationSoapHeaderAuthentica-tionProvider,Microsoft.Crm.WebServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' doesn't exist" o zaman korkma hacı, ilacı var.

Bildigin tek bir dll seni iyi eder. "Microsoft.Crm.WebServices.dll" diye bi dosya var sagdan soldan biyerden bul bunu, aramaya server'dan başla, buldun mu?helal. O her bogumunda kıl olan parmaklarınla Run penceresinde "assembly" yaz da GAC'ı bi görelim. Şimdi o buldugun dosyayı GAC penceresinin üzerine sürükleyip bırak. Bi de IIS reset çak, saol desene !

20 Ağustos 2009 Perşembe

Error on Entity Creation :'(

If you are getting exceptions like:
EntityService.Create caught exception: System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
The statement has been terminated

ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.

You should configure server's registry settings. These errors are related with Sql connection and execution timeout problem. And Oscar goes to Solution:

Create a *.reg file and register to your system:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\Microsoft\MSCRM]
"OLEDBTimeout"=dword:00086400
"ExtendedTimeout"=dword:01000000


Or:
To registry;
Create 2 DWord typed key "OLEDBTimeout" and "ExtendedTimeout" and set their values to "86400" and "1000000" (decimal). Reset IIS and be Happy.

Siz nasıl diyor:

Eğer ki şu şekil hatalar alıyorsanız ki bunlar “iflit” oldugum hatalardır. (iflit’I cümle içinde kullandıgım ve ingilizce tercümesini de yapmadıgım icin güçlüyüm, cesurum, hazırım.(bkz:komando))

EntityService.Create caught exception: System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
The statement has been terminated

ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.

Temelde bu hatalar sql bağlantıları ile ilgili. Timeout hatası alması yüzünden isteğinizi yerine getiremeyen CRM ve şu şekil bir çözümle bu soruna bir dur demektedir.

Ister aşagıda italık olarak yazdıgım kısmı *.reg file olarak kaydedin ve çift tıklamak suretiyle bırakın sisteminize nüfüz etsin:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\Microsoft\MSCRM]
"OLEDBTimeout"=dword:00086400
"ExtendedTimeout"=dword:01000000

Yada: Registry açılır; “HKEY_LOCAL_MACHINE > Software > Microsoft > MSCRM” altına
“OLEDBTimeout” ve “ExtendedTimeout” isminde iki Dword anahtar ve bunlara da sırasıyla “86400” ve “1000000” decimal değerleri atanır. IIS reset’I müteakip Mutlu olunur.