Posts

Showing posts from February, 2014

can't add one drive connector

when add 1 drive (not business version) designer view in logic app blue "sign in" button. clicking creates popup displays: we're unable complete request microsoft account experiencing technical problems. please try again later. the url of popup now:  https://login.live.com/err.srf?lc=1033#error=unauthorized_client&error_description=the+client+does+not+exist.+if+you+are+the+application+developer%2c+configure+a+new+application+through+the+application+management+site+at+https://apps.dev.microsoft.com/.&state=dd96263b-10a0-4cac-ab4a-411dca4127ea if can see api connection created in resource group overview , when clicked @ top see "this connection not authenticated". clicking orange arrow (orange arrow?!?! not button or link?) opens edit api connection blade , option "authorise". when click same popup , same error message above. i'd expect popup prompt me username/password apparently not. i've logged out of else i'm

Send email to multiple recipient after file has been converted

hi, in program, i'm converting files crystal reports .pdf dynamic names. each file associated 1 client. each client has own email address. have email address in database table (sql server).   i like, everytime there's new pdf has been created emails client attachement of pdf file. this method convert files crystal pdf: private void exportreport(string reportpath) { string filename = path.getfilename(reportpath); reportdocument report = new reportdocument(); report.load(reportpath); try { exportoptions options = report.exportoptions; options.exportdestinationtype = exportdestinationtype.diskfile; options.exportformattype = exportformattype.portabledocformat; options.destinationoptions = new diskfiledestinationoptions() { diskfilename = string.format( @"c:\users\tes

sql port

i  used following error in production. not able understnd why message looks fine . there no such charater where the adapter "sql" raised error message. details "' ', hexadecimal value 0x1d, invalid character. line 1, position 220.". dnyandeo_bhar @ message body in hex editor. control character (not visible) in utf-8. if data comes from system and potentially has invalid characters in files you can clean up in receive pipeline.  http://geekswithblogs.net/paulp/ BizTalk Server  >  BizTalk Server General

Difference of C++/CLR and Hosting the Common Language Runtime

hi !   i wondering difference technical point of view between c++/clr in managed , unmanaged mixed mode vs. hosting common language runtime. later documentation says it's slow switch between host , hosted code because transition between managed , unmanaged code slow. same c++/clr? happens if compile unmanaged class in c++/clr. native code , same compared having native code + hostind clr , calling managed code it? or c++/clr create kind of managed code unmanaged classes , jsut silmulates real native code, switches between managed , unmanaged aren't necessary?   i hope can explain me or direct me document can.   best regards    marc i don't think can compare these two. hosting clr when have unmanaged code allowing .net code used in the native process. example of when use managed addin in ie. ie host clr needed run it. http://msdn2.microsoft.com/en-us/library/9x0wh2z3.aspx   hosting clr can complicated there limit on 1 clr per process. if have 2 ie addi

Signature CLR2V3 Error with windows form based VB.net application after installation

hi, dear guys, got 1 sdk 1 company deals biometric solutions. started work sdk , make little windows form based application communicate finger print machine using sdk provided of visual studio 2010. when installed application on client computer gave me error. triend second computer of client , got again same error.then tried on own computer worked fine. here error details get ------------------------------------------------------------ eventtype : clr20r3     p1 : project1.exe     p2 : 2.1.4597.5757     p3 : 5019c61f     p4 : project1     p5 : 2.1.4597.5757     p6 : 5019c61f     p7 : b     p8 : e9     p9 : system.invalidoperationexception here can find url image [img]http://i45.tinypic.com/w75as.jpg[/img] ----------------------------------------------------------- on pc following configuration are: windows xp visual studio 2010 sql server 2008 sdk biometric solutions ----------------------------------------------------------- on other pcs installed

Visual studio 2013: Contract.Assume not generating exception at runtime?

hello guys. i must missing something, can't see what. i'm creating new assembly .net 4.5.2 , i've enabled code contracts going project properties , doing following: * set assembly mode standard contract requires * enabled perform runtime contract checking * chose option full on combo * , chose build option contract reference assembly @ end of page then, i've added folloowing existing class:                          namespace domain.persistence {     public abstract class valueobject : base {         protected valueobject() {             var anyinvalidprops = gettype().getproperties()                 .where(p => attribute.isdefined(p, typeof (domainsignatureattribute), true))                 .any();             contract.assume(!anyinvalidprops);         }     } } while running unit tests, don't end getting exception (even when condition false!). clues on i'm missing? luis abreu solved it: had set public

Migrating from v8 to v10 - Sandbox Returning "An internal error has occurred."

hi ~ i'm trying of old code working order & trying simple "list campaigns" against our sandbox account the initialization looks like: protected def campaignmanagement: icampaignmanagementservice = campaignmanagementserviceclient.getservice() protected def campaignmanagementserviceclient: serviceclient[icampaignmanagementservice] = { val authorizationdata = new authorizationdata() authorizationdata.setdevelopertoken(config.apiaccesskey) authorizationdata.setauthentication( new passwordauthentication(config.username, config.password)) authorizationdata.setcustomerid(config.customerid) authorizationdata.setaccountid(account.id) new serviceclient(authorizationdata, classof [icampaignmanagementservice]) } i verified i'm using correct sandbox apiaccesskey (the generic 1 uses), , appropriate customerid/account id sandbox account & username/passwords accurate can log the sandbox.bingads.microsoft.com ... in fact getting various invalid creden

How to handle SQL Dependency error properly

This summary is not available. Please click here to view the post.

WMI query like returning different results than =

i have following 2 wmi querys biztalk 2006 r1. difference like replaced =          public   void  messages( string  instanceid)          {               dataset messages =  null ;              querywmi querywmi =  new  querywmi();                 // get the messages related to a particular service instance               messages = querywmi.query( "select * from msbts_messageinstance where serviceinstanceid like '"  + instanceid +  "'" );                dataset messagestest = querywmi.query(  "select * from msbts_messageinstance where serviceinstanceid = '"  + instanceid +  "'"  );                 try               {                   if ( messagestest.tables[0].rows.count != messages.tables[0].rows.count)                  {                      messagebox.show(  "different count"  );                  }              }               catch ( exception exc)              {                  messagebox.show( common.parseexcept

Adding a Web Reference - Web Discovery Service tries to download files from incorrect WSDL location

hi all, i developing web services, , i'm trying create web reference url   http://12.34.56.78/abcservices.asmx  . i can browse url no problem, , wsdl, http://12.34.56.78/abcservices.asmx?wsdl . however, when create web reference, following message: unable download following files e.g.  http://xyzwebservices.asmx?wsdl  . want skip these files , continue? my q is, why might trying download files http://xyzwebservices.asmx?wsdl instead of http://12.34.56.78/abcservices.asmx?wsdl ? some additional details: xyzwebservices name of project, , name of virtual path. also, in wsdl file http://12.34.56.78/abcservices.asmx?wsdl , this 'address don't want' is mentioned in these lines soap addresses: <soap:address location= http://xyzwebservices.asmx /> <soap12:address location= http://xyzwebservices.asmx /> we have created other similar web services in same project (a few weeks ago), without problem. have searched web solution haven't found one. thank you! lucy

Best Practice for Code

good day, have written 1st c# console application.  have tried looking answer question, have not found helps answer it, here turning help.  i'm trying incorporate many different items in small appl. can refer develop other programs, included case structure, parse method include if else, had though type of module haven't gotten there yet.  it not let them continue.  think use if elseif elseif elseif structure accomplish task, isn't there more concise way this?  don't know if while loop in order isolating string f = console.readline(); line better or what.  suggestions appreciated.  thank you. namespace consoleapplication1 {     class program     {         static void main(string[] args)         {             console.writeline("enter first #:");             int x = int.parse(console.readline());             console.writeline("which mathematical operation going do?");             string f = console.readline();           

use visio in asp

Image
hi i need to  sample create designer visio in asp draw shape , diagram please me thanks hi vahidbakhtiary,   feel need use  microsoft office visio 2007 viewer perfom it,here official document: about programming microsoft office visio 2007 viewer     meanwhile, tackle looks activex controls embed windows form. public class form1 { private void form1_load(object sender, system.eventargs e) { axviewer1.load("e:\\temp\\drawing1.vsd"); } public form1() { //instant c# note: converted event handler wireups: base.load += new system.eventhandler(form1_load); } }   , thread has announced related information:   host interactive visio drawing surface in .net custom clients     hope helps you.   sincerely,   jason wang jason wang [msft] msdn community support | feedback us Visual Studio Languages  , 

BizTalk receive ports shutting down

we have had biztalk 2006 production environment , running last 2 years no major issues. due adding of more applications our production environment, number of receive locations has increased. since file receive locations have been shutting down on regualr basis on production environment. applying registry fixes recommended following link has not helped: http://kbalertz.com/952556/receive-locations-disabled-computer-running-biztalk-server-biztalk-server.aspx , neither has increasing retry count on receive ports worked. is there other fixes known issue note: biztalk production environment hosted on 2 servers , polling share on different server. regsitry settings have been applied 3 servers no effect issue keeps reoccuring frequently. the error message keeps popping follows: service unavailable: receive location shutting down. unable find application source biztalk server 2006 message 5649 [-1061153263] \\in\error\*.xml. file receive location \\in\error\*.xml exhausted network retry attemp

List View Web Part not showing Summary toolbar with Custom XSLT

trying change , feel of list view web part using custom xslt when summary toolbar not coming... no longer able see new , edit links comes oob. when applying custom xslt wont show link "new item , edit list item"  when not applying custom xslt able see i unable add images here please refer this.... https://community.office365.com/en-us/f/154/p/356863/970390#970390 please help.... trying change , feel of list view web part using custom xslt when summary toolbar not coming... no longer able see new , edit links comes oob. when applying custom xslt wont show link "new item , edit list item"  when not applying custom xslt able see i unable add images here please refer this....       https://community.office365.com/en-us/f/154/p/356863/970390#970390 please help.... SharePoint  , 

Getting unhandled exception error from code

when try run code error on "in" on "foreach (var item2 in listbox1.items) line. htmlelementcollection elc = this.webbrowser1.document.getelementsbytagname("a"); int q; foreach (htmlelement el in elc) { foreach (var item2 in listbox1.items) { if (item2.tostring() == label2.text) { listbox1.selecteditem = item2.tostring(); q = listbox1.selectedindex; listbox2.selectedindex = q;

Parallelism

hi all, if parallel start task @ once? or wait time complete others? this scenario have facing issues. i have collection, , has 200 items, calling a method(assume holds time processing 1 min) , wait response.  if use foreach took 200x 1 min complete process. if use parallel supposed complete within min 200 item call? below code tried, took same time used in classic foreach. list<int> paralleltask = new list<int>(); for(int i=1; i<=200; i++) { paralleltask.add(i); } console.writeline("parallel process started"); paralleltask.asparallel().forall(x => { console.writeline("response : {0}", new messagecontainer().getmessage(x)); }); console.writeline("parallel processing completed"); ======================================================= public class messagecontainer {

A call to CancellationTokenSource.Cancel is hijacked by an awaiter and never returns

a have scenario call cancellationtokensource.cancel not return. instead, execution inside cancel diverted code being cancelled place catches operationcanceledexception. see full example on github: https://github.com/ladimolnar/samples/tree/master/sources/asyncissue the issue can reproduced in console apps, background agents universal apps windows , background agents universal apps windows phone 8.1. the issue cannot reproduced in universal apps windows code works expect call cancel returns immediately. some code, let’s call “the client code” running on thread t1 , calls: cancellationtokensource.cancel some code, let’s call “the worker code” runs loop on threadpool. because loop contains awaiters, execution before , after awaiters may switch thread another. excerpt of worker code: try { // code being cancelled. await task.delay(5000, cancellationtoken); } catch (operationcanceledexception) { } when code above call "await task.delay(...)", e

How to login website in widows application

how login different website in widows application hi nandhini, do want load web page in windows form application? if case, please refer following aticles: http://stackoverflow.com/questions/11837892/how-to-load-web-page-in-windows-form-c-sharp http://support.microsoft.com/kb/320478 thanks. we trying better understand customer views on social support experience, participation in interview project appreciated if have time. helping make community forums great place. click here participate survey. Visual Studio Languages  ,  .NET Framework  >  Visual C#