Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unexplainable error
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Problèmes
Titre:
Unexplainable error
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01580515
Message ID:
01580515
Vues:
53
Hi everybody,

I am attempting to debug a method I've created and I am getting a very weird error.

I have the following lines of code
   DateTime time = GetParameterDateTime(parameters, "ttDate");
            DataTable dt = this.GetResources(preferences, time, instr_type);
            messageText = database.GetFormattedReturn(dt, returnType);
(I originally just had messageText longer call without extra variables, but decided to trace it more). At the top of the GetResources method I have a break point.

However, immediately on the second line I'm getting the following exception:

System.MissingMethodException: Method not found: '!!0 Siriusware.Library.Functions.Smallest(!!0[])'.

First of all, the Library.Functions does indeed have public static method Smallest. I re-built that project and re-added that library into test project, but I still got that error.

Secondly, why I am getting that error on the line which doesn't even reference this Smallest method? It doesn't even go inside GetResources method.

So, I am baffled with this error and not sure how to resolve.

Thanks in advance.

UPDATE. I re-built the other project again, then re-added all the references and now the problem is fixed.
If it's not broken, fix it until it is.


My Blog
Répondre
Fil
Voir

Click here to load this message in the networking platform