Thursday, September 13, 2018

Windows 10 64bit slow disk performance. Disk %100 Solution

I had very slow performance on new laptop. Installations took ages and the machine is almost unusable during setups.  Disk usage is at %100 . It's a Core i7 Asus X556UQ laptop. It was very slow.
I had installed following intel driver from Asus website and problem solved. I think this driver works on all 6th gen an newer CPU laptops not matter what model it's.

https://dlcdnets.asus.com/pub/ASUS/nb/DriversForWin10/IRST/IRST_Intel_Skylake_Win10_64_VER14811043.zip

Wednesday, September 12, 2018

Those in need of Visual Web Gui releases, here's the link to download. Link is not mine, I'm not sharing or maintaining it.

https://mega.nz/#!TYt0iJzQ!3zAaA-lySGzumLkndCnoIT_CaW1gPsFxpmynJ2ttKJ4

The link has following files:

VWG_Catalog_Sample_10.0.4_NET2.0.msi
VWG_Catalog_Sample_10.0.4_NET3.5.msi
VWG_Catalog_Sample_10.0.4_NET4.0.msi
VWG_Catalog_Sample_10.0.4_NET4.5.1.msi
VWG_Catalog_Sample_10.0.4_NET4.5.msi

VWG_Professional_Studio_10.0.4_NET2.0.msi
VWG_Professional_Studio_10.0.4_NET3.5.msi
VWG_Professional_Studio_10.0.4_NET4.0.msi
VWG_Professional_Studio_10.0.4_NET4.5.1.msi
VWG_Professional_Studio_10.0.4_NET4.5.msi

VWG_Professional_Studio_with_Sources_10.0.4_NET2.0.msi
VWG_Professional_Studio_with_Sources_10.0.4_NET3.5.msi
VWG_Professional_Studio_with_Sources_10.0.4_NET4.0.msi
VWG_Professional_Studio_with_Sources_10.0.4_NET4.5.1.msi
VWG_Professional_Studio_with_Sources_10.0.4_NET4.5.msi

VWG_Catalog_Sample_10.0.5_b_NET2.0.msi
VWG_Catalog_Sample_10.0.5_b_NET3.5.msi
VWG_Catalog_Sample_10.0.5_b_NET4.0.msi
VWG_Catalog_Sample_10.0.5_b_NET4.5.1.msi
VWG_Catalog_Sample_10.0.5_b_NET4.5.2.msi
VWG_Catalog_Sample_10.0.5_b_NET4.5.msi
VWG_Catalog_Sample_10.0.5_b_NET4.6.msi

VWG_Professional_Studio_10.0.5_b_NET2.0.msi
VWG_Professional_Studio_10.0.5_b_NET3.5.msi
VWG_Professional_Studio_10.0.5_b_NET4.0.msi
VWG_Professional_Studio_10.0.5_b_NET4.5.1.msi
VWG_Professional_Studio_10.0.5_b_NET4.5.2.msi
VWG_Professional_Studio_10.0.5_b_NET4.5.msi
VWG_Professional_Studio_10.0.5_b_NET4.6.msi

VWG_Professional_Studio_with_Sources_10.0.5_b_NET2.0.msi
VWG_Professional_Studio_with_Sources_10.0.5_b_NET3.5.msi
VWG_Professional_Studio_with_Sources_10.0.5_b_NET4.0.msi
VWG_Professional_Studio_with_Sources_10.0.5_b_NET4.5.1.msi
VWG_Professional_Studio_with_Sources_10.0.5_b_NET4.5.2.msi
VWG_Professional_Studio_with_Sources_10.0.5_b_NET4.5.msi
VWG_Professional_Studio_with_Sources_10.0.5_b_NET4.6.msi

Monday, October 19, 2015

Epias webservisine C# client'dan erişim

Epias servisleri Java ile yazılmış ve bu servislere C# ile doğrudan erişirken sıkıntı yaşanıyor.
Benim yaptığım adımlar şu şekilde.

