RE: The 'type' attribute must be set to a valid type name



{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Hi David,
\par
\par Welcome.
\par From the your description, your webservice which use the WSE 2.0 components works well on development machine, but fails at startup time after deployed to a target machine.
\par
\par Based on the error message and assembly binding log, it seems that the ASP.ENT runtime didn't successfully loate the WSE2.0's assembly ----Microsoft.Web.Services2.dll
\par
\par How did you deploy the Microsoft.Web.services2.dll to the target machine or has that target machine originally installed the WSE 2.0 SP3 runtime? Generally, since the WSE 2.0 assembly is strong-named, we'd suggest that we install it in the GAC, (the WSE 2.0 runtime install package will by default intall it into GAC....)
\par
\par If there're anything I didn't quite get, please feel free to let me know....
\par
\par Thanks,
\par
\par Steven Cheng
\par Microsoft Online Support
\par
\par Get Secure! www.microsoft.com/security
\par (This posting is provided "AS IS", with no warranties, and confers no rights.)
\par
\par
\par \pard\li720 --------------------
\par From: "David Lozzi" <DavidLozzi@xxxxxxxxxxxxx>
\par Subject: The 'type' attribute must be set to a valid type name
\par Date: Thu, 15 Dec 2005 14:58:16 -0500
\par Lines: 78
\par X-Priority: 3
\par X-MSMail-Priority: Normal
\par X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
\par X-RFC2646: Format=Flowed; Original
\par X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
\par Message-ID: <#SEMnHbAGHA.3064@xxxxxxxxxxxxxxxxxxxx>
\par Newsgroups: microsoft.public.dotnet.framework.webservices
\par NNTP-Posting-Host: c-24-63-42-200.hsd1.ma.comcast.net 24.63.42.200
\par Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
\par Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.dotnet.framework.webservices:13085
\par X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
\par
\par Hello,
\par
\par My webservice is receiving the following error. It runs fine on my local
\par development machine,but when moved to production it errors. I found one KB
\par about this error but it was in regards to .Net 1.0, this server is 1.1.
\par Thanks!
\par
\par
\par Configuration Error
\par Description: An error occurred during the processing of a configuration file
\par required to service this request. Please review the specific error details
\par below and modify your configuration file appropriately.
\par
\par Parser Error Message: The 'type' attribute must be set to a valid type name.
\par
\par Source Error:
\par
\par
\par Line 79: <webServices>
\par Line 80: <soapExtensionTypes>
\par Line 81: <add type="Microsoft.Web.Services2.WebServicesExtension,
\par Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral,
\par PublicKeyToken=31bf3856ad364e35" priority="1" group="0" />
\par Line 82: </soapExtensionTypes>
\par Line 83: </webServices>
\par
\par
\par Source File: d:\\www\\paragon\\wwwroot\\prgnrt\\web.config Line: 81
\par
\par Assembly Load Trace: The following information can be helpful to determine
\par why the assembly 'Microsoft.Web.Services2' could not be loaded.
\par
\par
\par === Pre-bind state information ===
\par LOG: DisplayName = Microsoft.Web.Services2, Version=2.0.0.0,
\par Culture=neutral, PublicKeyToken=31bf3856ad364e35
\par (Fully-specified)
\par LOG: Appbase = file:///d:/www/paragon/wwwroot/prgnrt
\par LOG: Initial PrivatePath = bin
\par Calling assembly : (Unknown).
\par ===
\par
\par LOG: Publisher policy file is not found.
\par LOG: No redirect found in host configuration file
\par (C:\\WINDOWS\\Microsoft.NET\\Framework\\v1.1.4322\\aspnet.config).
\par LOG: Using machine configuration file from
\par C:\\WINDOWS\\Microsoft.NET\\Framework\\v1.1.4322\\config\\machine.config.
\par LOG: Post-policy reference: Microsoft.Web.Services2, Version=2.0.0.0,
\par Culture=neutral, PublicKeyToken=31bf3856ad364e35
\par LOG: Attempting download of new URL
\par file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
\par Files/prgnrt/9f4b8bb6/22e5dc04/Microsoft.Web.Services2.DLL.
\par LOG: Attempting download of new URL
\par file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
\par Files/prgnrt/9f4b8bb6/22e5dc04/Microsoft.Web.Services2/Microsoft.Web.Services2.DLL.
\par LOG: Attempting download of new URL
\par file:///d:/www/paragon/wwwroot/prgnrt/bin/Microsoft.Web.Services2.DLL.
\par WRN: Comparing the assembly name resulted in the mismatch: Build Number
\par
\par
\par
\par
\par
\par --------------------------------------------------------------------------------
\par
\par Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET
\par Version:1.1.4322.2300
\par
\par
\par
\par --
\par David Lozzi
\par Web Applications Developer
\par dlozzi@(remove-this)delphi-ts.com
\par
\par
\par
\par
\par \pard
\par
\par }