Posts

Showing posts from January, 2014

Decimal Notation - EDIFACT

hello,   i'm investigating edi adapter , error when try parse edifact document.   event type: error event source: biztalk server 2006 edi event category: none event id: 8118 date:  04/10/2007 time:  11:14:04 user:  n/a description: error encountered during parsing. edifact transaction set id '000002837' contained in interchange (without group) id '000232930', sender id 'xxx', receiver id 'xx' being suspended following errors: error: 1 (field level error)  segmentid: pri  position in ts: 18  data element id: c50902  position in segment: 2  position in field: 2  data value: 4.63  37: invalid character(s) found in data element   this because decimal notation in document .(decimal) , not ,(comma).   i've found set outbund decimal notation can't life of me, find settings inbound messages.   any offer appreciated. iain this setting can found in una segment sixth character give decimal notation incoming message. if una not

asp.net master page designing

please tell me how navigate pages in master page designing process hello, thanks posting. from description,this thread related asp.net.asp.net forum more suitable .i suggest post directly in asp.net fourm. asp.net forum: http://forums.asp.net/ this forum moderator , community glad you.   in addition, can try refer article : master pages , site navigation (c#) hope these help. lilia gong <the content provided "as is" without warranty of kind, whether express or implied> thanks msdn community support please remember "mark answer" responses resolved issue. common way recognize have helped you, , makes easier other visitors find resolution later. .NET Framework  >  Common Language Runtime Internals and Architecture

Wrong assumption about ID property?

i'm trying upload following json document: { id: { key: "qwerty" } } this fails following (client) error message json.net: "can not convert object string". similar error occurs document of form: { id: [ "a", "b", "c" ] } documentdb assumes when there id property has string value doesn't have case. the error result of attempt explicit cast of jobject (or jarray) string (in jtoken class: public static explicit operator string(jtoken)). documentdb requires id of type string every document. if supply id, must be string , must be unique. if not, error similar 1 receiving. if not supply value id, documentdb generate unique id (as string) you. if have complex type, jobject or jarray, want make unique document, let documentdb assign unique string id property not putting in id, and insert "unique key" in different property. use pre trigger ensure uniqueness of before persisting record in database.

JIT COMPILER

Image
in memory location    jit compiler operations saved .?     what application test jit compiler in .net?   hi,   welcome msdn forum.   you want see jit compiler does, right? not sure want do. if want know jit dose assemblies, can use windbg .   you can start tutorial . download tool here .   i hope can you. paul zhou [msft] msdn community support | feedback us get or request code sample microsoft please remember mark replies answers if , unmark them if provide no help. .NET Framework  >  Common Language Runtime Internals and Architecture

Copying table contents from a webpage into .txt file with C#.Net

hi everybody i want copy table contents webpage .txt file c#.net. how can windowsformapplication in visual c#.net? thank you   new ideas, superior solutions www.salamgroup.net hi, you can use webbrowser control this. you have to go through each  tr , td find exact value.  example. htmldocument document = webbrowser.document; if (document != null && outerhtml != null ) { htmlelementcollection tablecollection = document.getelementsbytagname( "table" ); foreach (htmlelement table in tablecollection) { htmlelementcollection trcoll = table.getelementsbytagname( "tr" ); foreach (htmlelement row in trcoll) { htmlelementcollection tds = row.getelementsbytagname( "td" ); if (tds != null && tds.count > 1) { st

Win Error

whenever  i start system, showing msitqk32.dll error..........plz suggest me proper solution. this forum people design software... functioning computers. unlikely find computer tech patrol forum. i have no idea software related dll, unable suggest forum you. dll not common file, not microsoft. try find forum computer users.  following signature, not part of post please mark post answered question answer, , mark other helpful posts helpful, appear differently other users visiting thread same problem. visual c++ mvp Architecture  >  Architecture General

Equivalent of CatalogSearch.SqlWhereClause in MCF

hi, what equivalent of catalogsearch.sqlwhereclause (explained in following link) in mcf? http://msdn.microsoft.com/en-us/library/microsoft.commerceserver.catalog.catalogsearch.sqlwhereclause(cs.90).aspx thank you, allan hi, the commercesearchcriteria operation has property take sql statement : http://msdn.microsoft.com/en-us/library/dd464343(v=cs.90).aspx let me know if need example? thanks, lewis   follow me on twitter: @lewisbenge or check out blog: http://www.geekswithblogs.com/pointtoshare/ Commerce Server  >  Commerce Server 2009

