Click here to Skip to main content
15,889,200 members
Home / Discussions / C#
   

C#

 
GeneralRe: Having trouble connecting with my datasource Pin
Hum Dum1-Jul-12 19:51
Hum Dum1-Jul-12 19:51 
GeneralRe: Having trouble connecting with my datasource Pin
deadEddie2-Jul-12 5:15
deadEddie2-Jul-12 5:15 
AnswerRe: Having trouble connecting with my datasource Pin
AnnieCalvert1-Jul-12 22:40
AnnieCalvert1-Jul-12 22:40 
GeneralRe: Having trouble connecting with my datasource Pin
deadEddie2-Jul-12 17:59
deadEddie2-Jul-12 17:59 
QuestionTcpClient with Proxy Pin
Falchon1-Jul-12 13:37
Falchon1-Jul-12 13:37 
AnswerRe: TcpClient with Proxy Pin
Luc Pattyn1-Jul-12 14:35
sitebuilderLuc Pattyn1-Jul-12 14:35 
GeneralRe: TcpClient with Proxy Pin
Falchon1-Jul-12 14:53
Falchon1-Jul-12 14:53 
QuestionOdd RuntimeBinderException Pin
LastAndFirst1-Jul-12 0:27
LastAndFirst1-Jul-12 0:27 
I'm getting a very weird RuntimeBinderException that I cannot explain. I'm using .NET 4.0 and Workflow Foundation 4.0. The exception occurs when the workflow reaches an activity that uses the class that I assume is raising exception.

"The System.Datetime type cannot be implicitly converted to string".

The code never really reaches the method where the exception occurs (at least I assume it's this method as the console displays my own text that I write to the console in the catch block, though after changing the text it's the the old text I use) but rather seems to throw the exception before the method is actually called.

What's most confusing is that I don't really use any dynamics and made sure I don't implicitly convert a date to a string.

The System.Dynamics namespace is not used anywhere in the entire solution.

I use the SAP Business 1 RecordSet class, which has dynamics as fields, but this is the first time I get anything like this exception and I have been using them for months.

This is the code of the method: http://pastebin.com/FjxeXWB5[^]
This is the exception:http://i45.tinypic.com/mkhyde.png[^]

Thanks.
AnswerRe: Odd RuntimeBinderException Pin
DaveyM692-Jul-12 1:53
professionalDaveyM692-Jul-12 1:53 
Questioncheck is file created? Pin
Jassim Rahma30-Jun-12 20:24
Jassim Rahma30-Jun-12 20:24 
AnswerRe: check is file created? Pin
Pete O'Hanlon30-Jun-12 20:53
mvePete O'Hanlon30-Jun-12 20:53 
GeneralRe: check is file created? Pin
Abhinav S30-Jun-12 21:08
Abhinav S30-Jun-12 21:08 
GeneralRe: check is file created? Pin
Pete O'Hanlon30-Jun-12 21:16
mvePete O'Hanlon30-Jun-12 21:16 
GeneralRe: check is file created? Pin
Abhinav S1-Jul-12 3:49
Abhinav S1-Jul-12 3:49 
AnswerRe: check is file created? Pin
Luc Pattyn30-Jun-12 22:14
sitebuilderLuc Pattyn30-Jun-12 22:14 
AnswerRe: check is file created? Pin
Dave Kreskowiak1-Jul-12 3:58
mveDave Kreskowiak1-Jul-12 3:58 
QuestionHow to find the number of folders and files in particular folder Pin
jeetveer30-Jun-12 9:40
jeetveer30-Jun-12 9:40 
AnswerRe: How to find the number of folders and files in particular folder Pin
Dave Kreskowiak30-Jun-12 11:21
mveDave Kreskowiak30-Jun-12 11:21 
GeneralCrosspost Pin
Wes Aday30-Jun-12 11:26
professionalWes Aday30-Jun-12 11:26 
QuestionExcel Files Pin
DJCRIS1230-Jun-12 6:52
DJCRIS1230-Jun-12 6:52 
AnswerRe: Excel Files Pin
DamithSL30-Jun-12 8:28
professionalDamithSL30-Jun-12 8:28 
AnswerRe: Excel Files Pin
frostcox30-Jun-12 12:55
frostcox30-Jun-12 12:55 
GeneralRe: Excel Files Pin
DJCRIS123-Jul-12 4:31
DJCRIS123-Jul-12 4:31 
QuestionDns.GetHostEntry and Dns,GetHostName Pin
Arjun Menon U.K30-Jun-12 2:56
Arjun Menon U.K30-Jun-12 2:56 
AnswerRe: Dns.GetHostEntry and Dns,GetHostName Pin
Dave Kreskowiak30-Jun-12 4:22
mveDave Kreskowiak30-Jun-12 4:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.