Questions tagged [methodnotfound]
56 questions
57
votes
27 answers
Method not found on runtime
I have an ASP.Net c# project trying to access methods in a class in another project. It's working for first half of methods in the class but not for the other half of the methods in the class which I recently added. They compile, but they throw a…

williamsandonz
- 15,864
- 23
- 100
- 186
7
votes
6 answers
Method not found: 'System.IServiceProvider Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider'
In my Main method of .net Core app Iam getting this error and I dunno where should I look for solution.
this is my main method:
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestrel()
…

Daniel Rusnok
- 449
- 1
- 7
- 14
4
votes
3 answers
Overloaded method not found
The setup is as follows:
a .NET Standard 2.0 library
a NUnit test project for it, targeting .NETFramework 4.6.1
Latest VS 2017, latest NUnit.
I've been working on the project on weekend from home, uploaded my work to git and today started working…

Misamoto
- 572
- 6
- 16
4
votes
2 answers
When using RestSharp, I am getting MethodNotFound on a POST but the response thinks its a GET?
I am using RestSharp and doing a POST for the first time I have a number of GET requests that all work fine). The Rest Service is in python but I don't think thats critical to the question. Here is my code:
var client = new RestClient { BaseUrl…

leora
- 188,729
- 360
- 878
- 1,366
2
votes
2 answers
Potentially simple Objective C bug with a protocol
This might be a super simple bug, but my eyes are practically bleeding from trying to hunt it down. At first, I thought ARC might be playing a role, but now its completely disabled, and I'm still getting the bug.
I have a UMLLanguageProtocol…

Plastech
- 757
- 6
- 17
2
votes
2 answers
Laravel AJAX NotFoundHttpException
I've been trying to use the AJAX in my laravel project but it always return an error,
NotFoundHttpException on RouteCollection.php", "line": 179
My route in web.php is
Route::post('/ajaxRequest','AjaxController@index');
The controller code…

Praseetha P S
- 23
- 3
2
votes
2 answers
Why am I getting Uncaught TypeError: Object # has no method 'find'?
Why am I getting:
Uncaught TypeError: Object # has no method
'find' (anonymous
function):8080/twolittlesheep/js/sizeColorDependancy.js:16
c.event.handleajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js:63
…

despot
- 7,167
- 9
- 44
- 63
2
votes
3 answers
How to trace the origin of "()V" failures in Avro?
I am using apache crunch and have got a cryptic error message from Avro:
java.lang.NoSuchMethodError: org.apache.avro.mapred.AvroKey: method ()V not found
at…

jayunit100
- 17,388
- 22
- 92
- 167
2
votes
1 answer
MethodNotFound, singleton class and "optimize code"
I'm writing a .net compact framework app in c#. It was working fine in the development environment but when built in release mode and run by itself, it was throwing MethodNotFound exceptions. I sprinkled a bunch of debug logging code to find out…

Patrick
- 23
- 6
2
votes
0 answers
Mvc 3 Html.action Method not found - Void Microsoft.Web.Infrastructure
I published to web server (Windows server 2008 R2 Enterprise-IIS 7) My Mvc 3 web site but dont work,why?
_Layout.cshtml:
@Html.Action("GetLeftMenu", "Menu", new { ulCss = "navmenu-v", CurrentContentID = ViewBag.CurrentContentID, LangID =…

user1571206
- 21
- 3
2
votes
2 answers
Camel Throwing MethodNotFound for method that exists and is public
I'm testing a camel round but when I have the route try to access a particular method in a bean it keeps saying that there is no such method found. Source:
public class CommunicatorTest
{
FakeMessageConverter converter;
CamelContext…

mja
- 69
- 1
- 2
- 9
1
vote
0 answers
Spark 2.4.7 JDBC hive query SQLException:Method not supported
Using spark shell 2.2.1 hive JDBC I could query table. Below are details
Spark - 2.2.1
MAPR - 6.0.1
JDBC query -…

Suyogya
- 11
- 1
1
vote
2 answers
MethodNotAllowedHttpException for Post Method .Get and Head Supported
I defined my route in web.php as Post method. and csrf token is also added in form . Route:list command is working perfect and showing that post route. but when I submit form it shows The POST method is not supported for this route. Supported…

Manish
- 13
- 1
- 8
1
vote
0 answers
Missing Reference on specific machine using Fody Costura with Topshelf and Ninject
I have built a little Windows service that runs on a client's machine, connects to a local database and posts that data to a webservice. I'm using Topshelf with Ninject, and the code is essentially boilerplate, right from the template. I added…

Mark Bennett
- 11
- 1
1
vote
1 answer
Method invocation failed because [System.ComObject] does not contain a method named 'IHTMLDocument3_getElementsByTagName'
I've run into a problem that I can't figure out even after some frantic Googling. My PowerShell Script opens up a website, enters log in credentials and then selects a clickable link on the site. It is the clickable link I am having trouble with.…

James Lott
- 101
- 2
- 4