Biztalk database inconsistency

hi i have problem have 2 biztalk servers in same group, , 1 of them have become slow. it slow in administrative console, , slow process messages. other server fast in both administrative console , process messages fast. is there possible inconsistency in 1 of biztalk databases causes such problem? i tripple checking firewall settings, , saw sysadmin had added third network adapter on server, deactivated , lightning fast again :) thank tips BizTalk Server  >  BizTalk Server General

Differences both in statistics and in AdCenter interface

Image
there differences between stats both in www interface , in api create report results. sample campaign  <accountid value="1896035" /> <accountname value="msn.local" /> <campaignname value="mc5101 - bugs/defects/features 2" /> <campaignid value="90523629" />  <gregoriandate value="2/5/2013" /> interface (campaign level). see, adgroup "english" has 2 clicks , spend 0.96 : interface - keywords in english adgroup. see, have 2 clicks , 0.97 spend: results api: campaign level ( campaignperformancereportrequest ): <row> <accountname value= "msn.local" /> <campaignname value= "mc5101 - sem-14398 - liens sponsorises" /> <campaignid value= "90512050" /> <spend value= " 1.63 " /> <impressions value= "21" /> <clicks value= "6" /> </row> results api: campai

difference between COM and SOA

can please tell me difference between component object model , service oriented architeture?   what com?   component object model (com) binary-interface standard software componet entry introduced microsoft in 1993. used enable interprocess communication , dynamic object creation in large range of programming languages. term com used in microsoft software development industry umbrella term encompasses ole, ole automation, activex, com+ , dcom technologies.     microsoft com (component object model) technology in microsoft windows-family of operating systems enables software components communicate. com used developers create re-usable software components, link components build applications, , take advantage of windows services. com objects can created variety of programming languages. object-oriented languages, such c++, provide programming mechanisms simplify implementation of com objects. family of com technologies includes com+, distributed com (dcom) , activex® c

There was a problem sending data to Power BI.

started new stream analytics job sending data iot stream, power-bi dashboard. worked while until error messages started showing in services log. message: there problem sending data power bi. following information may helpful diagnosing issue. power bi referenceid: xxxxx-xxxx-xxx message time: 2016-05-20 09:37:44z microsoft.resources/eventnamev2: streamingnode0.xxxxx-xxxx#0$0 microsoft.resources/resourceuri: /subscriptions/xxxxx-xxxxx-xxxxx/resourcegroups/streamanalytics-default-north-europe/providers/microsoft.streamanalytics/streamingjobs/xxxxxxxxxx type:powerbioutputadaptersenddataerror repeating several other messages like: error: response status code [500] --- message: output experiencing transient errors. retrying... --- etc, etc...! ideas what's going on here? please contact microsoft css support track issue. Microsoft Azure

Implicit operator and Generic classes

i have highly constrained generic class impliment generic implicit conversion between instances.  can not find examples, , lame attempts have not compiled. is posible? if so, syntax? thx, george check out: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vclrfimplicit.asp //edit: sorry, don't mind post. did not understand your question at first. Archived Forums V  >  Visual C# Language

C# - How to save the values of listview into a single row of table

hello guys! i developing students profiling system. in program have listview grades of student saved semesters. my problem is, how save values of listview in single row table? in other websites, should use loop statement , arrays, don't know how that. please help. ok, assume data 1 student? , have student table in database? (you should). student table should have primary key (pk). need in tbl_tertiary database table column contains studentkey (this called foreign key, or fk). , have parent-child relationship (with student parent, , data in tbl_tertiary child). if don't have that, need add it. so then, when insert each row listview separate row in tbl_tertiary database table (which result in 2 rows in table, in case of data in screenshot), you'd have include studentkey, "links" both of these rows student. for (i = 0; <= terlistview. items .count - 1; i++) { sqlcommand intertiary = con.createcommand(); intertiary.commandtext = &qu

Any body who worked on creating a web service for any generic activity like getting address using ESB Toolkit?

