Posts

Build-in and custom reducers.

hi! looking examples how reduce statement works, how use built-in reducers , how write custom reducer. need group rowset id, , combine rows same id new row. sorry delay (i on vacation , catching up). there no built-in reducers. can find reducer sample here: https://blogs.msdn.microsoft.com/mrys/2016/06/08/how-do-i-combine-overlapping-ranges-using-u-sql-introducing-u-sql-reducer-udos/ michael rys Microsoft Azure  >  Azure Data Lake Analytics & Store

NetworkInterface.OperationalStatus is not updating while program runs

hello, i wrote following code: networkinterface[] adapters = networkinterface.getallnetworkinterfaces(); while (true) { system.console.writeline(adapters[0].operationalstatus); thread.sleep(1000); } as can see code prints network adapter's status every 1 sec. when ethernet cable connected, print "up". but when disconnected cable, print continues "up". if start on when link down, print changes "down" not online when program runs. can ? best regards, z.v hello, i think code should be: while (true) { networkinterface[] adapters = networkinterface.getallnetworkinterfaces(); system.console.writeline(adapters[0].operationalstatus); thread.sleep(1000); } with code, when disconnect cable while program running, current status printed. best regards, z.v Visual Studio Languages ...

How to check if a BlobStream is valid?

there many members blobstream , i'm wondering use (if any) find out if blobstream valid. in particular there (azure) example calls function:         public void processimage(stream input, stream output)         {             int width;             int height;             var originalimage = new bitmap(input); and crashes @ new bitmap(input) statement. with invalid parameter  in system.drawing.dll. http://www.ransen.com cad , graphics software blobstream seem me inherit stream. you can use canread check validity. http://msdn.microsoft.com/en-us/library/microsoft.windowsazure.storageclient.blobstream_members.aspx chanmm chanmm Visual Studio Languages ...

BizTalk Stored proc raising error

system. invalidoperationexception: invalid command sent executexmlreader.  command must return xml result.   system.data.sqlclient. sqlexception (0x80131904): procedure or function 'inserttbl_lookup_duke_ membership' expects parameter '@mrn', not supplied. alter   procedure  [dbo] . [inserttbl_lookup_ezcap_ membership]   (       @mrn [varchar] ( 80 ),       @firstname [varchar] ( 30 ),       @lastname [varchar] ( 40 ),       @middlename [varchar] ( 25 )   =   null,       @dob [date] ,       @memberid [varchar] ( 20 ),       @gender [varchar] ( 1 ),       @extpayerid [varchar] ( 36 ),       @hpcode [varchar] ( 10 ),       @benopt [varchar] ( 2...

Trying to load C# AddIn into Excel.

Image
i trying load c# addin excel.   i followed steps here: https://www.quantnet.com/forum/threads/how-to-create-udf-in-excel-using-c-and-visual-studio-2008.1260/   afaik, did author described it.   i built blackscholesaddin , seemed work fine (i got no errors).   however, can’t seem find addin anywhere when open excel.  how can load addin?  i’m getting no error messages; nothing whatsoever.   i using vs 2010 , excel 2010. as can see, doesn't show automatically, , when try 'browse' it, can't see files inside solution (all folders seem empty), can't run there either. any ideas, anyone?? oh.  figured out.  didn't read instructions carefully; missed step before. everything fine now!! Visual Studio Languages  ,  .NET Fram...

Error configuring ContentSelectionContext 'advertising'. The pipeline 'advertising' has not been configured

hello, i getting following error in in event log when trying access commerce webservice. does know this? i need on this..... event code: 3005 event message: unhandled exception has occurred. event time: 6/22/2009 4:41:16 pm event time (utc): 6/22/2009 8:41:16 pm event id: e07f6101a2504aa0b39921a3d11b1208 event sequence: 15 event occurrence: 14 event detail code: 0 application information: application domain: /lm/w3svc/2050267328/root/orderswebservice-1-128901764865289924 trust level: wss_minimal application virtual path: /orderswebservice application path: e:\inetpub\wwwroot\8080\orderswebservice\ machine name:xxxxxxxxx process information: process id: 5688 process name: w3wp.exe account name: xxxxx exception information: exception type: commerceexception exception message: error configuring contentselectioncontext 'advertising'. pipeline 'advertising' has not been configured. request information: request url: http://localhost:8080/orderswebservice/orderswebservice.as...

Biztalk Backend Support

does biztalk 2009 support sql 2008 sp2 on backend windows 2008 r2 standard system?  or sql 2008r2 on the  end? hi bill, the  sp2 applies sql server , introduces 15k partitioning improvement, ect. before applying service pack on production environment advice test service pack first on non-production biztalk environment. biztalk server 2009 supports sql server 2008 , not believe there reason why not supported sp2. sp2 not affect biztalk database functionality, improves/enhances sql server edition. again need test first! reference see thread . hth steef-jan wiggers ordina ict b.v. | mvp & mcts biztalk server 2010 http://soa-thoughts.blogspot.com/ | @steefjan if answers question please mark accordingly biztalk BizTalk Server  >  BizTalk Server Gener...