I have a web method and there are the following sections in web.config:
<system.web>
<webServices>
<soapExtensionTypes>
<add type="SampleClass.SampleExtension, SampleClass" priority="1"
group="1"/>
</soapExtensionTypes>
<protocols>
<remove name="HttpPost"/>
<remove name="HttpGet"/>
<remove name="HttpPostLocalhost"/>
</protocols>
</webServices>
</system.web>

When i accessed my web service i got the following errors:
Server Error in '/MyService' Application.
--------------------------------------------------------------------------------

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: The value of the property 'type' cannot be parsed. The
error is: Could not load file or assembly 'SampleClass'or one of its
dependencies. The system cannot find the file specified.

Source Error:


Line 75: <webServices>
Line 76: <soapExtensionTypes>
Line 77: <add type"SampleClass.SampleExtension, SampleClass"
priority="1" group="1"/>
Line 78: </soapExtensionTypes>
Line 79: <protocols>


Source File: C:\MyService\web.config Line: 77


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET
Version:2.0.50727.210


I have found the "SampleClass" in GAC, but why the webservice could not find
it? Could you please tell me why? I also tried to add this assembly in system
web.config(under the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG)
but i still got this error.

Sincerely ask for you help.
Thanks very much
Dandan Zhang