Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7724197
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:37:52+00:00 2026-06-01T04:37:52+00:00

ERROR: unknown web method DoIt Parameter name: methodName I’m trying to pass a date

  • 0
ERROR: unknown web method DoIt Parameter name: methodName

I’m trying to pass a date into a DB Query function backended by VB.NET but am having problems with the webside of things.

var dat = $("#Date").val(); //textbox with a date    

$.ajax({
                    type: "POST",
                    url: "file.aspx/DoIt",
                    cache: false,
                    contentType: "application/json; charset=utf-8",
                    data: {param:dat},
                    dataType: "json",
                    success: function (data, status) {
                        var response = $.parseJSON(data.d);
                        alert(response.message);
                        alert(status);
                    },
                    error: function (xmlRequest) {
                        alert(xmlRequest.status + ' \n\r ' + xmlRequest.statusText + '\n\r' + xmlRequest.responseText);
                    }
                });     

The file.aspx.vb file:

(at the end of the file)

<System.Web.Services.WebMethod()> _
Public Function DoIt(ByVal param As String) As String
    UpdateDB(param) 'function is above
End Function

I’m just not entirely sure whats going wrong or what it means ;/

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T04:37:53+00:00Added an answer on June 1, 2026 at 4:37 am

    Something that might be worth checking out is to ensure that your database is setup to receive a datetime datatype.

    Also something to try in your web-service declaration:

    <ScriptMethod(ResponseFormat:=ResponseFormat.Json)> _
    <WebMethod()> _
    Public Function DoIt(ByVal param As String) As String
        UpdateDB(param) 'function is above
    End Function
    

    Reference: webservice – unknown web method parameter name methodname

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to execute a query but I get an error: Unknown table alias
<apex:outputField rendered={!(WidgetType.contains('mywidget1'))} /> When I do this I get an error... Error: Unknown function
I am trying to invoke method via webservice (SOAP) I have generated Web service
i deployed my App to my iPhone and get Unknown error calling sqlite3_step (8:
here is my coding which gives me the error 'warning: unknown conversion type character
I am trying to service AJAX requests with a method in my .aspx page.
I would like to insert an API java into a web page. Even with
Using the rails button_to helper I'm trying to run the update method in a
This is a spring mvc application using IntelliJ. I'm getting this error: org.springframework.orm.hibernate3.HibernateSystemException: Unknown
I am trying execute a java class which accesses a method in a jar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.