Posts

Showing posts from July, 2015

Fatal Execution Engine Error

Image
visual studio 2008 closes automatically without error when create new silverlight application project. problem not occur when visual studio 2008 sp1 uninstalled , reinstalled on system. in case there no xaml intellisense , silverlight toolbar in application. on installing silverlight 3 sdk , tools, xaml intellisense cannot create new silverlight application. in cases visual studio closes when open xaml page in existing silverlight project if open source code editor. vs not crash when xaml page opened xml editor. have tried commands devenv /setup, devenv /resetskippkgs, mentioned in many posts not help. have tried uninstalling visual studio , silverlight , reinstalling them couple of times not help. os windows server 2008. not able obtain crash dump in process mentioned. in event viewer see error in .net runtime follows:  .net runtime version 2.0.50727.3615 - fatal execution engine error (623e60b0) (80131506). it real relief annoying problem if me out of this. thanks. hi h

Open a command prompt and run an exe

i have executable file want run directory on c drive. how dos comand move directory , open program?   on 6/29/2011 12:23 pm, leesider wrote: > have executable file want run directory on c > drive. how dos comand move directory , open the > program? >   < http://www.devx.com/dotnet/article/7914 >   Visual Studio Languages  ,  .NET Framework  >  Visual C#

Sandbox - Data is missing

hello, setup sandbox account explained in documentations. choosed nickname , added _sbx demaned. problem - don´t test data in our account. setup view campaigns, adgroups, keywords everywhere metric zero. else has problem? thanks reporting issue. suggest please reach out support sandbox customer details, , happy take look. best regards, eric Bing Ads API: Development  >  Bing Ads API: Development

Cannot find label and other controls

i have installed expression studio 2 , 3. when using either of versions, how cannot find label control along other other controls such richtextbox, flow_documents_scrollviewer etc.   can me regarding this? thanks i created wpf project , found label , other controls shown while if create silverlight 3 application+website, not shown.     any ideas how fix it? Expression  >  Expression Blend + SketchFlow

Architecture approach - scoring (weighted)

hi all, i've been brought project try , determine best approach problem described hereafter , bit different i've dealt before , hoping may have insight solution. project goal take inline sql executed each record (either insert or update) across several tables. number of records can exceed on million. in production database , not recommended have process cripple performance daily business. processing against weighted scoring records , way scoring determined can set user, update comes play on same records. performs foreach , cycles through each record applying inline sql 1 record @ time, takes entirely long complete. thoughts on possible approaches move stored procedure, use asynchronous portions of .net 4.0 framework, move ssas cube, use , ssis package perform job, or combination thereof. please let me know if glaring solution seen , in advance insight.  enigmatic one processing datasets ought slower compared straight piece of sql , going processed? surely not on cli

Synchronizing Access App with Outlook (Calendar, contacts and tasks)

Image
hello, have bit of complex system in mind our business. first of wondering if possible. (if have tutorials link tell me how it, appriciated) toolbox have microsoft office 365 business premium, have loads of microsoft apps/softwares , services @ disposal. if higher version of subscription or additional services/softwares needed (paid or free), not problem if allow create dynamic workflow. background run professional photography business , sell physical products. order raw resources such frames, albums, glass, paper, ink, computers, , on various distributors. operate on appointment, people need call/mail month in advance book photography session. either while booking that, or when meet @ appointment, book 1 week(s) later. that's when come view , pick images. when leave, start process order editing photos, ordering album/frames etc, printing, assembling , on. we create invoice (3rd party accounting service) when customer comes pick , pay or when ship it.

lync sdk how to handle muliple client message at same time?

i creating multi client chat application each incoming message sending 1 response message the code works if receive single message @ time if receive multiple client request @ same time send response message 1 client (ideally should send 1 response message each client) is possible multithreading? each client run on different threads lyncclient : conversationadded() adds current conversation ? if yes there way create new conversation each client? hi p2394 , thank posting here. since issue related to microsoft lync client development , i move your thread to microsoft lync client development  forum  .  the visual c# forum discuss , ask questions c# programming language, ide, libraries, samples, , tools. if have grammar or code errors, please feel free contact us. try our best give solution. here link of microsoft lync client forum: https://social.msdn.microsoft.com/forums/vstudio/en-us/home?forum=communicatorsdk if have else regarding c# programming , please fee

How can I implement a attribute like "PrincipalPermission"

