Posts

Showing posts from September, 2012

Can't import from view, says I have 3 keys

i'm trying import view, , error key fields, search doesn't let me select key fields.  i don't see option checkbox. i'm trying import sql azure view, why?  i tried creating index on view 1 field. import configuration failed, error creating index: "the request invalid. details: index : found 3 key fields in index 'temp'. each index must have 1 key field." dan hi dan, you're right, known issue arises if table or view has compound key. we're going fix soon. in meantime, can work around setting indexer using api instead of doing in portal (this issue affects portal flow). thanks, eugene thanks! eugene shvets azure search Microsoft Azure  >  Azure Search

Application Insights - Uniqueness of Alarm names?

didn't know forum put in because couldn't find application insights in list. i trying create app insights alarms in several environment (dev/preprod/prod). kept failing rather useless error: { "code": "internalservererror", "message": "exception of type 'microsoft.windowsazure.management.monitoring.monitoringserviceexception' thrown." } after bit of trial , error found appears enforcing kind of uniqueness constraint possibly account-wide name of alarm. two things: please fix error message clarify whether needs unique , if portal should give indication when validates name Microsoft Azure  >  Azure Automation

webresource.axd errors

we have web farm 2 servers now have parts of our site 2.0 of framework errors in our iis logs /webresource.axd d=........&t=........ on each server, these reported 302's however d , t values different on each server, as understand d relates assembly/resource , t relates timestamp of resource. it appear resource being requested page load tries resource different server 1 served page. this not appear cause our users problems (302 resource exists under different uri), mean these errors can make more difficult interpret our web logs, how can determine discrepancy between 2 servers is causing resource different depending on server called, windiff on 2 servers show difference deployed code , version of framework looks same. any ideas welcome   Archived Forums A-B  >  ASMX

Developing Schemas

  hi guys,   i new biztalk server.   can please me providing information message   what message , how many types of message can supported in biztalk server 2006 r2. what schemas. how message , schemas related. how develop different type od schemas , supported in biztalk server 2006 r2. explain about  promote property in schema child field element. what difference between distinguished fields , property fields in  promote properties. hi raghu   i'll try answer questions.   1. message basic idea on whole biztalk system works on, biztalk basiscally message oriented middleware , every thing revovles around messages. message types can either pre-defined types string, xmldocument or can follow particular schema (xsd)   2. schemas defines format want messages be.   3. schemas templates or classes messages follow, in oop create classes , make instances of them objects.   4. there schema editor, you'll find in visual studio, us

WCF-Oracle Adapter Error

hi, error while using wcf_oracle adapter. a message sent adapter "wcf-oracledb" on send port "send_insertoracledb" uri "oracledb://abc.myuri.com/" suspended.   error details: microsoft.servicemodel.channels.common.xmlreaderparsingexception: value field "userid" invalid. ---> system.argumentnullexception: value cannot null. parameter name: numstr here, value goes 'userid' null/empty. although 'userid' element has  nillable  as  true  and  min occurs  as  0.  in oracle database it's datatype "number". schema generated "add generated items". i'm not using sp. it's simple insertion schema generated. have searched , tried many threads found no useful answer. @ places written it's issue adapter. it? please resolve it. it's urgent. kunal g hi kunal, in fact empty not integer, need make sure sending oracle either null or non existing node these 2 work :

Problem In Configuring Biztalk 2009 In Creating A ReceivePort.When I Try To Create A Receive POrt I Got This Error

itle: biztalk server 2009 administration console ------------------------------ could not store transport type data receive location 'receivelocation_receivereq' config store. specified transport handler has been deleted sso store. local, cached version of biztalk server group configuration out of date. must refresh biztalk server group configuration before making further changes. (microsoft.biztalk.explorerom) for help, click: http://go.microsoft.com/fwlink/?linkid=47400&prodname=microsoft+biztalk+server+2009&prodver=3.8.368.0&evtsrc=microsoft.biztalk.explorerom.resources&evtid=ids_err_rl_sso_setconfig ------------------------------ buttons: ok ------------------------------ hi, this causing problem: cannot perform encryption or decryption because secret not available master secret server. to resolve need can review thread: http://social.msdn.microsoft.com/forums/en-us/biztalkgeneral/thread/1227cca3-f9c8-4375-a8e8-b94a97ea6565 . sso configuration n

