Configuration Error
-
Saturday, May 08, 2010 9:57 PM
Hi,
i created a new application in the iis and selected the correct path.when i tried to browse the asmx file in the browser,i am getting the following error.please help.
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'Microsoft.Media.Drm.RMUtil' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Source Error:
Line 57: <add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> Line 58: <add assembly="System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> Line 59: <add assembly="*"/> Line 60: <add assembly="System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/> Line 61: <add assembly="System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/>
Source File: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config Line: 59
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Media.Drm.RMUtil' could not be loaded.
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].
Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016
All Replies
-
Sunday, May 09, 2010 1:56 AMModerator
I don't think I understand your problem. This is one of the most clear and complete error messages you'll see in your lifetime. What part of it don't you understand?
John Saunders
WCF is Web Services. They are not two separate things.
Use WCF for All New Web Service Development, instead of legacy ASMX or obsolete WSE
Use File->New Project to create Web Service Projects -
Sunday, May 09, 2010 3:16 AM
hi,
I have the 'Microsoft.Media.Drm.RMUtil.dll' file in the bin folder.but still it is failing to load.what should i need to do to resolve this problem?
Thanks and Regards.
-
Sunday, May 09, 2010 3:31 AMModeratorDid you follow the directions and turn assembly binding logging on?
John Saunders
WCF is Web Services. They are not two separate things.
Use WCF for All New Web Service Development, instead of legacy ASMX or obsolete WSE
Use File->New Project to create Web Service Projects -
Wednesday, May 12, 2010 2:21 AM
Iam Facing exact same problem and i enabled the assembly logging. Here is what i get:
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'Microsoft.Media.Drm.RMUtil' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Source Error:
Line 57: <add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> Line 58: <add assembly="System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> Line 59: <add assembly="*"/> Line 60: <add assembly="System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/> Line 61: <add assembly="System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/>
Source File: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Config\web.config Line: 59
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Media.Drm.RMUtil' could not be loaded.
=== Pre-bind state information === LOG: User = IIS APPPOOL\DefaultAppPool LOG: DisplayName = Microsoft.Media.Drm.RMUtil (Partial) LOG: Appbase = file:///C:/PlayReady/Server SDK 1.5/vdir/ LOG: Initial PrivatePath = C:\PlayReady\Server SDK 1.5\vdir\bin Calling assembly : (Unknown). === LOG: This bind starts in default load context. LOG: Using application configuration file: C:\PlayReady\Server SDK 1.5\vdir\web.config LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Aspnet.config LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/prlicenseserver/a6e1c0c0/da461c3d/Microsoft.Media.Drm.RMUtil.DLL. LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/prlicenseserver/a6e1c0c0/da461c3d/Microsoft.Media.Drm.RMUtil/Microsoft.Media.Drm.RMUtil.DLL. LOG: Attempting download of new URL file:///C:/PlayReady/Server SDK 1.5/vdir/bin/Microsoft.Media.Drm.RMUtil.DLL. ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
Any usefull information will be highly appreciated!
-
Wednesday, May 12, 2010 6:23 AMModeratorIn your case, it looks like the image is in an incorrect format. Try looking at the image with ildasm.exe from the Windows sdk.
John Saunders
WCF is Web Services. They are not two separate things.
Use WCF for All New Web Service Development, instead of legacy ASMX or obsolete WSE
Use File->New Project to create Web Service Projects -
Tuesday, February 21, 2012 1:22 AM
I got exactly the same error. What I did is changed the applicationpool from 2.0 to 4.0, and it fixed that problem. Check your application's .Net version & 32bit/64bit issues.
PS: My env is Server 2008 64 bit.
Reference: http://forums.iis.net/t/1175933.aspx- Edited by kennyshu Tuesday, February 21, 2012 1:25 AM Add reference