helo,   i need create web service generic activity getting address sql server using esb toolkit. new working esb toolkit. went through msdn forums of esb toolkit too. gave me idea no clue on how start with. confusing. i have orchestration accepts request , gets data sql server. know how publish web srvice normally. esb toolkit come into? how need proceed on using application? can explain me detailed steps on how accomplish it.   thanks,   anusha. hi anusha, "like getting address sql server" for understanding of question, assume there table (employees) in sql server db (hr) with column name "address1" , need fetch information in address1 column.  there several possible ways. 1) publish orchestration (which accepts input request return address) as wcf service then route messages dynamically to wcf service (how: lnk shows hows dynamic resoultion works , out itiniries).  there sample dynamic resolution in esb download  (it documented, give

Require non-null arguments by default?

hello, i think find myself writing "contract.ensures(foo != null)" more want allow null parameters function. there existing way like: [assembly:contractimplictnonnullarguments /* doesn't exist */] class foo { void foo1(string s) { // implicitly: contract.requires(s != null) ... } void foo2(string s) { contract.canbenull(s); /* doesn't exist; disables implicit precondition */ ... } } ? (and maybe similar return values). if not, worthwhile new feature? a simpler solution me perform source transformation add various contract.requires(x != null), each parameter x. then, delete ones can null. this has advantage of not extending contract api, keep tools are, make evident program text require -- instead of implicit behavior: not core of contracts? i.e., making assumption implicit? ciao f DevLabs

Bizunit Issue in Biztalk server 2006

hi all   i installed   setupbizunit v3[1].1 and   nunit-2.5.1.9189 so   here not able add bellow namespace classlib using microsoft.services.biztalkapplicationframework.bizunit   so query 1)   what updations   setupbizunit v3[1].1   rather setupbizunit v2.0 2)   is necessary install nunit . 3)   i using biztalk server 2006,.net 2.0,vs 2005,sql 2005 4)   anyone having setupbizunit v2.0 download path please update me.   regards vittalaranga for 2.1 version of bizunit installation can refer dll same name <drive>:\program files\microsoft services\bizunit 2.1\bin. 3.0 version, couldn't find this. older versions of bizunit available in codeplex under releases section. please check http://bizunit.codeplex.com/release/projectreleases.aspx?releaseid=2122 genuine basil BizTalk Server  > 

Adding an icon to a MenuItem?

how add icon menu item in expression blend? i using expression blend design ui of traditional windows application--one has menus , toolbar. have figured out except how add icon particular menu item. in blend, menuitem control icon property under common properties, , assume where specify image file use icon. have added suitable png file project path, not able point icon property to file. i had expected see elipse button next icon property would use specify file, see no elipse. have clicked advanced property options glyph, don't see on context menu helps. so, question is: how specify image file menuitem control should use icon? in advance help. david veeneman foresight systems ah, apologies - misread question then. there no way manipulate icon property on design surface - problem want solve in future. today, have hard-coded set of properties want enable on design surface - example, header menuitem, , don't list properties of type object in order avoid cluttering object

C# 2.0 property or the underlying field for assignment?

hi, got different versions of c# code (2.0, 3.5, 4.0) in same file using preprocessor directives, and that's way here in github: https://github.com/facebook-csharp-sdk/facebook-csharp-sdk/tree/master/source the question c# 2.0 properties , c# version greater 2.0 automatic properties, both in same file using preprocessor directives say: #if net_2_0 // c# 2.0 code goes here #else // c# 3.0, 3.5 , 4.0 code go here #endif here's sample code snippet: private class parameter : icomparable {     public parameter(string paramname, string paramvalue)     {         this.parametername = paramname;         this.parametervalue = paramvalue;     } #if net_2_0     private string paramname;     public string parametername     {         get         {             return this.paramname;         }         set         {             this.paramname = value;         }     }     private string paramvalue;     public string parametervalue

C# Exception: The process cannot access the file

