Posts

Custom Segments Validation

hi! deployed biztalk projet run test. configured pam , test successful. unfortunatelly, tests executed edi files create myseft, information header match information in pam. problem partners can send message right isa6 , isa8, don't care isa5 , isa7 put value doesn't match in pam. possible customize header validation of edi messages? i know ask partner edi compliant when sends message, cannot ask him modify anything. merci! it depends on how , using isa5 , isa7 for. i suggest creating custom property schema properties cisa5 , cisa7 read isa5 , isa7 edi message in custom component , write cisa5 , cisa7. change edi message isa5 , isa7 "zz". when message goes through edi disassembler disassemble isa5 , isa7 zz @ same time cisa5 , cisa7 have original values. down line if using message in orchestration, access cisa5 , cisa7 values context property. if process in messaging scenario make use of context accessor functoid cisa5 values in map. i think it...

Using Application Insights API from a Windows Console Application

i have simple windows console application , trying send event, trace, metric, , exception data application insights no data showing in application insights. i've added latest nuget of application insights api (v0.16.1-build00418) console application. here console application code: class program { static void main(string[] args) { telemetryclient tc = null; try { tc = new telemetryclient(); tc.trackevent("sampleevent"); tc.tracktrace("simple trace log message"); tc.trackmetric("basicmetric", 42); throw new exception("something bad has happened!"); } catch (exception e) { tc.trackexception(e); } } } here applicationinsights.config (where "[myinstrumentationkey]" replaced actual instrumentatio...

BCS authenticating with oData source

so have odata source using have app connect our service , retrieve data via external content types/external lists.  i'm using sharepoint 2013 online dev preview, right there no authentication @ all.  i'm wonder how can go accomplishing this. i interested in 2 parts actually: 1.  the app authenticate , verified our services.  this same no matter user in sharepoint environment. 2.  we able determine individual user connecting us.  this allow more finely cater experience , data particular user. thanks help, matt the bcs model create odata source. can provide authentication attaching tokens requests made service. attaching tokens request accomplished creating odataextensionprovider. http://blogs.msdn.com/b/sharepointdev/archive/2012/11/30/bcs-odata-custom-authentication-using-extension-provider.aspx scot author, professional business connectivity services author, inside sharepoint 2010 blog, www.shillier.com twitter, @scothillier sh...

2 Dim arrays

temperature report port elizabeth date                                 min      max      difference =====                                 ====      ====     ========== 2014/03/03                   19          25           6 2014/03/04                   16*        23          7 ...

Error in debatching with the help of envelope schema

Image
hi, have following orchestration : i getting following error after deploying project : xlang/s engine event log entry: uncaught exception (see 'inner exception' below) has suspended instance of service 'interplx.employeeexpensetoidoc(5a39c530-92f1-87fd-a074-b64bc295058c)'. service instance remain suspended until administratively resumed or terminated.  if resumed instance continue last persisted state , may re-throw same unexpected exception. instanceid: ceec1c30-3196-4b09-9094-1c37f9f13c13 shape name: callpipeline shapeid: 19fd46ea-99f6-4a31-bf70-c6490b94d72e exception thrown from: segment 1, progress 14 inner exception: there failure executing pipeline "interplx.receivepipeline2". error details: "finding document specification message type "idocdata" failed. verify schema deployed properly. ".          exception type: xlangpipelinemanagerexception source: microsoft.xlangs.pipeline target site: mi...

Single.TryParse methods rounds values

hello, i experiencing unexpected rounding while converting string single. here code snippet shows problem: string s = "9999,9999" ; single f; single.tryparse(s, out f); in case, converted value (f variable) holds 10000 intead of 9999,9999 expected. if use decimal, intead of single, expected result. however, know why float (or single) not support convertion , why rounding took place. had problems figure out rounding hapenning.... i read @ msdn docs, float has 7-digit precision. in understanding, means 7 "decimal digits", right? in case, using 4. could please clarify issue me? sincerely, igor. software developer business applications www.twitter.com/ikondrasovas precision indicates number of significant digits permitted.  have 8.  when parse occurs, round of final 9 occurs.  try using double. Visual Studio Languages ...

C# Emulate Ctrl+V paste

hello! i'm kind of new c#, , don't know how this, want know if it's possible have c# program emulate paste when ctrl+v pressed. basicly, if hit f6 starts pasting whatever have in clipboard or defined in program until hit f6 again. (in selected text field only) if so, how. thanks paste 1 off operation.  don't start pasting , press key stop.  to paste clipboard can use clipboard class.  need query pasted content matches format want (sounds text - containstext ) , can get text , place in whatever control want. michael taylor http://msmvps.com/blogs/p3net Visual Studio Languages  ,  .NET Framework  >  Visual C# ...