i attribute "principalpermission", because when call method mymethod, check permission first. found when check permission failed, throws exception . my question how can implement attribute this: when check permission failed, not step method "mymethod", instead of throw exception?   code snippet         [ principalpermission (securityaction.demand, role = "user")]         private void mymethod()         {             string ss = "abc";         }     (offcourse first create concrete permission(set) , demand don't see how useful) if you're talking principalpermission can following: code snippet if (thread.currentprincipal.isinrole("user")) {  mymethod(); } but following, , more generic solution use try/catch block: code snippet try {  mymethod(); } catch (securityexception sex) { } to answer question: afaik it's impossible without exceptions, because that's way failures meet requir

Abstract Class and Interface

hi, can explain why use abstract class , interface , when use abstract class , interface and 1 best use please explain in simple words waiting reply..... here quick definition:- what abstract class? an abstract class special kind of class cannot instantiated. question why need class cannot instantiated? abstract class sub-classed (inherited from). in other words, allows other classes inherit cannot instantiated. advantage enforces hierarchies subclasses. in simple words, kind of contract forces subclasses carry on same hierarchies or standards. what interface? an interface not class. entity defined word interface. interface has no implementation; has signature or in other words, definition of methods without body. 1 of similarities abstract class, contract used define hierarchies subclasses or defines specific set of methods , arguments. main difference between them class can implement more 1 interface can inherit 1 abstract class. since c# doesn’t support mul

mapping on orchestration or at port level?

hi experts,which best method applying maps.is in orchestration or port level mapping/which best, pls give me elaborate description orelse links regarding that.needed urgently like always: depends (on scenario , skill level).   port mapping useful in these cases (when start using biztalk): 1. if don't need orchestration. if it's routing including 1 single transformation, use port mapping. there no need use host instance. safes performance. 2. if have more 1 "incoming" xsd. if want start same orchestration have 2 different xsds (2 business partners, 2 slighly different processes, 2 transport layers, etc.) use port mapping 1 "common" xsd start orchestration with. for sure there more scenarios should use port mapping, these common ones. if these 2 points doesn't match problem, use mapping in orchestration - can debug, etc.   it's more performant use port mapping might become bit more complicated follow way of message through whol

Problem with naming my own project *.Contracts.dll

hi, have problem!! my projects named emplaza.*.contracts.dll , doesn't work when rename emplaza.*.test.dll work! but there no other wat solve this? regards, rolf de vries i ran well. according documentation looks it's known issue:  10.5 cannot have own assemblies end in "contracts" when using systems such wcf, have assemblies named x.contracts.dll not code contracts contract assemblies (section 6.5) confuses code contracts tools , exception during generation of code contracts contract assembly project. must rename other assemblies not end \contracts i worked around renaming assemblies "*.datacontracts" or "*.servicecontracts" appropriate. DevLabs  >  Code Contracts

Dock Lync Conversation window Issue

hello, i new lync client development. working on wpf application deals lync. as requirement, keep lync conversation window maximize time regardless of user's action. used 'docking' mechanism (please refer below code) panel _panel = new panel(); //container inptr _containerhandle =_panel.handle; _skypeconversationwindow.dock(_containerhandle); this code has been added method being called recurrently (on 1 second sleep timer) keep conversation window maximize time. side effect, whenever application docks conversation window, gives screen flickering experience user may create problem in video calls. there condition exists helps me dock window when not docked. tried using 'isdocked' property return false. any appreciated on this. thanks.   Lync Server  , 

Automating Windows Live Mail

is possible automate windows live mail c# or vb.net? can automate outlook 2000-2003 using cdo, , outlook 2007-2010 using new outlook object model. there way automate windows live mail? there perhaps sdk available? i have winforms app bulk e-mailing. the client has option to send out e-mails (in html and attachments) directly app (using system.net.mail) or via outlook (which prefer cause have copy of e-mail in outlook's send folder). i'd add windows live mail option... thanks in advance fabricio rodriguez pretoria, south africa fabricio rodriguez pretoria, south africa have tried windows live sdk? http://www.microsoft.com/en-us/download/details.aspx?id=8615 chanmm chanmm Visual Studio Languages  ,  .NET Framework  > 

Azure Function Filters

hi, we need execute common code within azure function before function executes. achieved within our asp.net web api using asp.net filters (https://docs.microsoft.com/en-us/aspnet/core/mvc/controllers/filters). is there equivalent capability within azure functions? any links suitable article if exists appreciated. thanks tom there nothing out today production use. something that's in preview , works in precompiled c# (and shouldn't assumed stable....) function filters - https://github.com/azure/azure-webjobs-sdk/wiki/function-filters for now, in production scenarios, i'd take whatever common code want call , make common method functions call on first line. Microsoft Azure  >  Azure Functions

Suppressing warnings

hi, work large company , don't have control on our build process.  our arch/build manager treat warnings errors , rejects build if warning or errors issued. the policly use #pragma disable warning if have verified not a problem.  have several warnings issued rewriter (according other threads) false positives , going cleaned in future releases. is there optional settings can tell rewrite suppress these warnings can #pragam statement. -thanks lexnn hello lexnn, why want supress warnings?!? should correct class. formulating precondition caller can not check not ideal. DevLabs  >  Code Contracts

Cannot open https://portal.azurestack.local/

Image
connected  mas-con01  with remote desktop followed below url. but cannot open portal.azurestack-local https://docs.microsoft.com/ja-jp/azure/azure-stack/azure-stack-connect-azure-stack i found  url point ip [192.168.102.5]. there isn' t segment [ 192.168.102.* ] in environment. bug? correct ip [ portal.azurestack-local ]? c:\users\azurestackadmin>ping portal.azurestack.local pinging portal.azurestack.local [192.168.102.5] 32 bytes of data: request timed out. request timed out. request timed out. request timed out. ping statistics 192.168.102.5: packets: sent = 4, received = 0, lost = 4 (100% loss),  thanks, aaron browser's problem. see below: there isn't ip segment 192.168.102.* Microsoft Azure  ,  Development

windows service with Lon running process in C#

hi, i have long running task  which have created on onstart method of service takes time , status of services "starting" , display error message. work going on, takes 2 or 3 hours. and need same task after time interval again , again on time. i have written function on onstart .. please suggest how use threading , other asynchronous method task fetching data sql server , doing manipulation , using sdk inserting data . thanks   a service required of work on background thread.  scm call onstart method , has few seconds respond (although can ask delay, not recommended).  therefore onstart methods spawn worker thread work while main thread returns.  if you're getting error scm onstart method isn't doing this.  critical onstart method not block.  unlike other app model you'll run across service code (your worker thread) continue run. if need repeat work on , on again recommend in onstart method start system.timers.timer.  timer needs field in servic

SharePoint 2010 base site not showing up under list of applications in CS manager

we have installed sharepoint 2010 , commerce server 2009, , ran sharepoint commerce services configuration wizard integrates two.  when done, have site shows under "commerce sites", , applications in place web services, sharepoint sites (one ntlm-based , 1 forms-based) not show in list of applciations.  how 1 go having these sites show under applications, when install out of box contemporary default site? we seem have working un-pupping defaultsitewithnodata twice, in effect creating 2 commerce-enabled applications (along 4 applications our web services), , installing sharepoint on top of 2 sites. i imagine way without manually adding sites. Commerce Server  >  Commerce Server 2009

how to get sys_guid from oracle into c#

hi .. i have source file with  columns  name with  dt_str size 64, data_uid1 dt_str  values    given below name  data_uid1 -------------------- sai  ram   i wanted assign sys_guid oracle into  c#  to  data_uid1 column   for have used  ssis package  script component   with code row.name1 = row.name oracleconnection con;   con= new oracleconnection ( "data source=wild;user id=log;password=pas" ); con.open(); cmd = new oraclecommand ( " select sys_guid() dual " , con); dr = cmd.executereader();   while (dr.read()) { row.datauid1 = dr[0].tostring();  }    the output getting  this  name1 data_uid1 ram system.byte[] sai system.byte[]  how correct guid  value into  data_uid1 column         karteek     oraclecommand cmd; as calling sys_guid( ) returns raw byte[]. so try rawtohex ( user_guid ) function convert raw bytes[] hexadecimal update fol

HIPPA EDI 837P Sample/Test messages

hey all, i building poc 1 of client hippa 4010 837p processing. can 1 please guide me on how valid test messages. tried generating messages schema in visual studio fails in edireceive pipeline. thanks, pradeep hi,      generated following file , passing: isa*00*          *00*          *zz*7654321        *zz*1234567        *991221*1226*u*00200*000000065*0*t*:~ gs*po*01*1234567*19991221*1226*122*x*004010x098a1~ st*837*st02~ bht*0019*00*bht03__originatorapplicationtr*01230123*01234567*ch~ ref*87*ref02__transmissiontypecode~ nm1*41*1*nm103__submitterlastororganizationn*****46*nm109__submitteridentifier*nm*nm1~ per*ic*per02__submittercontactname*ed*per04__communicationnumber*ed*per06__communicationnumber*ed*per08__communicationnumber~ nm1*40*2*nm103__receivername*****46*nm109__receiverprimaryidentifier*nm*nm1~ hl*hl01__hierar**20*1~ prv*bi*zz*prv03__providertaxonomycode~ cur*85*cur*****cur*01230123*01234567*cur*01230123*01234567*cur*01230123*01234567*cur*01230123*01234567*cur*0123012

Test Ads Not Showing in Emulator

i have been @ couple of days searching within forums , other places on web, can't seem figure out.  have sample app i've added ads to, don't show on emulator.  i've followed steps in windows dev tools, can't figure out i'm doing wrong. i using test_client applicationid , image480_80 for adunitid.  i've tried using application , ad unit ids given microsoft advertising pubcenter, same results. i added using vs express windows phone, more comfortable blend visual studio once added in adcontrol , set capabilities in vs, saved project , continued working in blend.  ran project in both visual studio , blend test ads don't show in either of them.  when run project faint outline of box shows deploys disappears, yet can see faint outline in both vs , blend.  i have tried adding thick border, not borders show when deploy app.  i've placed within content panel, no luck. this mainpage.xaml code looks like: <phone:phoneapplicationpage xmlns

WCF service losing session memory

 i have wcf service lost ability maintain session memory 1 call next.  lost because working fine few days ago.  when published project out server, had make changes web.config file.  assume along way accidentally changed value stopped saving session memory.  although, thought set correctly. my service class has attribute.<aspnetcompatibilityrequirements(requirementsmode:=aspnetcompatibilityrequirementsmode.allowed)> this node in web.config within system.servicemodel node. <servicehostingenvironment aspnetcompatibilityenabled="true" /> and, wcf service lives in web project uses session variables extensively.  and, work. is there else can check? thanks, mike     hi mike, how's issue going now?   had done when deployed application production server?  please share differences?   we may find clue info?  understanding. best regards, jonathan Silverlight

Define a TextBox with allowed Character

it possible create textbox define character input? i mean yes possible. a sample progam jlp318 allowed numbers, decimalpoint, left, right, delete , on. show jlp318 best regards martin oh, not way. change , . before add number , add correctly. textbox names not number ok, if canot function no numbers old problem wrote version 0.8 , not corrected in following version. can't write programs in sb, mathch problem better change visual studio. long way :-). sb easy. best regards martin Learning  >  Small Basic

Error validating certificate "All the intended purposes of this certificate could not be verified"

hi, when open certificate using certificate browser window inside biztalk change biztalk group certificate (or certificate used in party or port definition), when select view certificate, certificate shows message "all intended purposes of certificate not verified", if use mmc view same certificate displays intended purposes without message... why that? can remove message? issue in biztalk  2010? thanks regards hi, what attempting use your certificate for?  root certificate signed certificate support following; 1.) digital signature 2.) certificate signing 3.) off-line crl signing 4.)  crl signing (86) your certificate issued saphety level - trusted services sa also, there option on (biztalk 2010) as2 properties screen disable crl checking. thanks,   william BizTalk Server  > 

