![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | 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 |
| | #2 (permalink) |
| Guest | 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 |
| | #3 (permalink) |
| Guest | 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 |
| | #4 (permalink) |
| Guest | 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. |
| | #5 (permalink) |
| Guest | 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! |
| | #6 (permalink) |
| Guest | 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! |
| | #7 (permalink) |
| Guest | 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 |
| |
| |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Missing System.Runtime.Serialization.Formatters.Soap | Darwin | .NET General | 1 | 03-21-2008 01:22 PM |
| SFC - System File Checker - won't correct faults it found | notaguru | Vista General | 14 | 11-04-2007 12:15 AM |
| Exception: Could not load file or assembly or one of its dependenc | breeze | PowerShell | 5 | 08-17-2007 11:28 AM |
| Using the ObjectDataProvider always throws an exception... | Desmond Cassidy | Avalon | 1 | 06-20-2007 07:05 AM |
| Printing some fonts throws exception in XPS to GDI conversion | GeneW | Avalon | 0 | 01-24-2007 04:39 PM |