473,401 Members | 2,127 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

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

Hello,

My webservice is receiving the following error. It runs fine on my local
development machine,but when moved to production it errors. I found one KB
about this error but it was in regards to .Net 1.0, this server is 1.1.
Thanks!
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 'type' attribute must be set to a valid type name.

Source Error:
Line 79: <webServices>
Line 80: <soapExtensionTypes>
Line 81: <add type="Microsoft.Web.Services2.WebServicesExtension ,
Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" priority="1" group="0" />
Line 82: </soapExtensionTypes>
Line 83: </webServices>
Source File: d:\www\paragon\wwwroot\prgnrt\web.config Line: 81

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'Microsoft.Web.Services2' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Web.Services2, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///d:/www/paragon/wwwroot/prgnrt
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspn et.config).
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\confi g\machine.config.
LOG: Post-policy reference: Microsoft.Web.Services2, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/prgnrt/9f4b8bb6/22e5dc04/Microsoft.Web.Services2.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/prgnrt/9f4b8bb6/22e5dc04/Microsoft.Web.Services2/Microsoft.Web.Services2.DLL.
LOG: Attempting download of new URL
file:///d:/www/paragon/wwwroot/prgnrt/bin/Microsoft.Web.Services2.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Build Number

--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET
Version:1.1.4322.2300

--
David Lozzi
Web Applications Developer
dlozzi@(remove-this)delphi-ts.com


Dec 15 '05 #1
1 6130
Hi David,

Welcome.
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.

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

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....)

If there're anything I didn't quite get, please feel free to let me know....

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
From: "David Lozzi" <Da********@nospam.nospam>
Subject: The 'type' attribute must be set to a valid type name
Date: Thu, 15 Dec 2005 14:58:16 -0500
Lines: 78
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
Message-ID: <#S**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: c-24-63-42-200.hsd1.ma.comcast.net 24.63.42.200
Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP10.phx.gbl
microsoft.public.dotnet.framework.webservices:1308 5
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Hello,

My webservice is receiving the following error. It runs fine on my local
development machine,but when moved to production it errors. I found one KB
about this error but it was in regards to .Net 1.0, this server is 1.1.
Thanks!
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 'type' attribute must be set to a valid type name.

Source Error:
Line 79: <webServices>
Line 80: <soapExtensionTypes>
Line 81: <add type="Microsoft.Web.Services2.WebServicesExtension ,
Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" priority="1" group="0" />
Line 82: </soapExtensionTypes>
Line 83: </webServices>
Source File: d:\www\paragon\wwwroot\prgnrt\web.config Line: 81

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'Microsoft.Web.Services2' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Web.Services2, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///d:/www/paragon/wwwroot/prgnrt
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspn et.config).
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\confi g\machine.config.
LOG: Post-policy reference: Microsoft.Web.Services2, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/prgnrt/9f4b8bb6/22e5dc04/Microsoft.Web.Services2.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/prgnrt/9f4b8bb6/22e5dc04/Microsoft.Web.Services2/Microsoft.Web.Service
s2.DLL.
LOG: Attempting download of new URL
file:///d:/www/paragon/wwwroot/prgnrt/bin/Microsoft.Web.Services2.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Build Number

----------------------------------------------------------------------------
----

Version Information: Microsoft .NET Framework Version:1.1.4322.2300;
ASP.NET
Version:1.1.4322.2300

--
David Lozzi
Web Applications Developer
dlozzi@(remove-this)delphi-ts.com

Dec 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: johnsocs | last post by:
How do you validate the following XML document, I'm having problems with element 'one' with the attribute xsi:type="xsd:string" <?xml version="1.0" encoding="UTF-8"?> <zero...
6
by: tshad | last post by:
The error I am getting is: ******************************************************************* Exception Details: System.InvalidCastException: Cast from type 'DBNull' to type 'String' is not...
1
by: Bonavox | last post by:
Hi! FYI: I had some trouble with the type attribute in one of my providers in web.config. I was writing it by hand, and got this error all the time: Required attribute 'type' not found....
9
by: Ben | last post by:
Hello, I'm not a developper, so sorry if it's a stupid question... I'm trying to develop an application in vb.net and I have the following problem: I have some information in an array:...
2
by: Chris | last post by:
Hi again, I want to read all the records of a table with 2 fields. The problem is that some records have null value in the second field. This code below works when all records have both fields...
4
by: jackchang1 | last post by:
I just went across Douglas Crockford's website, and in this page, he mentions that the type/language attribute is not needed, since it is the server that determines the MIME type. But according to...
1
by: Achim Domma | last post by:
Hi, in my data contract I have a member like this: public List<BaseClassItems { get { ... } } The property is serialized as a list of <BaseClasstags with an i:type attribute. It would be...
23
by: Andreas Prilop | last post by:
Is there any *practical* use of writing, say, <a href="book.pdf" type="application/pdf"> with a TYPE attribute? -- Top-posting. What's the most irritating thing on Usenet?
1
Samishii23
by: Samishii23 | last post by:
I'm making a confirm dialog box to ask user upon form submission if this is what he wants to enter in a database. So since all my form names are straight forward about whats being entered. I have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.