Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - WinFX Feb CTP - SvcUtil throws file not found exception for assembly file System.Runtime.Serialization, Version 3.0.0.0

 
 
Old 03-26-2006   #1 (permalink)
aharon.haravon@gmail.com


 
 

WinFX Feb CTP - SvcUtil throws file not found exception for assembly file System.Runtime.Serialization, Version 3.0.0.0

Hello,

I'm having an issue with the Windows FX February CTP.

Whenever I try to run SvcUtil.exe, I get the "file not found" exception
thrown by Microsoft.Tools.Indigo.ServiceModel.Tool.Main for the
System.Runtime.Serialization Version 3.0.0.0

Here is the detailed list of actions performed in order to reproduce
the behaviour (unfortunately tested more than 10 times with different
small varations).

1. Created VMWare Virtual Machine with 10 Gb HDD
2. Installed Windows XP
3. Added the machine to the domain, added my domain account to local
administrators, logged on with my local domain account.
4. Performed all critical updates using www.windowsupdate.com (SP 2
installed along with critical security updates)
5. Installed Microsoft Visual Studio 2005 Professional Edition (Version
8.0.50727-42 RTM.050727-4200 )
6. Installed Windows FX Runtime Components February CTP
7. Installed Windows FX SDK February CTP

1. Created VMWare Virtual Machine with 10 Gb HDD
2. Installed Windows 2003
3. Added the machine to the domain, added my domain account to local
administrators, logged on with my local domain account.
4. Performed all critical updates using www.windowsupdate.com (SP 1
installed along with critical security updates)
5. Installed Microsoft Visual Studio 2005 Professional Edition (Version
8.0.50727-42 RTM.050727-4200 )
6. Installed Windows FX Runtime Components February CTP
7. Installed Windows FX SDK February CTP

In both scenarios, the following command line fails by throwing an
exception (see below for the copy-paste from the command prompt)

--------------------
C:\Program Files\Microsoft SDKs\Windows\v1.0\Bin>Svcutil.exe
http://terraserver.microsoft.com/TerraService2.asmx /useXmlSerializer

Unhandled Exception: System.IO.FileNotFoundException: Could not load
file or assembly 'System.Runtime.Serialization, Version=3.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its
dependencies. The system cannot find the file specified.
File name: 'System.Runtime.Serialization, Version=3.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' at
Microsoft.Tools.Indigo.ServiceModel.Tool.Main(String[] args)

WRN: Assembly binding logging is turned OFF. To enable assembly bind
failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].
--------------------


The assembly file System.Runtime.Serialization, Version=3.0.0.0 doesn't
exist...

not in the GAC:

--------------------
C:\Program Files\Microsoft SDKs\Windows\v1.0\Bin>gacutil /l | findstr
System.Runtime.Serialization,

System.Runtime.Serialization, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL
--------------------

nor elsewhere on the HDD:

--------------------
C:\>dir /s System.Runtime.Serialization.dll

Volume in drive C has no label.
Volume Serial Number is 08FB-4697

Directory of
C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\2.0.0.0__b77a5c561934e089

03/22/2006 12:09 PM 774,144 System.Runtime.Serialization.dll
1 File(s) 774,144 bytes

Directory of C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

01/13/2006 12:37 AM 774,144 System.Runtime.Serialization.dll
1 File(s) 774,144 bytes

Total Files Listed:
2 File(s) 1,548,288 bytes
0 Dir(s) 3,050,627,072 bytes free
--------------------

Any ides on where did I go wrong?


Aharon
Top Image Systems


My System SpecsSystem Spec
Old 03-29-2006   #2 (permalink)
aharon.haravon@gmail.com


 
 

Re: WinFX Feb CTP - SvcUtil throws file not found exception for assembly file System.Runtime.Serialization, Version 3.0.0.0

Hello,

Anyone from MS started to deal with this issue?

I am getting lots of e-mails from people asking me if I found the
solution to the problem, as they are experiencing it as well.

