Wednesday, September 12, 2007

VS 2008 Beta 2 WCF SVCUtil error

Svcutil.exe is used to generate the WCF proxies. In VS 2008 Beta 2, if you create simple WCF application and try to generate proxy of your service, you may encounter the error that states

"
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembl
y 'svcutil, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' o
r one of its dependencies. Strong name validation failed. (Exception from HRESUL
T: 0x8013141A)
File name: 'svcutil, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11
d50a3a' ---> System.Security.SecurityException: Strong name validation failed. (
Exception from HRESULT: 0x8013141A)
The Zone of the assembly that failed was:
MyComputer

"
Solution

The problem is that SVCutil.exe is not been verified as a strong Name and one needs to do this in order to rectify the issues
1. Open Command Prompt
2. Go to C:\Program Files\Microsoft SDKs\Windows\V6.0A\Bin folder
This is the folder where by default, all the utilities provided by .NET 3.5 is placed.
3. run sn -Vr svcutil.exe

it will respond as verification entry has been added for the assembly svcutil.

This is a generic problem and might can occur to other utilities. All you need to do is to put your utility name in place of svcutil.exe in the above and You are Done !!! I am sure this will be resolve in the next beta of VS 2008

Sunday, September 09, 2007

Seminar on Distributed Computing



Last week on September 1, 2007, I was honoured to be one of the speaker for Faculty Development Programme (FDP) organised by T-John College,Bangalore. T-John has invited faculties from almost all the colleges of bangalore and it was a very nice experience to share my views and spent time with all the college eminient teachers and professors.Along with me, there were three other speakers , 2 are scientist from DRDO and one person was from Cisco. I had given my seminar on "Distributed Computing" where in i spoke on the

1. current scenarios of distributed computing
2. challenges faced by today's distribuited computing
3. How to overcome those challenges with the latest Distributed computing