Posts

Showing posts from September, 2010

Calling PHP Webservice in Asp.net(Its Urgent)

  hello all,   i calling third party php webservice in asp.net application.   localhostxyz srvlogin = new localhost.xyz();   localhost.logonresponsearray arryobj = new logonresponsearray ();   arryobj = srvlogin.logon( "abc" , "pqr" , "xyz" );   where logon() api from php web service.   return type of logon() method logonresponsearray class of array type.   i facing 1 problem that  arryobj returns null value.   so can 1 tell me how can proper value.   thanks   vivek deshpande       is typo? missing "." in "localhhostxyz"? 2 sides should same type. Archived Forums A-B  >  ASMX Web Services and XML Serialization

Store value from ListView items(column2) to List<string>

have winform, listview(2 columns), textbox, , 3 buttons(add, ok, cancel) in code have list, can store listview items. when click add button, value textbox added on listview , when click ok button, items listview added on list. need add items second column. when click ok button, items first columns being added list.. can me on how add items second column list ?? thanks. here's code: public partial class lottrace_01 : form { public list <string> lotlist = new list <string> (); public int = 0 ; public lottrace_01 () { initializecomponent (); } private void btnadd_click ( object sender , eventargs e ) { += 1 ; listview1 . items . add ( i . tostring ()). subitems . add ( txt_add . text ); } private void btnok_click ( object sender , eventargs e ) { for ( int = 0 ; < listview1 . items . count ; i ++)

Timeout a correlation set.

hi, have scenario, if initialize correlation set, say, on receive port , if message needs follow correlation doesn't reach in specified time period correlation set should expired , new message should create new correlation set rather following old correlation. how can achieved? thanks. kunal g hi kunal, you should have 2 receive shapes 1 active @ beginning. here should initialize correlation set. next receive shape (non active) should inside listen shape (as have shown above). also should employing 1 of following convoy patterns based on requirement sequential uniform convoy (to process same message types in order) sequential non uniform convoy (to process different message types in order) there parallel convoy cannot employ timeout in case. if still not clear, please elaborate requirement can help. thanks, mm2709 BizTalk Server  >

How can i clear the List and protect it with mutex so i will not get an exception ?

