System.Guid
- From: "Michael Primeaux" <mjprimeaux@xxxxxxx>
- Date: Thu, 19 Oct 2006 23:13:56 -0500
I have a simple .NET 2.0 web service created with VS.NET 2005 with a single
web method with the following signature:
[WebMethod]
void HelloWorld(Guid parameter1);
When calling this method I receive the following error:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Web.Services.Protocols.HttpServerType..ctor(Type type)
at System.Web.Services.Protocols.HttpServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type,
HttpContext context, HttpRequest request, HttpResponse response)
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type,
HttpContext context, HttpRequest request, HttpResponse response, Boolean&
abortProcessing)If I change the type of parameter1 to a simple type such as
string or int then the method works as expected. My operating system is
Windows 2003 Server R2 (Enterprise Edition) with all the latest patches.
I see several other people have run into this error. Does anyone have an
idea how to correct this?
Thanks,
Michael
.
- Follow-Ups:
- Re: System.Guid
- From: John Saunders
- Re: System.Guid
- Prev by Date: RE: Global class in a DLL
- Next by Date: Re: Production requirements to host ASP.NET web service which uses VB 6.0 COM Components
- Previous by thread: Weird Soap Extension Problem
- Next by thread: Re: System.Guid
- Index(es):
Relevant Pages
|