Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Herb.B 1 post 21 karma points
    Jul 19, 2012 @ 00:30
    Herb.B
    0

    Index was outside the bounds of the array.

    Hi,

    Hopefully someone can help me out here, I was getting the "Request format is unrecognized for URL unexpectedly ending in '/SendContactForm'." server error, so i added
      <system.web>       
        <webServices>
          <protocols>
        <add name="HttpGet" />
        <add name="HttpPost" />
        <add name="HttpSoap" />
          </protocols>
        </webServices>

    But now I am getting an "Index was outside the bounds of the array." 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.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)

    Any Ideas? Site is on IIS and is setup with net 4.0

Please Sign in or register to post replies

Write your reply to:

Draft