Loading XAML code into FlowDocumentScrollViewer from within project

i found code while searching on msdn , got project working how want to.             // open file contains flowdocument...             filestream xamlfile = new filestream(myfilename, filemode.open, fileaccess.read);             // , parse file xamlreader.load method.             flowdocument content = xamlreader.load(xamlfile) flowdocument;             // finally, set document property flowdocument object was             // parsed input file.             flowdocscrollviewer.document = content;             xamlfile.close(); however, filestream opens external file , not file within project.  if i, example, type in "page2.xaml" myfilename program looks "page2.xaml" in debug folder instead of in location within project.  assume because uses filestream string determine file open , reads it.  there way make opens file within project?  didn't think there , prefer stand alone program; i.e. loads flowdocument xaml code project , not external directory or location. i hav

How to sort on multiple fields in data class

i have class datajoindatasummary.  i want able sort lotnumber, datetime, absorbance and/or materialid fields.  it works lotnumber can't figure out how alter code allow sort other fields.  the datetime field nullable.  any responses appreciated. thanks. rob using system; using system.collections.generic; using system.linq; using system.text; using system.threading.tasks; namespace phoenix_fastscreen.dataaccess.entities { class datajoindatasummary : icomparable<datajoindatasummary> { public string materialid { get; set; } public string lotnumber { get; set; } public string panelformat { get; set; } public int repeat { get; set; } public decimal? absorbance { get; set; } public dateti

C# Programming Help

Image
have: program.cs using system; using system.collections.generic; using system.linq; using system.text; using system.threading.tasks; namespace homework_assign_4 {     class program     {         static void main(string[] args)         {             student student1 = new student("jack", "black");             student1.addcourse("cis 150");             student1.addcourse("cis 151");             student student2 = new student("john", "smith");             student1.addcourse("its 150");             student1.addcourse("its 151");             student1.addcourse("its 152");             student1.addcourse("its 153");             student1.addcourse("its 154");             student student3 = new student("jane", "doe");             student1.addcourse("bio 150");             student1.addcourse("b