How to determine, if process' window was previously hidden? And list hidden windows?

hi. i used code listing (in listbox ) running windows , hide/show of them. i adding listbox processes, have mainwindowtitle or have mainwindowhandle != intptr.zero (i mean - i've tried first , second option, not both @ time) - looks it's quite same way. everything works great until hide window , close , reopen app. of course hidden window doesn't show in listbox - can't, because it's hidden, has zero-handle. process exists , if knew previous mainwindowhandle retrieve (show) it's window - checked copying handle before hiding , after reopen, showing specific window. i don't know, how determine, process has hidden window and/or how it's handle. possible? my goal portability, don't want save hidden window's handle anywhere. maybe can "check" somehow process, give attribute or something? mainwindowhandle isn't reliable you're trying do.  it's designed getting access process'es handle can send mes

marshalling abstract base type pointer

i'm wrapping unmanaged class libraries has several class hierarchies.  1 of class returns pointer abstract base type. in c++, safe, since can cast without worrying. how marshal corresponding managed abstract type? lee crabtree you need instance of managed abstract type, contradicts have instantiate derived class of abstract class instead. if abstract class has multiple derived classes have determine 1 instantiate. when have managed instance derived abstract class should able marshal data pointer unmanaged abstract class. .NET Framework  >  Common Language Runtime Internals and Architecture

Schema developement

hi all, i want  exposing schema send data 2 different systems , field length in system 1 50 , in system 2 150, how handle validation of field length. thanks. what mean 'validate'? since publishing 'canonical' schema, specific system 'validation' need happen there, meaning in endpoint schema. so, you're looking @ 3 schemas: canonical - few if restrictions app - whatever needs app b - whatever needs or, if can tell in map, truncate. BizTalk Server  >  BizTalk Server General

Get a list of Promo Codes inside the Batch

hello there,   i need list of promo codes generated in batch, unique way found exporting txt , reimporting using the  marketingcontext class. have success list of batchs inside promocodedefinitions.   how without exporting batch file? have idea it?   thank all! hi,   the way codes through apis is  file export.  don't know why you'd need reimport them though.   hope helps, david   Commerce Server  >  Commerce Server 2007

Unable to load DLL 'zigbee.dll':

hello i have problem sample program downloaded. program part of sdk can found here (win64 version): http://support.robotis.com/en/software/zigbee_sdk/zig2serial/windows.htm under samples: visual c#.  when run program, says cannot find .dll file contained in program.  i have searched problem, of problems others have had in c++ , vary in solutions. is there simple solution problem? have isntalled listed under system requriements?   ▶ os : windows xp/vista/7 (32/64bit)   ▶ zig2serial required   ▶  in case dll loading not available :   needs to install microsoft visual c++ 2005 re-distribution package when says needs c++ redist package, needs c++ redist package regardless of language use. let's talk mvvm: http://social.msdn.microsoft.com/forums/en-us/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2 please mark post helpfull , answers respectively. Visual Studio Languages

BizTalk interview questions

1. there map in send pipe line , destination map did not element value. stop transformation rest of nodes remaining. possible? if yes best way handle exception? , add if in receive pipeline,can prevent getting published in message box? 2. source system sending 10 records in message, have insert these records in database have job/application updating these records. have send these updated records details source system hi , yes possible not create output specific node not exits . you can use logical existence functiond check existence of source element , return true map rest of element. if answers question please mark accordingly. if post helpful, please vote helpful clicking upward arrow mark next reply BizTalk Server  >  BizTalk Server General

WseWsdl.exe generated proxy & LINGER option

is possible define linger flag in proxy generated wsewsdl3.exe ? (or soaphttpclientprotocol maybe...) thanks help regards stéphane any suggestion ? Archived Forums A-B  >  ASMX Web Services and XML Serialization

Visual States disabling controls

i have page has several visual states , of elements in states overlap base buttons , checkboxes. problem base buttons/checkboxes no longer activate states anymore because of overlap. way can work move elements in visual states away buttons/checkboxes not real world scenario. can in axure. any out there? howdy, when setting states, set visibility collapsed rather hidden. hidden just.. er.. hides it. collapse removes real estate. cheers expression mvp my blog : http://x-coders.com/blogs/sneaky/default.aspx Expression  >  Expression Blend + SketchFlow

Speech Recognition with c# (in my native language)

hello guys explained @ title of question want develop api can recognize speech in greek. is there way can make own grammar , add program can recognize speech in greek? any hints or advice welcomed! is there way can make own grammar , add program can recognize speech in greek? making speech engines (both recognition , text speech) more area of scientists programmers. if there no speech recognition or tts engine language, out of luck. here article on ms speech recognition engine , how use it: http://msdn.microsoft.com/en-us/library/hh378426.aspx note seperate installation has repeated on client computers and/or server recogniton work. far understand it, siri server bound approach: handy records wave file, 1 uploaded server, server runs recogniton logic on it, gives answer, feeds answer tts engine , send answer wave file mobile phone (a mobile phone lacks resources proper speech engines). let's talk mvvm: http://social.msdn.microsoft.com/forums/en-us/wpf/thread/b1a

Edit in datagridview successful, but it does not update the certain column

Image
can edit data in database. having problem, when edit , update  quantity column in datagridview, supposed update the  total  column in datagridview based on quantity * subtotal  , update the  quantity  column, not price. did wrong? here screenshot: can see in rows "1", the  quantity  is 100 , the  subtotal  is 10000, the  total  will 1000000. in rows "2", the  quantity  before edit in datagridview, quantity is  100 and the  total  is 2000000, when change the  quantity  to 500, the  total  still 2000000, the  total  supposed 10000000. did wrong? here code (i post code necessary needed): private void updated(object sender, eventargs e) { datatable _dt = (datatable)datagridview1.datasource; if (_dt.defaultview.count > 0) { int rownum = datagridview1.currentrow.index; string productcode = convert.tostring(_dt.defaultview[rownum][&qu

moving c# project to another personal computer

i using vs c# express 2010 if can move c# project 1 folder other folder on same computer, enable me move project to other computer.. so tried copy whole tree structure folder, .exe file run ofcourse. when make modifications on source files made modifications on original files. not way it. file have modify .csproj and/or .sln ? please let me know change where. prc if using code repository tfs express (free), matter of creating  tfs workspace on the machine, downloading the source code , off  and running. are aware of this? it's pro version of vs basically. https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx Visual Studio Languages  ,  .NET Framework  > 

loaidng xml file into table

hi team, i want load following xml file. please give suggestion on this   <?xml version="1.0" ?>  - <enrolment date="2011-02-10t21:45:00.3811504z" xmlns:fx="http://schemas.flexfinancialsolutions.com/enrolment">   <account>7862</account>  - <tpa>   <name>aceg services</name>    <affinity>the insurance services</affinity>    </tpa> - <product>   <name>g6103 a&d</name>  - <plan>   <name>default plan</name>    <policynumber>g6103</policynumber>    </plan>   </product> - <field>   <name>producturl</name>    <value>http://www.google.com</value>    </field> - <field>   <name>first name</name>    <value>peter</value>    </field> - <field>   <name>middle initial</name>    <value>p</value> 

Conditional Schedule of report via Email (using Subscriptions )

i have report have schedule via email attach excel email , sent to receptive persons. can 1 please me in finding out way if generated excel report empty in case should not run schedule , should not throw email those?     deepak hi deepak1983, thanks question. based on description, understand if report has no data, want prevent attach excel email , sent receptive persons . as know, there 2 basic type subscription, stand subscription , data-driven subscription. speaking, hard control delivery job skip time running in stand subscription type. in order achieve requirement, give 1 work around solution data-driven subscription. commonly, if using data-driven subscription, can configure subscription’s parameters result executing data-driven’s t-sql query. of time query return rows subscription, modify query filters result based on whether or not report return rows. for example, assume 1 of dataset’s fields somefield, t-sql query’s search somefield > 10, c

OHSBE | Multiple Order Management System

we have system, have integrate multiple order management systems. have following questions 1. in such scenario, product service mappinng service implemented ? how ohsbe service know psm service needs called ? 2. also, if oms calls ohsbe service, point-to-point interaction. tomorrow if new oms introduced, mean changes. recommed using bts layer between oms , ohsbe ?     hello sachin, ohsbe can interact 1 psm service. hence should implement 1 psm. ohsbe not know psm service be. need use ohsbe configuration tool set psm service url. ohsbe not bother from which oms the requests coming. need send valid submitorderrequest along proper credentials , replyto address in soapenvelope. ohsbe respond whatever replyto address have sent. as such there wouldnt need have bts layer between oms , ohsbe. regards, vikram Other Forums  > 

Odd behavior in MSDev 2010

we use msdev 2010 / c#.  inadvertently pressing kind of key sequence @ least 3x day forces me quit app, , restart.  know sequence is, , how out of mode?   when trying perform alt+d, alt+e debug | stop debugging, @ times happens instead f# window comes up, , every time try click insert cursor in specific location, select entire word closest insertion point instead.  , window acts scroll lock on.   any idea might have turned on (besides f#), , how undo (instead of quitting msdev, , restarting)?   and... blazes f#? -- michael g. scott did try running in safemode determine if extension causing issues?  did go tools\options -> keyboard ensure keystroke you're using isn't tied aforementioned commands? ctrl+alt+d maps disassembly if hit key combo disassembler window coming up.  ctrl+d,d same thing.  ctrl+alt+f maps f#. it keyboard has sticky key issue.  check windows sticky key settings ensure isn't setting modifier keys.  watch status bar when press key

Unable to add records

i'm trying add records mobile service in tables authenticated users restrictions using windows store app. i able few weeks ago, i'm unable now. i'm receiving internal server error messages (error 500). i've checked my code, found no issues there. when trying set id (just check service) while inserting, i'm getting correct message (can't set id), don't think that's issue. the required fields tables id , userid. i'm able update records fine. any chance related query issues fixed? , else having issue? thanks , kind regards,    geri wolters i found cause. passed date (last update date) part of date. initialized to  1/1/0001. server didn't appear , returned error 500 instead of error 400. it's same problem described here: http://social.msdn.microsoft.com/forums/en-us/azuremobile/thread/2a9aa640-1c68-4da1-b948-0ebfb1f3a5f8 kind regards,   geri wolters

Delivering ESB alerts to mail box lately

hi, esb portal sending alerts mail box lately .its taking long time to receive email . i facing issue email format plain text , getting empty space in top of email body. my email  format : empty space id: host: error: did try email alert biztalk/.net application , verified time interval , empty space? if same have interact mail server team thanks, raja mcts biztalk server 2010, mcc if answers question please mark accordingly BizTalk Server  >  BizTalk ESB Toolkit

Does non-build/content file have to be directly under project file? If those files in another folder under Project - not working

i've files should in output dir. included them in c# project , made 'copy output directory' = 'copy always', 'build action' = 'none'   this worked fine whenever vs rebuilt project , files automatically copied output dir.   however, if created new dir, e.g. samples dir, in project (using solution explorer), moved files samples dir.   when rebuilt project, files no longer moved output dir properties same, i.e. still 'copy output directory' = 'copy always', 'build action' = 'none'   i.e. currently, if want vs move files me project dir output dir, i've put files directly under project folder (in solution explorer) or have file not found error since files not found in output dir.   is design? or did miss anything?   thanks. if create folder 'samples' , copy files , b , set them copy during build 'samples' directory created in output directory , files , b copied it.  files not

How to get DNS Server Address of a specific network adapter (e.g. WiFi adapter)

(language: wpf c# 2012; .net 4.5) hey community. the last few days badly tied on finding way dns server's address of specific network adapter installed on notebook. example dns server's address set lan-adapter. router acts dns server. address 192.168.2.1 (exactly same gateway). if set address lan adapter , yet dns address wifi card wanna dns address one, let's 1 lan adapter. but how? can me please? thanks in advance. see how list of dns servers. Visual Studio Languages  ,  .NET Framework  >  Visual C#

"Connect" to Azure resources

based upon current understanding, 1 of core design ideas behind web services (eg. azure service management rest api) apis stateless. prevented need "connect" services before leveraging capabilities, because each call authenticated, , provided of necessary information, ensure web service call succeed. with azure automation, seems concept being tossed aside, since "core" sample runbooks connect-azure or connect-azurevm . seems me sample runbooks should simple, useful operations start-azurevm or stop-azurevm , instead of "connect" commands, don't provide useful value in , of themselves. can please provide direction on azure automation feature headed, , why it's necessary "connect" azure resources, before leveraging capabilities? when using azure powershell module directly, outside of workflow, sma, or azure automation, it's not necessary "connect" resources. can run start-azurevm , stop-azurevm , or large array of

RemoteEndPoint URL in appmanifest.xml with Wild Characters is that Possible ?

i wanted have wild characters in domain name can point respective url each client , deploy code app store. like http://*.microsoft.com instead of http://client1.microsoft.com /  http://client2.microsoft.com  nope, not possible, needs point specific url.  curious, when client, mean customers or talking different endpoints service.  if referring customers why deploy app on store opposed creating specific packages each of individual clients (i assume there special doing each customer?) program manager, office developer platform. SharePoint  ,  Apps for Office and SharePoint  >  Developing Apps for SharePoint 2013

SaveFileDialog is not correctly working

Image
hello everybody, i have code.. saves content of richtextbox  private void savetoolstripmenuitem_click(object sender, eventargs e)         {                          string all_ = richtextbox1.text;             string filename = null;             savefiledialog1.title = "save html file";             savefiledialog1.filter = "html files|*.html";             savefiledialog1.filename = "unititled document";             savefiledialog1.initialdirectory = "c:";             if (filename == null)             {                 if (savefiledialog1.showdialog() != dialogresult.cancel)                 {                    richtextbox1.savefile(all_, richtextboxstreamtype.plaintext);                                      }                                               }         } and example of richtextbox containing <!doctype html> <html> <head> <title>new document</title> </head>

Exception Handling: StackFrame Capture not capturing last level method call in release mode

i trying print exception details frame frame along other debug info (code below). in code can see dummycall3 throws , applicationexception , expectation stack trace have information regarding dummycall3. below behavior getting .net 4. using "debug" build, when run it, expected results (dummycall3 > dummycall2 > dummycall > runtest) using "release" build however, dummycall3 method somehow missing stack trace. (dummycall2 > dummycall > runtest) i add dummy statement in dummcall3 method before throw exception, , rerun using "release" mode , works expected strack trace info (dummycall3 > dummycall2 > dummycall > runtest) if switch framework version .net 3.5 works expected in both release , debug modes? i know if behavior design or bug? if design, reasoning behind it. appreciate input on this.   class stackframetest { public void runtest() { try { dummycall(); }

Microsoft Word to PDF in Azure PaaS

hi - development team working on below requirement in azure  a) word template word c#.net + openxml , designing business logic build content azure sql & create word      document     b) business requirement create pdf outputs merge them master pdfs. looking solution convert word pdf in azure app or cloud service (tbd).  so far exploring below options  docx4j.net , sharepoint word automation services  , itextsharp (looks cannot convert word pdf) interop option ruled out can please share if there best solutions supported in azure paas convert word pdf in batch. not looking       third party softwares buy , instead looking paas integrated solutions   thanks     hi mohan, i'm not sure this question is related azure search. please use forum azure search-specific questions. i don't think microsoft offers first-party service batch doc(x) -> pdf conversion. might want explore additional third party options. thanks, eugene   thanks!

How to read write a or offset hex byte .exe runtime loader

i trying patch hex byte following offset or rva ,  suppose suppose simple example a exe inside il code ldc.i4.0 => offsert => 0x1234 hexbyte 0x16 runtime patch that ldc.i4.1 => offsert => 0x1234 hexbyte 0x17   like multi offset want change run time. can please give propersoultion .  code should that the this http://files.rbradford.me/docs/memory.cs can please me last action put offset address , hex byte binary patch  so can plss snipe suppose processmemory("file.dll" ) run time modify bynary patch  i mean want proper solution thanks hot wish can give following thread hi, this forum discuss problems of c# development. question not related topic of forum. i moving question moderator forum ("where forum for..?"). owner of forum direct right forum. understanding. we trying better understand customer views on social support experience, participation in interview project appreciated if have time. helping make community forums gr

ThreadPool on Multiple processor machines

hi, i writing number crunching server application , able split work across multi processors on server. sufficient use .net threadpool , queue tasks on different threads? not sure because operating system point of view threads running within same operating system process , therefore not split across different processors. if case how can make use of multi processor architecture on .net applications? regards vikram   windows automatically distributes threads among available processors, there's nothing have do... .NET Framework  >  Common Language Runtime Internals and Architecture

cross domain access to service from javascript

hi, we have existing asp net application containing web service. service marked scriptservice attribute. what want allow calls jscript "3rd party" web pages. tried build-up asp.net page in new web application called webapp2 and reference such service like  <form id="form1" runat="server"> <asp:scriptmanager runat="server"> <services > <asp:servicereference path="http://<servername>/webapp1/services/testservice.asmx"/> </services> </asp:scriptmanager> from jscript need call it <script type="text/javascript"> function updatealarm() { var client = new testportal.testservice(); var res = client.testmethod(); } </script> this works when service , page jscript runs on same web app. however, not case , doesn't work. need in order running? thanks help lubos pure aja

Host Instance 'Status Unavailable' from different machine

hi, we have 2 biztalk servers 'c' , 'd' , databse server dbs. there host instances on each application server (c & d). i able view , restart host instances (from c&d machines) server d. but when log in c, see host instances related machine d having status 'status unavailable'. please asap production issue. i tried following options: 1. restarted wmi services. 2. checked if file , printer sharing enabled (yes) 3. restarted sql server  4. restarted all biztalk services along ent. sso nothing of seems work. please help. note: started happening since removed dbtoolkit database  and adapter. regards, bhushan  please checked below things 1) server c, able ping dbs? 2) server d, able ping dbs? 3) checked services in dbs running. 4) checked services sso, biztalk host instances in service window in c , d. 5)  hope used nlb load balancer, nlb drain 1 one biztalk server c , d, restart server. hope work.

Issue with GUI

hello all,    learning trying create gui whit button launch exe. when click on button launch vlc.exe (exe's path taken bat file). work moment exe launch , press launch exe button getting error message "exe path not found". please let me know making mistake. did skip particular exception handling ? please update me asap. sagar kango you should specify full path .exe file you're launching.  you can use path class ( http://msdn.microsoft.com/en-us/library/system.io.path.aspx ) build path appropriately. reed copsey, jr. - http://reedcopsey.com - if post answers question, please click mark answer on post. if find post helpful, please click vote helpful . Visual Studio Languages  ,  .NET Framework  > 

Help Updating Maps with Traffic Impacts from Construction

the iconic cabrillo bridge (laurel street el prado in san diego, ca) leading balboa park closed vehicle traffic indefinitely. bicycles , pedestrians can still cross bridge park. how can update bing maps information? on http://bing.com/maps there feedback button in bottom left corner. feedback seen development , data teams. i'll pass info on them. http://rbrundritt.wordpress.com Bing Maps  >  Bing Maps General

Hotfix for BizTalk Server 2006 File Adapter

hi all, i facing problem file adpater accessing share folder @ remote location.. and receive location shuts down automatically , won't pick file remote share location... for got 1 hot fix http://support.microsoft.com/kb/943859 pls advise whether applying hotfix create problem..can able roll back..   -- kind regards sandeep if using unc path network location receive location having issue, want try mapping drive letter reconnects on restart , use drive letter , path in receive location. improve speed @ retry occurs if location not accessible , hold on connection more efficiently. also, want have network team install monitor between biztalk server , network share see why location becomes in-accessible cannot rely on location biztalk pickup affect overall performance.   -amit amit kumar BizTalk Server  > 

Is it possible to make array size size depended on the atribute value(int)?

class trip { private person[] arrayofpeople; public person[] arrayofpeople get { return arrayofpeople; }             set { arrayofpeople = value; } } class ship { private int numberofrooms; public int numberofrooms { { return numberofrooms; } set { numberofrooms = value; } } } question how can make when make new object type trip,  arrayofpeople size of numberofrooms? hi damjan, maybe it's typo, public property in trip class should called a rrayofpeople, because private variable called a rrayofpeople (you did correctly in ship class). you'll need when setting arrayofpeople trip: ship myship = new ship(); myship.numberofrooms = 6; trip mytrip = new trip(); mytrip.arrayofpeople = new person[myship.numberofrooms]; ~~bonnie dewitt [c# mvp] http://geek-goddess-bonnie.blogspot.com

Adding Web Service

i working on windows home edition computer. web service located on same computer consuming application.   when attempting add web service in visual web developer home edition, followig error message:   there error downloading 'http://localhost/helloworldthreeservice/webservice.asmx'. unable connect remote server no connection made because target machine actively refused 127.0.0.1:80 metadata contains reference cannot resolved: 'http://localhost/helloworldthreeservice/webservice.asmx'. could not connect http://localhost/helloworldthreeservice/webservice.asmx . tcp error code 10061: no connection made because target machine actively refused 127.0.0.1:80. unable connect remote server no connection made because target machine actively refused 127.0.0.1:80 if service defined in current solution, try building solution , adding service reference again.           in website project have used add web reference command add reference web service.  have been pro

Combine a Regular Expression pattern

following sample code check string 2 regular expression patterns. using system.collections.generic; using system.io; using system.text; using system.text.regularexpressions; namespace consoleapp {    internal class program     {         private static void main()         {             string[] contents = file.readalllines("book.txt",encoding.default);            var = new list<string>();             var rx = new regex("^\\d{1,2}\\.([a-za-z0-9]{1,}|\\d{1,2}|[ ]{1,})|^[a|b]{1}\\.(\\d{1,2})");             var rx1 = new regex("\\d$");             foreach (string content in contents)                 if (rx.ismatch(content) && rx1.ismatch(content))                     a.add(string.format("[*{0}*]", content));                 else                     a.add(content);             file.writealllines("newbook.txt", a.toarray(), encoding.default);         }     } } from above combine simple expression   var rx = new regex(&quo

Silverlight - MapPolyline Style

i'm trying apply style mappolyline. i have style defined:          < style  x : key = "routestyle"  targettype = "map:mappolyline" >              < setter  property = "stroke" >                  < setter.value >                      < solidcolorbrush  color = "magenta"  />                  </ setter.value >              </ setter >              < setter  property = "strokethickness"  value = "10"  />          </ style >   and error when runs: the property 'stroke' not found in type 'microsoft.maps.mapcontrol.mappolyline'.   which in contradiction this: http://msdn.microsoft.com/en-us/library/microsoft.maps.mapcontrol.mappolyline_members.aspx   i wondered if maybe struggling find property because it's declared in base class. tried this:          < style  x : key = "routestyle"  targettype = "mapcore:maps