Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unexplainable error
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Troubleshooting
Title:
Unexplainable error
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01580515
Message ID:
01580515
Views:
54
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
Reply
Map
View

Click here to load this message in the networking platform