Posts

Showing posts from April, 2012

LyncClient.GetClient() throws exception Host process is not running

hi, i developed desktop application using lync sdk 2010 application , build in machine both lync 2010 sdk , lync 2013 sdk installed , running application lync 2010 sdk installed in machine. in application lyncclient.getclient() throws "host process not running" exception. in machine  the lync client 2020 running in ui suppression mode still getting error "host process not running" . please suggest nyone if there other reason getting error. rmgs123 wrote: " the lync client 2020 running " how know client process running? it's possible indeed not running. also, consider doing search on forum "host process". found 7 posts mention error "host process not running", including 1 dated 12/18/13. Lync Server  ,  Unified Communications

how to get json array element value

i have json array follows { "cnt": 20, "list": [ { "coord": { "lon": 77.6, "lat": 12.98 }, "sys": { "type": 1, "id": 7821, "message": 0.015, "country": "in", "sunrise": 1505176722, "sunset": 1505220758 }, "weather": [ { "id": 802, "main": "clouds", "description": "scattered clouds", "icon": "03d" } ], "main": { "temp": 302.63, "pressure": 1012, "humidity": 58, "temp_min": 302.15, "temp_max": 303.15 }, "visibility": 10000, "wind": { &q

What is "long?"

i saw in code: long? question mark mean long? the ? means can contain null - nullable version of long. long? mylong; can set null. long mylong; can't. from http://msdn.microsoft.com/en-us/library/ctetwysk.aspx long signed 64 bit integer can take pretty big numbers: the long keyword denotes integral type stores values according size , range shown in following table. type range size .net framework type long                                         –9,223,372,036,854,775,808 9,223,372,036,854,775,807 signed 64-bit integer system . int64                      Visual Studio Languages  ,  .NET Framework  > 

How to set Authetication values in dynamically called WSDL to call its methods

hi all i need attention on asap,my issue goes below i consuming webservice dynamically in code , not adding referrence so have downloaded wsdl using webclient @ end , created proxy classes and compiled using codedom,and extracted infos regarding methods following //service dynamically created instance of web service  service = assembly.gettype("service1");  methodinfo = service.getmethods(); than have created instance of service using following , calling method using invoke method  var obj = activator.createinstance(service);  var response = t.invoke(obj, paramsarray); now question works how set autheticationvalues required in method or soapheader how pass creadentials web service method requires authenication parameters soapheader now 1 interesting fact if go in quick watch window , if create new authetication() allows me , if set value of 2 properties called username , password , than if , invoke mathod,it works , return result,but otherwise give

Design Time Collection Property

hello,  i have 2 winforms 1 , 2. 2 inherit 1. winform 1:  i want create property named editablecontrols (control collection), when in edit mode, have 1 method set controls in editablecontrols editable, otherwise set read only. winform 2: in designer mode, go property editablecontrols, select controls defined in winform 2 (could textbox, combobox etc). better can select via collection editor. anybody knows how design property editablecontrols? if have such property, easy set editable/read controls when edit mode changes. thanks help! ay just take @ answer in stackoverflow thread . think, give @ least hints on how this. there may other ways, too. kind regards, wizend Visual Studio Languages  ,  .NET Framework  > 

empty datatable rowchanging event doesn't fire

hello, i have method handling datatablerowchangingevent. it seems work fine , fire every time new row added in occasion datatable empty doesn't fire @ first row try insert. do have suggestions in order make fire if datatable empty?   best regards dear mitja right. correct solution. used method , experienced better performance. if have empty tableadapter works fine. best regards. louis needed event fire @ time create new row @ datatable without using fill method of tableadapter, because insert data datatable , send them database through tableadapter's update method. i needed default value of time equal time user started inputing data. use devexpress grid insert data , not know how calls datatable create new rows. in occasion tablenewrow event works fine , required needs. thanks both time , efforts.     Visual Studio Languages

URI/URN soapAction incompatibility with BizTalk receive port Operation Name?

hi, i'm trying expose a wcf service in biztalk according swedish national standard service definition healtchare interoperability (a wsdl provided, , ran bpel import schemas , orchestration wsdl in biztalk, built , exposed through wcf adapter publishing wizard in bts 2006 r2).  here part of wsdl. note soapaction below. <wsdl:binding name="getalltimetypesresponderbinding" type="tns:getalltimetypesresponderinterface">   <soap:binding style="document" transport=" http://schemas.xmlsoap.org/soap/http"/ >   <wsdl:operation name="getalltimetypes">    <soap:operation soapaction="urn:riv:crm:scheduling:getalltimetypesresponder:1:getalltimetypes" />    <wsdl:input>     <soap:header use="literal" message="tns:getalltimetypesrequest" part="logicaladdress"/>     <soap:body use="literal" parts="parameters"/>    &l

Compatibility b/w Biztalk and MQSeries

any idea compatibility related risks/issues between bts2006 r2 and mqseries 7.0.1.3? hi, following thread discusses potential risk/issue. concerning compatibility see thread . not clear version of biztalk supports mq version. depends more mq adapter shipped supporting. shipped biztalk license. in case have 2006 mq adapter as  mqsc adapter not available part of standard biztalk server 2006 r2 install. adapter included part of microsoft host integration server 2006 (his). have been digging around found whitepaper , mentions version 5 , 6. hard tell option contact ms support definite answer. think in end need upgrade higher platform bts 2010 , 2010. 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

Customer and Orders Manager ask me for Credentials without success

hi all, i'm trying open customer , orders manager ask me credentials (for catalogwebservices). although use correct credentials doesn't work, returns ask me credentials again!. ... why?! ¿what test? thanks! jotamarios hi jotamarios, might dont have permissions open customer , orders manager. by using azman tool provide permission 3 web services(authorizationstore.xml) , browse customer , order manager tool. please let forum know still not able open tool. thanks, naidu Commerce Server  >  Commerce Server 2007

Accidently Deleted Contents of Azure Mobile Service table.

Image
hi i deleting single record in classic azure portal in mobile services browse. entire contents of table has disappeared. please help!!! how restore contents. table , scripts still there. i have gone sql database tab , clicked restore point in time, creates new db  not give me option restore azure mobile services. hi, greetings. if restoring database recovery purposes can treat restored database replacement original database or use retrieve data , update original database . if going use new database ,you can re-configure mobile service use new database(click mobile service ,go configure tab click change database).   reference: https://azure.microsoft.com/en-us/blog/azure-sql-database-point-in-time-restore/ regards, asha Microsoft Azure  >  Azure Mobile Apps

wsdl customization

hello there, i'm facing troubles. client asked me customized wsdl definition comes out of box when invoking http://mysite/myservice.asmx?wsdl this client's requierement has changing names of tags; far i've been able to change of them, i'm getting "ugly" errors. basically i've been asked provide following customization: 1. namespace format: " http://patrimonio.com.mx/ " + businessobjectname  (all letters in lowercase) 2. service tag attribute: name format: "manage" + businessobjectname + "in" 3. binding tag attribute: name format: "manage" + businessobjectname + "in" 4. port tag attribute: name format : businessobjectname 5. port type tag attribute: name format: businessobjectname + "in" note: businessobjectname = weatherconversion (for sake of simplicity) so far i've been able change first four; when try set port type name and update type attribute binding tag, i'm gettin

How can I generate the piano sound using sound card of the PC?

hi there, developing virtual piano in c# , need play on sound card of pc notes of piano's played keys. but, don't know how can generate piano sounds. need use external api direct-x or need use .wav file of sound of each key piano? there api of windows can use  to play nice piano sound? in advance! this article, downloadable source code, should you: http://www.c-sharpcorner.com/uploadfile/mike4/dotnetpiano11122005012432am/dotnetpiano.aspx there more links may find useful in discussion: http://stackoverflow.com/questions/8109218/playing-piano-tones-using-c-sharp Visual Studio Languages  ,  .NET Framework  >  Visual C#

how to allow multiple wildcard elements in biztalk schema

hi, in input xml, can have 1 or more unknown elements in xml. know can use <xs:any> in schema each of these elements not work when there unknown number of these unknown elements occuring in input xml. i know location in xml these unknown elements appear dont know how many times appear in each location. any on how allow appreciated thanks manibest hi manibest, you're trying find technical workaround on how handle in schema. have understand that schema defining structure , content of xml , want schema not going define content/structure of xml, basically a flaw conceive schema has no relation xml. anyway mean " xml accepted schema"  - mentioned in other post have raised today, if don't enforce xml validation , if don't bother mapping unknown fields across outbound schema or if orchestration's processing is not bound these unknown elements can use it.   if answers question please mark accordingly. if post helpful, please vote helpfu

BizTalk 2010 installation issue on Windows 7

i'm trying install bts 2010 on windows 7, 64-bit (vm: parallels).  i've followed installation documentation, getting error:  "c:\windows\microsoft.net\framework\v4.0.30319\clr.dll either not designed run on windows or contains error.  try installing program again using original installation media or contact system administrator or software vendor support." can please help?   thanks bts 2010 works on windows 7 . if thats current os using can't use windows server, suggest follow steps in order: install office components, install visual studio, sql server , bts . make sure check software requirements bts here . redistributable cab files install .net framework 4 , shouldn't give error. in current scenario can download this here .  regards, bali mcts: biztalk server 2010,biztalk server 2006 , wcf blog: http://dpsbali-biztalkweblog.blogspot.com ----------------------------------------------------- mark answer or vote helpful if helps.

Performance problem with web services

hi all, i've problems performance of xbap application. application connects web service located in server , retrieve data datasets, when gets lot of data (the network 100mbps lan) lasts lot. but it's strange because in develop computer it's quite faster in other computer on network (the program uploaded xbap in server). does know why behaviour?  network , internet explorer configuration same both computers. best regards, anto' sounds problem resolution of internet proxy servers. i've seen reported when computers use script find proxy server use, , others not. bet if watch network traffic on computers using microsoft network monitor , see these computers timing out while trying find out proxy server use. this turn out have nothing @ xbap. john saunders | use file->new project create web service projects Archived Forums A-B  > 

Loading Application config file.

Image
hi,         trying run application in network drive keeping configuration(app.config) file locally, application can accessed different user using won configuration file.         can tell how can load configuration file explicitly user directory?   thanks   hi, there r problems in menu... when first time pressing short cut keys operation s perfor hi, can load app.config file a specific location using configurationmanager . openexeconfiguration method (string) . please check out detailed explanation in following thread: http://social.msdn.microsoft.com/forums/en-us/csharpgeneral/thread/626cda85-f025-41cb-9bf1-77eb822ebe52 . have nice day, leo liu [msft] msdn community support | feedback us get or request code sample microsoft please remember mark replies answers if , unmark them if provide no help. Visual Studio Languages

Can Recoverable Interchange Processing be done on a EDI Dissembler?

i have 3000 claims under 1 st-se. wondering if how make edi dissembler work on recoverable interchange processing?. in pipeline have custom pipeline component before edi dissembler. there properties promote rip on edi dissembler. thanks help.. rick ok, here is. reason did way becuase wanted make dynamic, meaning, of facilities re-processed if fail while others fail whole file. in other words, wanted few facilities continue processing if had 1 claim fail, , rest stop. these steps based on that. make sure using multiple schmeas. must break file multiple messages. in receive port, route failed messages directory x. make sure use xml send port now have messages inside 1 folder. each transaction should in each file. therefore, if file contained 50 claims , 1 failed compliance, should have 50 xml messages. i developed orchestration read each xml , determine if continue processing message or fail it. since deal claims, read billing npi , compare xref table. if exist, route mess

arrives UDP datagram always the same size as they are sent in?

hey! arrives udp datagram in same size sent in? when there computer on internet send , thanks in advance!! using system; using system.net; using system.net.sockets; namespace consoleapplication2 { class program { static void main(string[] args) { socket s = new socket(addressfamily.internetwork, sockettype.dgram, protocoltype.udp); s.bind(new ipendpoint(ipaddress.any, 8000)); s.beginreceive(new byte[10], 0, 10, socketflags.none, new asynccallback(mef), s); console.readline(); s.close(); s.dispose(); } static void mef(iasyncresult r) { socket s = (socket) r.asyncstate; int = s.endreceive(r); if (a != 10) { // possible end here? console.writeline("noooo ! "); return; } s.beginreceive(new byte[10], 0, 10, socketflags.none, new

Create a dynamic schema design for Flat Files CSV

i have issue. have sample csv file this "planid","cardid","person","enrid","subid" "000144      ","0098563           ","albert jhon   ","","3650896                   " "000145      ","0098563           ","","3650896                   " "000146      ","0098563           ","albert jhon   ","","3650896                   " so client sending such files each record dont have value option fields. person field optional. record 2 contain no value it. have created flat schema. when tried validate instance, generates following output. <claims xmlns=" http://test.flatfileschema4 "> - <claims_child1 xmlns="">   <claims_child1_child1>"planid"</claims_child1_child1>   <claims_child1_child2>"cardid"</claims_child1_child

Become the August 2015 BizTalk Guru!!! Here's how!

Image
just add technet wiki article list: technet guru contributions - august 2015    one winner in each category selected each month glory , adoration msdn/technet ninjas , community whole. includes dedicated blog post in wiki ninjas blog, tweet wiki ninjas twitter account, announcement on forum, , other acknowledgement community.  winners voted on 5 judges. judges consist of 3 microsoft mvps , technet wiki community council members , 2 microsoft employee smes (subject matter experts -usually people making technologies). judges looking articles thorough, technically accurate, visually clear (images might help, aren't necessary), , written.   how enter 1) create new technet article you can copy contribution msdn/technet forums on technet wiki ( in august ) qualify these awards. can create new article not related forums contributions.  a) log technet/msdn microsoft credentials b) add content article technet wiki: http://social.technet.microsoft.com/wiki/conten

sql profiler stops collecting data

dear users, sql server 2008 enterprise.   i set security logging through sql profiler sql server 2008 standard editions. after created stored procedure , turned on autoexecution turn on sql profiler automatically after sql agent stops. i set in september year , ran until 10/22/2010. i experience twice far since set security logging. i don't see trace stop message in sql profiler file. i wonder stops logging information. if @ line, set @datetime = dateadd(d, 2000,getdate()) it should run 2000 days 6 years. i wonder why stops , should fix.   --for understanding attaching t-sql ran set logging. thank much. use master go   -- create queue declare @rc int declare @traceid int declare @maxfilesize bigint declare @datetime datetime   set @datetime = dateadd(d, 2000,getdate()) -- ‘d, 2000’ means trace runs 2000 days. can change number.   set @maxfilesize = 350   -- please replace text insertfilenamehere, appropriate -- file

Error On reinstall TFS as another configuration

  hi, i'm process: http://msdn2.microsoft.com/en-us/library/ms404869(vs.80).aspx  for create new tfs on domain, but doesnt execute 19 pass setupwarehouse.exe -o -s newdatatierservername -d newteamfoundationdatawarehousename -c warehouseschema.xml -ra tfsreportserviceaccount -a tfsserviceaccount first error: -mturl parameter required i put parameter setupwarehouse.exe -o -s newdatatierservername -d newteamfoundationdatawarehousename -c warehouseschema.xml -ra tfsreportserviceaccount -a tfsserviceaccount   -mturl http://localhost:8080   i received follow error: an unexpected error occurred when connecting analysis server. check that your analysis server , have sufficient privileges on it: connection cannot made. ensure server running. i've skiped the error , continued on restore, now reporting services not showing up the reports, returning follow error: an error has occurred during report processing. (rsprocessingaborted) get online help c

How to validate entity on client side?

hi, have entities have properties have been decorated various annotations such required, stringlength etc. properties of new entity bound input fields in view. if don't enter in of fields, , click ok, properties null , hasvalidatonerrors false. how programatically validate properties of entity when no data entered using various annotations such error notification displayed in ui? thanks. hi developer28, you need to set binding notifyonexception=true , validatesonexceptions=true in xaml below <textbox text="{binding a, mode=twoway, notifyonvalidationerror=true, validatesonexceptions=true}" />   best regards,   Silverlight  >  WCF RIA Services with Silverlight

Consuming WCF service in Biztalk and its performance issue

i created simple orchestration , consumed wcf service. have logged orchestration start time , end time , service start time , end time. in wcf service, delaying thread milli seconds , returning response. when feed 1 or 2 messages, total turn around time less than1 second, both biztalk & service. when i try put 10 or more messages, execution time of orchestration getting mutliplied, in service side, there no change, executing less milliseconds. there no problem processing of messages, need reduce total turnaround time concurrent request. logging, clear service side doesn't need change. not sure changes need done in port configuration of wcf port in biztalk acheive low latency. the wcf configured basichttp binding(in biztalk wcf-basic). tried wshttp, no improvements.     rsk hi rsk, try review information provided richard's post . lot of information digest , depends on biztalk version using older version is good guide newer versions can see msdn biztalk 2

Reference OnPremisesSqlLinkedService1 was not found in the solution (Visual Studio)

i'm trying copy data sql server azure sql database via visual studio. have created the  onpremisessqllinkedservice , the azuresqllinkedservice , reference dataset. after per process have created pipelines well. now  when build solution vs, gives me error message reference ' onpremisessqllinkedservice  ' not found in solution. refers error found in input datasets. tried same online on portal directly , ran successfully.  hi, in your input dataset json, did hook onpremisessqllinkedservice linkedservice property. can share jsons (remove sensitive data) that not working in vs? thanks vijay Microsoft Azure  >  Azure Data Factory

What is the best way to run two methods at once?

i have run 2 methods should run simultaneously rapid retrieval of web pages. search engine , have method retrieve links method retrieve page content. want run these 2 operations simultaneously. how can achieve this? created 2 threads did not work executes 1 thread , waits end , not end until user aborts application. second thread not have end. best way of achieving this? hi. why multithreaded approach won't work? if create multiple threads , start @ same time, implementation should untied. http://msdn.microsoft.com/en-us/library/172d2hhw(v=vs.80).aspx regards, bubu http://zsvipullo.blogspot.it please mark answer if helped you, appreciate it. Visual Studio Languages  ,  .NET Framework  > 

¿Why I lost the shipments that I created when the total pipeline runs?

hi all, i'm using startersite, , in the  payment wizard when client choose singleshipment, create shipment , assign shippingmethodid , shippingmethodname, , clasified products need , remove products shipmentcollection(obviously , there 1 shipment) of orderform , add products need in new shipment add shipmentcollection. when debug application can see shipmentcollection of orderform have 2 shipments should have. when application runs totalpipeline lost other shipment created.... after pipeline ends check shipmentcollection , there shipment, , debug component inside totalpipeline created , there 1 shipment. ¿what happening? thanks! jotamarios the commerce.splitter pipeline component in total pipeline doesn't evaluate current shipments , lineitem indexes or methodids. evaluates shippingmethodid, shippingaddressid on lineitems in order create shipments while running total pipeline. therefore, if have same shippingmethodid , shippingaddressid on lineitems, 1

Nullable Int32 Parse

is possible parse string nullable integer? if string can parsed parse method return integer, if not return null. here how expect work: string s = "5"; int32? i; i = {something}.parse(s); i have seen question asked many times, not find answer guessing cannot done in v2. you can write own {something}, need contain method: public static int ? parse( string s) {     int i;     if ( int .tryparse(s, out i)) return i;     else return null ; }   Archived Forums V  >  Visual C# Language

Visual C# -> WMI/ANY -> Volume Information (No LABEL, No Mountpoint)

i need list removable media only. equipment / hardware: uas storage (usb -> scsi). usb attached (sd/md/etc) card controller. usb storage. nic attached storage. partitioning: all devices has 3 or more partitions, commonly 4-5. 1 primary-active, second partitions primary or 4 primary/3 primary + 1 extended maximum. labels = often: null drive letters: can no mount point. needed information wmic: partitions or without mount point or label. volume letters [if existing -> if not = partition position, size , type(primary / logical)]. order data start-end. question: do have easier way above listing going through wmi: win32_diskdrive -> win32_diskdrivetodiskpartition win32_controller win32_pnp -> ??? win32_volume (still don't know find volume guid, 'mountvol' drive without mount point can't parse if there's more 1 partition without mount point). win32_logicaldisktopartition -> win32_logicaldisk heck, counted th

Workflow app goes to suspended mode displaying error 407 Proxy Authentication Required

Image
hi, my workflow app goes suspended mode. displaying error error code: 407 proxy authentication required. forefront tmg requires authorization fulfill request. access web proxy filter denied. i have changed ie browser settings i.e. internet options->connections->lan settings-> removed tick automatic configuration , proxy server. i have tried keep default proxy settings in sharepoint host web in web.config file i.e. <system.net>   <defaultproxy usedefaultcredentials="true">      <proxy usesystemdefault="true" proxyaddress="http://proxyserver:8080"          bypassonlocal="true" />   </defaultproxy> </system.net> but nothing works. please help. how can pass proxy server for workflow app? details: i have created custom list , list workflow in sharepoint hosted app using visual studio 2012. after deploying solution, workflow gets attached list (which in app). when workflow starts, tries