i'm getting exception: process cannot access file. here's snippet code: if (! monitor . tryenter ( lockobject ))     return ; try {     watcher . enableraisingevents = false ;     try     {         xmldocument xdoc = new xmldocument ();         xdoc . load ( filename );         xdoc = null ;     }     catch ( xmlexception xe )     {         using ( streamwriter w = file . appendtext ( filename ))         {             console . writeline ( xe );             w . writeline ( "</test>" );             w . writeline ( "</testwrapper>" );         }     }     system . threading . thread . sleep ( 2000 );     xpathdocument myxpathdoc = new xpathdocument ( new streamreader ( filename , system . text . encoding . getencoding ( "windows-1256" )));     xslcompiledtransform myxsltrans = new xslcompiledtransform ();     myxsltrans . load ( "d:/gs/xsl/test.xsl" );

Session variable lost after Response.Resdirect

attempting pass value page session variable being lost after response.redirect.  i've looking on google solutions said use: response.redirect("yourpage.aspx",false); however wehn try read variable page redirecting exception: "object reference not set instance of object" what things can check prevent session variable being lost? is server.transfer alternative or query strings is possible redirect in javascript , not lose session variable? many thanks response.redirect("checkout.aspx?factor=" + x.tostring()); Visual Studio Languages  ,  .NET Framework  >  Visual C#

The process cannot access the file 'c:\inetpub\wwwroot\webservices\test\20120104093015511.xml' because it is being used by another process

hi everyone,   great if  me solve issue.  have developed c# api. looking going ok..but time client getting error have list out below. not understanding might problem. saving response xml in server . problem having when response xml getting saved folder?   soap:envelope xmltext xmlattributes struct xmlns:soap http://schemas.xmlsoap.org/soap/envelope/ xmlns:xsd http://www.w3.org/2001/xmlschema xmlns:xsi http://www.w3.org/2001/xmlschema-instance soap:body xmltext soap:fault xmltext faultcode xmltext soap:server faultstring xmltext server unable process request. ---> process cannot access file 'c:\inetpub\wwwroot\webservices\test\response\2_20120104093015511.xml' because being used process. detail xmltext

Pausing all tasks when condition is met

hello.  i'm trying consume remote vendor service using 25 tasks.  the service crashes occasionally.  the vendor thinks issue when try access account locked service doesn't unlock account until logs condition , requesting lock before unlocks crashes.  so, vendor has requested pause tasks few seconds when receive success=false response. reading cancellationtokensource.  i'm ok cancelling tasks if need i'm not sure how use it.   assistance appreciated. here code: private static object lockobject = new object(); public semaphore sema { get; set; } public overdraftdata getoverdraftitem() {     lock (lockobject)     {         return this.overdraftcollection.dequeue();     } } public void domywork() {     this.sema= new semaphore(25,25);     queue<overdraft> data = new queue<overdraft>();     (decimal = 0; < 40000; i++)     {         data.enqueue(new overdraft { account = i, limit = });     }     list

HL7 -Orchestration Assigning schema and Mapping ?

Image
after receive shape (receiving multipartmessage) , using assignment shape able see getting in msh segment,body segments. i have canonical schema on destination side, how can send header fields destination ? can use multiple sources in map  and map ? give me output ? experts please reply my message assignment shape has below code : msgbody=msgmultipart.bodysegments; msgmsh=msgmultipart.mshsegment; msgz=""; //following code tests if messages split or not using event log xdoc=new system.xml.xmldocument(); xdoc=msgmsh; system.diagnostics.eventlog.writeentry("body message",xdoc.outerxml); msgmsg_25=msgmsh; xdoc=msgmsg_25; system.diagnostics.eventlog.writeentry("body message",xdoc.innerxml); mbh hi jaguarjags, your party not getting resolved issue. regards, mandar dharmadhikari BizTalk Server  > 

CanDeserialize does not work with generated assemblies using sgen.exe

hi i have following example code demonstrate problem. using system.xml; using system.xml.serialization; namespace consoleapplication1 { public class program { public static void main(string[] args) { xmlserializer serializer = new xmlserializer(typeof(example)); xmlwriter writer = xmlwriter.create("test.xml"); example input = new example { text = "test" }; serializer.serialize(writer, input); writer.close(); xmlreader reader = xmlreader.create("test.xml"); bool candeserialize = serializer.candeserialize(reader); example result = (example)serializer.deserialize(reader); } [xmlroot("example", namespace = "http://tempuri.org/example")] public class example { [xmlattribute("text")] public string text { get; set; } } } } if run code, value of candeserialize true (like should be). if add a post build step speeds xmlserializer constructor (and genera

SQL Server DTS Designer Components installed but can not find on the computer

hi, i in urgent need of help. i have ms access database converted sql server database. now downloaded , installed ms sql server 2005 management studio , connected sql server database. now, have import access data in sql server through sql server 2000 import/export client tool, installed sql server 2000 dts designer component. i able install in computer can not find component on computer. i checked c:\program files\microsoft sql server\90\    did not find dts\binn\dts*.exe there.  not know how , start wizard import/export utility. i checked in explorer start->all programs , menu see ms sql server 2005 , nothing related dts.   please let me know should , components on computer.   proquest have considered... ssma? sql server migration assistance access? http://www.microsoft.com/downloads/en/details.aspx?familyid=5abe098d-c7e1-46c6-994a-09a2856eef0b&displaylang=en thanks. mohit. -------------------------------------- mcts: sql server 2005, mcitp: database admin

Identity manager configuration issue

hello,   i running microsoft connected services framework 3.0 configuration wizzard, having problems when try apply configuration of identity manager. displays following error information:   title: microsoft connected services framework 3.0 configuration wizard ------------------------------ unexpected exception occurred while configuring [identity manager]. for help, click: http://go.microsoft.com/fwlink/events.asp?prodname=microsoft+connected+services+framework+3.0&prodver=3.0.1.1264&evtsrc&evtid ------------------------------ additional information: exception has been thrown target of invocation. (managedconfigframeworkhelper) for help, click: http://go.microsoft.com/fwlink/events.asp?prodname=microsoft+connected+services+framework+3.0&prodver=3.0.1.1264&evtsrc=managedconfigframeworkhelper&evtid ------------------------------ the server unwilling process request. (exception hresult: 0x80072035) for help, click: http://go.microsoft.com/

Get base Catalog name from virtual Catalog object

hi,   does know how name of base catalog connected virtual catalog? have virtual catalog object , find base catalog.     this returns catalog set. can iterate likes foreach (catalogsdataset.catalog productcatalog in dependentcatalogcatset) { console.writeline(productcatalog.catalogname); } hope helps. regards glen (software) smith mcm cs2009 training, europe , north america: http://www.software-smith.com/ cs2007 book: http://www.software-smith.com/csbook Commerce Server  >  Commerce Server 2009

C# Lotus Notes Problem AllocHandle: OUT OF PRIVATE HANDLES!

hi, i have issue getting below error when interrogating notes database through c# application. allochandle: out of private handles! -- pid 00000f38 handles used far 6339, maximum handles - 16440, error - 0x107 maximum number of memory segments notes can support has been exceeded i understand error due domino private handles limit being reached believe 6,339 although i've read has been increased on 10,000 in more recent versions.  can't lotus notes infrastructure in company trying work around issue. the notes database need search has 10,000 dcouments view can't searched on using field wan't find.  i've devised way can work out required document number need in case value i'm looking doesn't exist have check value of notes item in each of 10,000 documents.  in situation above error when hit around 6,000 checks mark. the code i'm using similar below, notessession session = new notessession(); session.initialize(password); no

C# Error when selecting text boxes

hello i have problem unable work on project due features not working. when select text box, flashes , when @ form properties don't update. i've added little screen grab show issue. http://i.gyazo.com/975a016b967adbc64ad218f53797c059.gif i have uninstalled multiple times, , removed sub folders , registry etc, happens on visual studio 2013 :/ any appreciated, thanks. is project on local c:\ drive. if not build project on c drive , see if same issue. jdweng Visual Studio Languages  ,  .NET Framework  >  Visual C#

How to differentiate exe call?

hi,           running exe in 2 way(double clicking icon, or creating scheduler). way differentiate exe call, mean code find application calling task scheduler or double clicking. want show different form's when call scheduler , calling double clicking of exe...what code have write in program.cs differentiate both of event...   regards, saj add commandline parameter "/launchexplicitly" app. in application parse arguments , decide how proceed. a double click not set parameter taskscheduler can configured start app such parameter. no pressure, no diamonds. Visual Studio Languages  ,  .NET Framework  >  Visual C#

How to read text file based on key values

hi, i have text file ini file, how read text file based on keys i need values after "="  symbol here example lines. lbldays1=days lblinhex=in hexadecimal notation information=information lblhjunk=junk e-mail folder excluded selected mailboxes lblhfqdn=fully qualified domain name. find fqdn, open exchange system manager, expand recipeints, open recipient policies, double click on default policy, in properties windows, navigate email addresses(policy) tab, find out default smtp entry(the highlighted one), fqdn(without first @ symbol) lblftypeincluded=file types included lbl60000=(60-6000) lblexchusername=username lbl10000=(1-10000) hi, you use code above.  using system; using system.io; using system.collections; public class iniparser { private hashtable keypairs = new hashtable(); private string inifilepath; private struct sectionpair { public string section; public string key; } /// <summary>