Re: Strange error



<nonamehkg@xxxxxxxxxxx> wrote in message
news:1158643239.301546.214060@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi, my web service has recently got some strange error, and even the
most simplest(empty) web method would crash with the error below:

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.ServerProtocolFactory.Create


This error makes no sense to me because my method does nothing, so
where the error comes from?

[WebMethod]
public void Test1()
{
}

Does anyone have any idea of what is going on here?

What does the rest of your webservice class do? Does it have any
constructor? Any field initializers? Any statics?

John


.



Relevant Pages

  • Re: Please Help me- Creating Custom tokens-PLEASE HELP ME!!!!!!!!!!!!
    ... So before he his given access to the Web Method, ... > WSE on the Web Service first authenticates him against Active ... > Directory(Using UsernameTokenManagers- Authenticate Method). ... > is authenticated in the Web method before the response is sent I will ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Strange error
    ... Hi, my web service has recently got some strange error, and even the ... most simplestweb method would crash with the error below: ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Data table parameter in web services.
    ... So the webservice call is not hard-coded but for example ... which web service to use on a set of data. ... to execute and this string as a generic procdure that will execute the ... one of the web method, it does list it in IE, when i browse the asmx file, ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: Web Service Identity
    ... IIS for webservice A so as to get the clientside user's windows crediential ... | I have a web service that runs under its own IIS Application Pool ... | Within my web method I require the caller to be a member of a specific ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: OutOfMemoryException: Webservice, DataSet and file transport
    ... Calling the web service from a desktop pc gives no problems. ... achieve with the web method is updating the software. ... >> I keep the dataset in memory. ...
    (microsoft.public.dotnet.framework.compactframework)

Quantcast