1. Epias'ın test sistemi olan  http://95.0.37.186/dgpys/services/EVDServis?wsdl adresinden WSDL dosyasını indirin. Bunu mesela EVDServis.wsdl olarak kaydedin.
2. Bu WSDL'in en sonundaki URL farklı bir yeri gösteriyor olabilir, onu düzeltin
   En son satırlar şu şekilde olmalı

  <wsdl:service name="EVDServis">
    <wsdl:port name="EVDServisSOAP11port_http" binding="dgp:EVDServisSOAP11Binding">
      <soap:address location="http://95.0.37.186/dgpys/services/EVDServis"/>
    </wsdl:port>
    <wsdl:port name="EVDServisSOAP12port_http" binding="dgp:EVDServisSOAP12Binding">
      <soap12:address location="http://95.0.37.186/dgpys/services/EVDServis"/>
    </wsdl:port>
  </wsdl:service>

3. Command prompt açıp aşağıdaki komutu çalıştırın.

    svcutil EVDServis.wsdl /wrapped

   SVCutil'i bulamazsa çalıştırmadan önce şu satırı path'e ekleyin. (Visual Studio 2013 kullandığınızı varsayıyorum, farklı bir versiyon kullanıyorsanız, svcutil'in yerini bulup PATH'i ona göre editleyin)
  set path=%path%;"c:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools"

4. EVDServis.cs isimde bir dosya oluşacak. Bu dosyayı .Net projenize ekleyin

5. EVDServis.cs dosyasını açın ve StringValue[][] şeklindeki kısımları silip StringValue[] yapın

6. Client'dan bir login çağırmayı deneyin, dönen nesne null ise, şu değişiklikleri yapın.
   EVDServis.cs dosyasını açın,
 
Aşağıdaki satırı bulun, kırmızı ile işaretli kısmı silin. Yani Namespace="" (boş string) olsun.

public partial class loginResponse
{
    
    [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://ws.dgpys.deloitte.com", Order=0)]
    public LoginReport LoginReport;
    
    public loginResponse()
    {
    }
    
    public loginResponse(LoginReport LoginReport)
    {
        this.LoginReport = LoginReport;
    }
}

7. Login'i deneyin, başarılı ise bunu kullanmak istediğiniz bütün methodların Response class'ları için yapmalısınız.

Kolay gelsin

Wednesday, May 27, 2015

Visual webgui visual studio click twice problem

When I first run a VWG application within visual studio, sometimes my first events are not fired. For example I click a button, the form tries to load itself. This happens only on first run. I disable "Just my code" debugger option in Visual Studio nad problem is fixed.

Sunday, March 15, 2015

sql server 2005 701 insufficient memory error

We receive 701 insufficient memory error every 2-3 days. Memory clerk report gives no clue. I've found the problem was related to Database Mail. Open your management studio and check for Database mail logs. If there's any problem with the configuration of one of the mail definitions like a changed SMTP ip etc, these errors are causing a memory leak. Fix the configuration and problem is solved.

Friday, October 24, 2014

String or binary data would be truncated.

When running an update in SQL Server 2005, I receive String or binary data would be truncated error. It's strange because it's a simple update and there's no varchar field involved. There's a update trigger in the table. Solution: I receive this error when I login to management studio with Windows Authentication. If I login with a sql server user, I can succesfully execute the update statement.

Friday, June 13, 2014

mscorsvw.exe High CPU and disk activity

After updating Visual Studio 2013, I observed high disk and cpu activity on process mscorsvw.exe The folder under c:\windows\temp has many log files like MSIc4905.LOG, MSIc0dff.LOG totaling a few gigabytes. When I checked those log files I've seen the following line ******* Product: {9C593464-7F2F-37B3-89F8-7E894E3B09EA} Reinstalling VS 2013 is recommended but it didn't work for me. This is a key for a component of Visual Studio which I don't need. I've searched the registry for {9C593464-7F2F-37B3-89F8-7E894E3B09EA} Deleted every key matching and CPU restored back to normal, Visual Studio is running fine.