maybe mutex not needed here. need clear list without gtting exception. i explain exception in bottom of post. i have in form1 backgroundworker: private void backgroundworker1_dowork(object sender, doworkeventargs e) { backgroundworker bgw = (backgroundworker)sender; distance = 0; counter = 0; if (bgw.cancellationpending == true) { } else { while (counter < 200) { counter += 1; distance = (float)counter; datetime dt1, dt2; dt1 = datetime.now; cloudenteringalert.cloudalert(localbmp, distance); dt2 = datetime.now; timespan ts = dt2 - dt1; logger.write(ts.totalmilliseconds.tostring()); if (counter == 199) { counter = 0;

Failure in installing Mobility Services in Lync Server

hi,   trying install mobility services in lync server lync client running on mobile devices.   bootstrapper.exe throws error. step getting failed following error, error: script failed (code "error_restrict_database_access") when installing "monitoringstore" on "server.domain.com\archive". details, see following log file: "c:\users\sv2admin\appdata\local\temp\create-monitoringstore-server.domain.com_archive-[2012_07_18][16_07_43].log",microsoft.rtc.management.deployment.installdatabasecmdlet ▼   details └   type: powershellexception └   ▼   stack trace      └    at microsoft.rtc.internal.tools.bootstrapper.bootstrappertask.handlepowershellerrors(collection`1 errors) @ microsoft.rtc.internal.tools.bootstrapper.bootstrappertask.adddatabases() @ microsoft.rtc.management.internal.utilities.logwriter.invokeandlog(action action) also, while installing

Biztalk Server 2010 Developer Training Kit Question

hi i have installed biztalk , related biztalk training kit on windows 7 system. looking lab files, folder on machine contains word document of modules in labs none of related files customerinfo.xsd etc. i do not have access hyper-v load vhd files there. does know can hold og lab files (allfiles)? mark gareth after digging have found all_files folder vhd can found under vm\common folder bt10t-allfiles.vhd. as standalone installation not using hyper-v, vhd can mounted using administration tools\computer management\ disk management , selecting mount vhd more actions drop down. mark   BizTalk Server  >  BizTalk Server General

Do I need multiple Azure Key Vaults for each environment?

i doing initial research , unable find clear answer problem. plan have multiple environments, (i.e. dev, prod, , qa) need have new instance of azure key vaults each environment or able share data between them? hi, i not sure if there hard , fast rule on whether use different key vault each environment. can choose have objects (keys, secrets, , certificates) in 1 vault or different vaults. however, feel practice maintain them in different vaults , use same name objects in environments. makes managing objects easier , serves original purpose of vault better. if organization not want share production keys development team, not possible when keys environments in same vault access policies keys/secret/certificated , not @ individual object level.  at present, there no cost involved in creating new key vault don't see restricting going down path. check out article on azure key vault in real world application more details. please mark posts answers/helpful if answers query

RosettaNet Accelerator issues after BizTalk 2006 R2 SP1 install

after installed sp1 on biztalk 2006 r2 host, click in biztalk accelerator rosettanet generators error "value cannot null."  after looking through sp1 install log found following error, , cannot find online how fix this.  have verified had correct sp1 version bt version, not know why error complaining accelerator version.  there no option btarn, bt version.  now when try reconfigure btarn adapter, config console not come either.  tried apply hotfix 942849 combat btarn config issue, did not either. property(s): l_errortext_wrongbtsversion = [productname] designed microsoft biztalk server 2006. verify system meets requirement. requirement installing core components of microsoft biztalk accelerator rosettanet 3.5. property(s): l_errortext_btsadminfail = error: setup cannot proceed because failed initialize biztalk messaging configuration object. verify member of biztalk server administrators group. property(s): l_errortext_sqlfail = setup cannot proceed because failed c

interface does not work for me

hi,    please forgive me if ask beginner question. here code public interface idata { idata copy (); } ... public class dataa : idata { public dataa copy () { dataa mydataa = new dataa(); ... return mydataa; } }   when compile, got error message, dataa.copy should return type idata. how implement properly?  thank you,  wes   wes public idata copy () {...} make return same type defined in interface, error message tells to. Visual Studio Languages  ,  .NET Framework  >  Visual C#

Windows Defender Antivirus scan from C# [AccessViolation exception]

we writing code on-demand scan of file c# using windows defender apis. [dllimport(@"c:\program files\windows defender\mpclient.dll")] public static extern int wdstatus(out bool pfenabled); [dllimport(@"c:\program files\windows defender\mpclient.dll")] public static extern int mpmanageropen(uint dwreserved, out intptr phmphandle); [dllimport(@"c:\program files\windows defender\mpclient.dll")] public static extern int mpscanstart(intptr hmphandle, uint scantype, uint dwscanoptions, intptr pscanresources, intptr pcallbackinfo, out intptr phscanhandle); [dllimport(@"c:\program files\windows defender\mpclient.dll")] public static extern int mphandleclose(intptr hmphandle); private void dodefenderscan_click(object sender, eventargs e) { try { bool pfenabled; int result = wdstatus(out pfenabled); //returns defender st

Recovering AssemblyInfo.cs

hello! i accidentaly removed assemblyinfo.cs file, project won't run. copied file project, modified information , put project won't run. should do? if there's no way recover file i've wasted many hours... can't case, can it? cerasti, what error you're seeing when application tries run?  can add assembly info file in few different ways.  can right-click on project , select "add | new item" , choose "assembly information file."  can right-click on project, select properties, click on application tab (should default), , locate "assembly information..." button.  there can generate assemblyinfo.cs file changing 1 of values (e.g. changing application title "my application").  hope helps! anson horton visual c# ide pm   Archived Forums V  > 

dynamic send port

i need dynamic send port. i have used dynamic send port in orchestration set map,pipeline,tranport location each client using bre rule.but mapping canonical client specific format ,one file only. but new cleint requirement is need generate multiple flat file canonical schema had information.  any appreciated. thanks monica. but new cleint requirement is need generate multiple flat file canonical schema had information.  --> you need kind of looping , different maps/ flat file schemas generate multiple messages or can create independent orchestrations each type of message ( pass canonical schema , particular orchestration generate mesasge based on mapping) , call them in main orchestration. keep design modular. the same xml data needs split multiple flat files( like  payments,addreses, incidents etc)  inside orchestration --> to achieve this, need multiple transformations/flat file schemas to generate payments,incidents etc. call maps , final message , send cl

BizTalk CAT Instrumentation Framework - Trace log message length

the framework seems have limitation on trace message length. e.g., when logging entire xlangmessage xml string , when exceeds length 5000-5500 ignoring whole message , tracing non-printable characters below  [0]1404.10e4::08/22/2016-11:46:54.253 [event]:·-h? i have intermittent trace logs [0]1404.1ac4::08/22/2016-13:41:01.774 [event]:badly formed arguments c# decoder i tried google these topics , there not help, idea , have of have same problem ? note : using biztalk cat instrumentation framework controller starting trace , formatting it.  hello, this has been raised before:  http://arbiorix-coding.blogspot.in/2010/12/biztalk-cat-instrumentationthe-y-bug.html currently there no fix available this, a workaround have split message string . you can download , modify source code per requirement.  https://btscatifcontroller.codeplex.com/sourcecontrol/latest 1: //split long messages avoid "y'?'" bug 2: const string decoration = "...&q

TF215076: Team Foundation Build on computer XXX(port 9191) is not responding

Image
i getting following error when open 'build agent properties'   the agent status has beed automatically changed team builder server. new status: 'unreachable' reason: tf215076: team foundation build on computer xxx(port 9191) not responding. (detail message: remote name not resolved: xxx)   can body knows solutions?   thanks in advance. problem solved i tried build server ip in place of computer name @ "computer name" in build agent properties.   Archived Forums V  >  Team Foundation Server - Build and release management

MSBuild: The tag '<TAG>' does not exist in XML namespace '<NAMESPACE>'

 i have solution several silverlight 3.0 solutions. when build project in vsts have no errors or warnings. when build project on tfs build server (msbuild) these warnings: [any cpu/debug] c:\path\job\jobview.xaml(49,26): warning : tag 'datetimeselector' not exist in xml namespace 'clr-namespace:myproject.commonsl;assembly=myproject.commonsl'. when open jobview.xaml in vsts designer, error:  error    8    the type 'commonsl:datetimeselector' not found. verify not missing assembly reference , referenced assemblies have been built.    c:\path\job\jobview.xaml    49    26    job  there many errors commonsl project. in xaml file have defined reference:    xmlns:commonsl="clr-namespace:myproject.commonsl;assembly=myproject.commonsl" and have added reference. the code runs correctly. any suggestions? hi, the warning mentioned may occurs in scenario: refered controls in style, not in visual tree, actually. example, whe

Read List Data and Create Alerts for SPO list - Please help!

Image
i going use powershell using connect-spo think using visual studio may work better, best way achieve want , can me achieve @ all? getting started connecting sharepoint online. hi, according description, understanding want read list , create alerts in sharepoint online list. for requirement, suggestion best way achieve use sharepoint client object model connect sharepoint online read list data, here detailed code demo reference: new sharepoint csom version released office 365 complete basic operations using sharepoint 2013 client library code meanwhile, sharepoint client object model can't create alert list, need use javascript call creating alert window, here detailed article reference: client object model doesn’t support creating sharepoint 2013 alerts!! thanks best regards technet community support please remember mark replies answers if help, , unmark answers if provide no help. if have feedback technet support, contact tnmff@microsoft.com .

Could not load file or assembly 'Oracle.DataAccess, Version=2.111.7.0 happen

hi, installed both oracle database 11g express edition , oracle client 11g on server 2012, , tried add consumed adapter service oracledbbinding, following error happen when try connecting oracle db. ================ connecting lob system has failed. not load file or assembly 'oracle.dataaccess, version=2.111.7.0, culture=neutral, publickeytoken=89b483f429c47342' or 1 of dependencies. system cannot find file specified.. ================ why shows version=2.111.7.0, oracle installed "2.112.2.0". how can success connect oracle db? hi lillian, when installing oracle wcf adapter biztalk there design time requirement use oracle.dataaccess version 2.111.7.0. refer sandro blog on same  biztalk not load file or assembly ‘oracle.dataaccess, version=2.111.7.0, culture=neutral, publickeytoken=89b483f429c47342’ or 1 of dependencies. system cannot find file specified. rachit sikroria (microsoft azure mvp)

Issue with XR480 reader

dear all, i configure xr480 reader through admin console window , test on symbol show case application well. but when ever tried run xr480 on other pc , doesnt allow me open admin console window eventhough configurations of both pcs same. not able find solution of problem. what should run xr 480 on every system..   -- darshan hi, please dont forget that, @ given point of time can connect xr480 1 instance of biztalk rfid. if symbol showcase application & other instance of biztalk rfid connected xr480 have issues. dont forget check xr480 documentation on port use connect microsoft biztalk rfid. bhavin bhavin BizTalk Server  >  BizTalk Server RFID

Very frustrated

an experience "create logic app" window (the logic app editor) frustrating. everything extremely slow. the existence of window, place apps in 1 line, under big question. can place them in line (a list). can use simpler , more compact , more intuitive design lists.  big boxes small fields parameters, never see whole field text. and slow add new connector. and new app creation keeps going forever. i cannot imagine developer working tool. think, pure c# 100 times more feasible task. maybe providing developer apis better option. i understand, idea tool it, without access visual studio. agreed, makes sense. implementation frustrating. , slowwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww .........  leonid ganeline [biztalk mvp] Microsoft Azure  >  Azure Logic Apps

Webservice input as XSD defined XML

hello i'm trying create webservice takes xml input, xml must follow defined xml schema. don't want validate xml explicitly in webservice, rather want client of service able see xsd , force client sent xml service can validated against xsd. how can that? thank :-) well, using sort of object instead of plain xml of want automatically.  if that's not possible or need stronger schema validation can implement soapextension schema validation on send , receive.   Archived Forums A-B  >  ASMX Web Services and XML Serialization

C# application to access remote PC folder with credential

hi,   can me out in developing c# apllication access content of folder residing on pc different credential. these 2 pc's connected through lan. so, need apllication access remote pc folder.   thanks in advance. hi, have shared files on remote pc? have @ thread here: http://stackoverflow.com/questions/659013/accessing-a-shared-file-unc-from-a-remote-non-trusted-domain-with-credentials hope helps mark replies helpful , correct ones answers! - http://blog.filipekberg.se check out published book c# smorgasbord on amazon Visual Studio Languages  ,  .NET Framework  >  Visual C#

V8 Clustering Module: tall narrow map hidden clusters in bottom half

Image
i have question why clusters not showing in bottom half of map when work on tall narrow maps. example 1000px high, 500px wide clusters hidden in lower half of map. here screenshot v8 interactive sdk, same set of pushpins displayed clusterlayer , normal layer.  you'll notice there no clusters visible in lower half of map there pins down there. if pan down map, hidden portion of cluster layer begins to appear 'north' of mid point of map. are using experimental branch? fix similar bug added experimental branch week or 2 ago. [ blog ] [ twitter ] [ linkedin ] Bing Maps  >  Bing Maps Web Controls

Web service *server* authentication

from can tell, default policy connecting web services on https accept server credential has been signed certificate in trusted root certification authorities certificate store. i'm developing internal web service , such, want restrict list of server certificates accepted client. i'm looking similar service.clientcertificates in opposite direction. would able point me in direction change level of validation, preferable on per-object-instance basis , not globally through application. see here: http://webservices20.blogspot.com/2008/12/wcf-gotcha-disabling-ssl-validation.html of course in case not disable validation rather use custom logic. http://webservices20.blogspot.com/ wcf security, performance , testing blog Archived Forums A-B  >  ASMX Web Services and XML Serialization

Integrating BAM with BI

i looking information integrating bam bi (business intelligence)   in our organisation, data warehouse has been used strategic reporting solution. our existing bam infrastructure used feed data traditional data warehouse.     i looking references, white papers, articles talks integrating bam bi. googling ing skill doesn’t , have read pro bam in biztalk server 2009’s bam-bi integration chapter. reference other book appreciated. this indeed intention.  bam source tables feed bi.  ssis packages used accomplish this.  must use views tables change data partitioning dm jobs. -dan BizTalk Server  >  BizTalk Server General

How can i DrawString each line in another color ?

Image
rule simple: first line in red second line in green third line in red. have variable called m_text , it's format this: first line in red second line time&date in green. there empty/space line third line in red fourth line in green empty/space line. , same lines. first in red second in green , each line in red , green red green red green. variable _colors color[] in usercontrol code top did: color[] _colors; string[] m_text = new string[0]; then: public void scrollercolors(color[] colors) { _colors = colors; } then: public color[] colorlines { { return this._colors; } set { this._colors = value; } } text scroll: public string texttoscroll { { return string.join("\n", m_text);

Convert this code that can work with access

i working code import text file sql server data base . don't have problem .but till don't work access , don't write program access database can't convert code work access database . can me ? please convert code work access data base string sqltable = "dbo.student" ; string [] importfiles = directory.getfiles( @"f:\j1" , "2.txt" ); // try wrap ado.net stuff using() statements automatically // dispose of sqlconnection after you're done it using (sqlconnection con = new sqlconnection( "server=server-pc;uid=sa;pwd=1234;database=alavi" )) { // define sql insert statement , use parameters string sqlstatement = "insert student(pname,fname,lname,shsh,shs,tt,mahal,mfname,mlname,ptahsil,pjob,mtahsil) values(@pname,@fname,@lname,@shsh,@shs,@tt,@mahal,@mfname,@mlname,@ptahsil,@pjob,@mtahsil)" ; // define