So, to respond to all, I have forwarded it to Microsoft Israel .NET
group and they have said the issue has been forwarded to relevant
department at Redmond.

I guess MS should give some priority to resolving this problem as it's
a hurting issue and a real *show stopper* for all us MS technology
early adopters.

Thank you for your response in advance,
Aharon Haravon
Top Image Systems

My System SpecsSystem Spec
Old 03-30-2006   #3 (permalink)
Daniel Leiszen


 
 

RE: WinFX Feb CTP - SvcUtil throws file not found exception for assemb

Hi,

I just faced the same problem. I could not manage to create a service proxy
with the svcutil tool. It's tricky becouse in the example code uses

http://localhost/MyCalculatorService/Service.svc?

but there is no example how to host a service contract in this way. In the
MSDN I found examples only for consol application hosting, but there is no
help how to generate a proxy for that.

The svcutil tool throws an exception (mentioned above) in any case. I also
tried to create the proxy code "by hand", but still could not make it work.

Does anybody know, how to create a proxy code for a service contract? Any
help is appreciated.

Daniel
My System SpecsSystem Spec
Old 04-21-2006   #4 (permalink)
Jetson


 
 

Re: WinFX Feb CTP - SvcUtil throws file not found exception for assemb

Hi,

I have used this command, and i have not any problem. Suppose that you
have your WinFx service at the URL
http://localhost/MyCalculatorService/Service.svc, do the following:

- Run CMD Shell in the Microsoft Windows SDK group program.
- Go to the directory where you put the service.
- And type svcutil http:/...., you have too option like /out:, /config:
.....

Bye.

My System SpecsSystem Spec
Old 05-02-2006   #5 (permalink)
mbonness@gmail.com


 
 

Re: WinFX Feb CTP - SvcUtil throws file not found exception for assemb

In order to resolve this issue you need to reinstall the WinFX runtime.
After I uninstalled WinFX runtime and reinstalled it I had the correct
version of System.Runtime.Serialization.dll (3.0.0.0) in my GAC.
Apparently the issue is caused by installing components in the wrong
order. Good luck!

My System SpecsSystem Spec
Old 05-07-2006   #6 (permalink)
aharon.haravon@gmail.com


 
 

Re: WinFX Feb CTP - SvcUtil throws file not found exception for assemb

Hello mbonness,

In my case, simply reinstalling WinFX did not help. Someone sugessted
that the MS document on installations order is incorrect and that the
Windows SDK has to be installed before the WinFX Runtime Compoents.
Without thinking much, I just gave it a try but it did not help. Some
local MS guys have said that it is most likely an issue related to the
fact I am working with VMWare... I do not really see how can this be
the issue, yet I guess they know better. Once I get some positive
developments on this issue, I'll post it back here.

mbonness@gmail.com wrote:
> In order to resolve this issue you need to reinstall the WinFX runtime.
> After I uninstalled WinFX runtime and reinstalled it I had the correct
> version of System.Runtime.Serialization.dll (3.0.0.0) in my GAC.
> Apparently the issue is caused by installing components in the wrong
> order. Good luck!


My System SpecsSystem Spec
Old 05-30-2006   #7 (permalink)
pavel.orehov@gmail.com


 
 

Re: WinFX Feb CTP - SvcUtil throws file not found exception for assemb

Hi,

I have the same problem when running svcutil to create the proxy class
for the client. I have installed WinFX and after it WindowsSDK today
from the last released versions. I have the WinXP and no VMWare,
regular PC.
It is really 'show stopper' for continue using WCF.
Did anyone found the solution for this issue.

Thanks,
Pavel

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Missing System.Runtime.Serialization.Formatters.Soap .NET General
WMI Exception - System.Runtime.InteropServices.COMException .NET General
strPathtoMDB path changed from mdb to the System file(runtime error) VB Script
Exception: Could not load file or assembly or one of its dependenc PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46