Home PHP C# C++ Android Java Javascript Python IOS SQL HTML Categories

Getting "The type name or alias FooController could not be resolved" on different server

I solved the problem. I setup a development environment on one of the remote servers. I noticed a problem with one of the references in the web project. The MVC assembly needed to be fixed. So I removed and re-added it. Worked like a charm.

Looking at the change this made, here's what I saw:

enter image description here

The code on the left is my local dev box. It was referencing version and the code on the right is after I fixed the reference on the remote server. It is referencing version

It seams my local dev box had some strange version of MVC installed. So I uninstalled it, and reinstalled from the latest published version and republished the code from the local dev build and it worked fine.

After look into this even further, this appears to be the root cause of the problem to begin with:

Windows update caused MVC3 and MVC4 stop working

Categories : C#

Related to : Getting "The type name or alias FooController could not be resolved" on different server
xml cannot be resolved to a field
Make sure you have imported your.package.R not android.R. Then look for error(s) in your res directory. It seems that somewhere in your res directory you have an error that prevents regenerating R class. Solve that error and clean your project.

Categories : Android
org.talend cannot be resolved
The procedure for installing custom components is described here: In essence, you should go to the Modules view (Window > Show views > Talend > Modules) and download and install needed modules from there.

Categories : Java
Method cannot be resolved in SignalR 1.0 hub in C#
this link can help trouble shoot a number of SignalR issues. “Exception: method could not be resolved” when client calls method on server This error can result from using data types that cannot be discovered in a JSON payload, such as Array. The workaround is to use a data type that is discoverable by JSON, such as IL

Categories : C#
safe1 cannot be resolved (JUnit)
safe1 is declared as a local variable in your setUp() function. If you want it accessible from other methods, it should be declared as a data memeber: public class SafeTest { Safe safe1; Safe safe2; @Before public void setUp() { safe1 = new Safe(); safe2 = new Safe(); safe2.activate("Initial"); } @Test public void testSetToActiveWrong() {

Categories : Java
text_size cannot be resolved in R.dimen?
For the future users, it was an importing problem. text_size exist in project resources and not in Android resources, so importing net.mypackage.R; instead of android.R; fix the error.

Categories : Android
Recently Add
Process MainWindowTitle not displaying for all running processes
SendGrid Tutorial resulting in Bad Request
Dropdown list from table in ASP NET MVC
Newtonsoft.JSON Serialization Array, Object, or Null
Using LINQ to select a byte array
How to stop scripting?
C# access to object property after json decode
How to kill instance of Word/Excel File in C#
Datatypes for MemoryStream.Capacity vs MemoryStream.Length
How to remove a selected row from a table when using KnockoutJS
SqlCommand returns null even tho there is data in the database
Replacing words in a body of text from array
C# dropping milliseconds from Java SOAP call
C# Deserialize list in JSON
Deserialize xml by linq, default with many elements
How to Access Grid View from hub section Data Template Windows phone 8.1 in C#
Input dialogue popup on mouse click
WPF: Binding to MainWindow Property SOLVED
Why is setting a field many times slower than getting a field?
Change multiple materials in one GameObject in Unity3D
.NET MVC error client side with custom validation attribute
Windows Search Service - text saved in ansi (codepage 1251) format - search for non-english symbols gives no result
String.Split - Omit empty array elements OR below a certain length
RequiredFieldValidator does not validate when ValidationGroup applied
Which WCF's extension point should be used for setting context for each operation?
Determine var type depending on ternary (?) Operator on int array
Resolving Windows phone 8.1 Compilation Error: GetENumerator
Specific Ordering of a List of Objects using LINQ
'string' does not contain a definition for 'Fill' and no extension method 'Fill' accepting a first argument of type 'string' could be found
how can ı pass data from serverside to clientside
© Copyright 2017 Publishing Limited. All rights reserved.