Posts

Showing posts from August, 2014

BizTalk 2013 and SAP HANA

hi, does have experience integrating biztalk server 2013 sap hana. different connecting bts sap systems or same long have sap system details , can use wcf-sapbinding connect sap hana system. inputs on appreciated. cheers!! hi rvaidya, i researched relevant information sap hana, can run sap hana in-memory database in own business on-premise deployment. cannot find available way integrate biztalk server 2013 sap hana. for issue, consult sap hana experts, , check whether can give solution you. in addition, if cannot determine answer here or on own, consider opening support case us. visit link see various support options available better meet needs:   http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone have day.  angie 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.

Changing the settings of a printer

hi all, i am trying create windows forms application allows user print sequence of files. want print using shell execute (system.diagnostics.process). however, want give user ability select printer & printer settings print through. i have tried code given in following article, http://www.codeproject.com/articles/6899/changing-printer-settings-using-c using it, able change settings of local printers, attempting access remote printers throws "access denied" win32exception - after making changes suggested in comments. i have tried system.printing namespace. attempting create printquery on local printer (windows xps document writer) throws error stating "attempt security transparent method 'ms.internal.printwin32thunk.printerdefaults.dispose(boolean)' access security critical method 'ms.internal.printwin32thunk.printerdefaults.internaldispose(boolean)' failed." is there way through c#? appreciated, have been banging head on screen w

Architecture and Sizing

hi all, i know impossible question answer, have question around architecture of biztalk solution needs process 160,000 messages day, although 4 message exchanges complete "transaction" has complete within 10 seconds (not including external interface latency), 40,000 total transactions. basically message sizes small, there map on incoming message , on outgoing message , orchestration pretty doing correlation. there little bit of bam going on monitor throughput , transit times. message transfer via wcf endpoints. i've explained approach of start smaller number of servers , scale out if necessary i've been told need provide definitive solution. tempted 2 servers, 1 receive , 1 for transmit and clustered sql, not sure. if has guidelines that'd appreciated, i'm happy overcook if necessary! cheers, cd not 6, 3. 2 of these configure clustered/nlb receive, decide run processing under separate hosts across 3 or two. use separate send host

How to setup SSL cert for SharePoint apps in a three tier farm with nlb

i having trouble understanding how setup ssl certificate on sharepoint apps or in general configuration please check below thread.. https://social.technet.microsoft.com/forums/sharepoint/en-us/53465d30-10b2-48c9-9541-5ade738156b4/how-to-setup-ssl-cert-for-apps don't forget mark answer if resolves issue , vote me helpful if useful. mahesh SharePoint  ,  Apps for Office and SharePoint  >  Developing Apps for SharePoint 2013

Use Application Insights with a SPA(knockout.js/crossroads/require.js)S

hello, could point me in right direction on how set application insights single page knockout.js/crossroads/require application? thank you. to have full picture of application want use server , client side application insights sdks. on server side, you can use dotnet sdk (depending technology use), on client (browser) side javascript sdk.  javascript sdk doesn't support single page apps out of box. sdk automatically track initial page views (when browser navigating new page), dependencies (ajax calls) , exceptions. track other pages views have manually call starttrackpage/stoptrackpage (see https://github.com/microsoft/applicationinsights-js/blob/master/api-reference.md#starttrackpage).  Visual Studio Development  ,  Visual Studio Team Foundation Server

Login to DB? No. Actually, NO!!

c# keeps thinking i'm trying login db...i guess.  have no password on db; i'll never have password on if live 100 years.  db screwing around , experimenting; having fun.  process, , hundreds it, have worked fine on 4 years.  now, of sudden c# thinks db password-protected, , have no idea why.  paired of code down basic elements, , still doesn't work.  if delete more code, i'll have form popping open, , requires no code whatsoever.  lol!!  can't figure out.  if underscore what's going on, i'd appreciate it. using system; using system.collections.generic; using system.componentmodel; using system.data; using system.drawing; using system.linq; using system.text; using system.windows.forms; using system.data.sqlclient; namespace windowsformsapplication2 {     public partial class form1 : form     {         sqlconnection conn = new sqlconnection("server=excel-pc;database=northwind;trusted_connection=true");        

Code Contracts with WPF references (VS Beta 1)

unfortunately, can't compile solution. i'm getting an error: --- error list --- error 1 unresolved assembly reference not allowed: windowsbase. c:\users\janka jános\documents\visual studio 10\projects\vvmf.core\vvmf.core.wpf.mvvm\ccrewrite vvmf.core.wpf.mvvm error 2 the command ""c:\program files (x86)\microsoft\contracts\bin\ccrewrite" /level:4 /rewrite  /libpaths:"c:\program files (x86)\microsoft\contracts\contracts;c:\program files (x86)\reference assemblies\microsoft\framework\.netframework\v4.0\;c:\users\janka jános\documents\visual studio 10\projects\vvmf.core\vvmf.core\bin\debug\ " "vvmf.core.wpf.mvvm.dll"" exited code -1. vvmf.core.wpf.mvvm --- output --- ccrewrite : error : unresolved assembly reference not allowed: windowsbase.   system.invalidoperationexception: unresolved assembly reference not allowed: windowsbase.      @ system.compiler.ir2md.getassemblyrefindex(assemblynode assembly)      @ system.compiler.ir2md.gettyperefi

Is it compulsary to call Dispose() on custom objects Impementing IDisposable?

hi all i have inherited code has many custom types/classes implement idisposable interface, during object life-time of these classes dispose method never gets called before object instances fall out of scope. mean resources these objects create/hold not cleaned up? thanks in advance. tryst yes, gc collect memory , not resources. dispose free resources , gc takes care of memory. finalizers called teh gc , ensure unmanaged resources freed not want rely on because effictively closehandle , nothing more. no commit, no flush, ... performed when finalizers called gc not behaviour want when deal databases. yours,     alois kraus .NET Framework  >  Common Language Runtime Internals and Architecture

Schema as service + https (encryption at transport) + message signing (no encryption)

hi, need expose schema web service security. 1. source : biztalk 2010 2. target : pega / java based systems 3. encryption : transport level 4. signing : message level 5. special requirement : send unsecured responses, supress timestamps can done.. ? start wanted achieve message signing. 1. exposed schema service.. , used basichttpbinding .. able consume. 2. changed custombinding..  a. enableunsecuredresponse = true b. includetimestamp = false, replaymessages in client , server = false supress timestamps biztalk expecting sign , encrypt message. can make accept messages signed? when move ssl (encryption) + message signing .. challenges. need use custom binding or can achieved wshttpbinding (mode : transportwithmessagecredential) praveen behara mcst : biztalk server 2006 r2, 2010 as part of "publiosh schemas wcf" option generate "receive port" under specified application. when port created have wcf level contracts in

Global variables in Web Service class

hi, i wanted write ws had 6 clients.  how can share variable between these clients ? what wanted do, have ws store time stamp of time newest data retreived. i want this: namespace mywebservice {     public class mywebservice : system.web.services.webservice    {        private string myname = "unassigned";        private dataset waitingdataset;        private datetime waitingtimestamp;   if 1. client connected and the data fetched therefor time stamp stored , data.  2. client come in , retreive time stamp?  or 1. client have own "instance" of ws class ? sorry english bad. you store it in application object. application.add(" waitingtimestamp ", waitingtimestamp ); and datetime dttimestamp=(datetime )application[" waitingtimestamp "];   Archived Forums A-B  > 

Login to Website and download file programtically

i using website download file in excel format on daily basis. website needs login information , have make 3, 4 further clicks reach "download file" button. button runs script makes excel file , prompt downloading. want script login me automatically , clicks , download file. i tired of using httpwebrequest since last 2 weeks couldn't succeeded. tried k.scott allen article couldn't solved problem. idea please?   thanks hi, this true man-in-the-middle attack. but not problem site operator doesn't care security password send on wire plain text. should @ least use https here... attacker between pc , server can tap line , retrieve credentials. microsoft mvp office access https://mvp.support.microsoft.com/profile/stefan.hoffmann Visual Studio Languages  ,  .N

Change resourceID by script

hi i have running iis (server 2016) want enable ai on 1 app pool. i can use start-applicationinsightsmonitoring cmdlet start , can provide instrumentationkey. but how i, script change resourceid??? i've tried update applicationinsights.config manually, ai status monitor throws error: "could not find resource group 'xxx' subscription 'guid' please choose 'configure settings' , select existing resource" then can manually configure using status monitor, there no changes applicationinsights.config file. so missing? thanks kim, that's not supported of today. resourceid used statusmonitor ui provide user friendly representation of subscription/resource group/resource name. power shell cmdlets treated more advanced and/or tool automation when user knows ai resource instrumentation key. if you're using cmdlets ignore resourceid in ai.config correct instrumentation key set there , resourceid doesn't affect actual monitoring

how to make editable for Primary email in Office 365

Image
hi all, i getting below error while trying alert me option username , can please guide me how update primary email address, getting editable alternative email address not primary email  you not have e-mail address.  alert has been created not receive notifications until valid e-mail or mobile address has been provided in profile hi, the following steps reference: 1.browse office 365 portal @ https://portal.office.com . 2.click admin link @ top of window, , sharepoint. 3.in sharepoint admin center, click user profiles. 4.under people section, click manage user properties. 5.locate work email property name , rest mouse pointer on property. 6.click drop-down arrow, , click edit. 7.in edit settings section, select option next allow users edit values property setting. 8.in policy settings section, click check box next replicable. note:the replicable setting necessary make sure properties propagated site collections within organization. 9.scroll bott

Bing Maps API - Travel Duration Matrix - With Public Transport Data - HELP!

google maps "google distance matrix api" allows users enter multiple start , end locations , request various travel distances , durations. however, haven't upgraded system allow public transport mode of travel , output need.  i assume data bing maps making separate route requests need travel durations 2 starting locations 50 end locations (100 durations in total) surely take ages , slow? does know of way of doing this?   any appreciated, knew and desperately need advise on possible way able calculate these travel durations. is one-off requirement? (i.e. once you've calculated 100 combinations, it?) if so, making 100 requests bing maps routing rest service take few seconds. if, however, need recalculate many times multiple sets of starting locations multiple end locations, might want consider alternative solution. 1 way calculate reusable matrix between major towns/cities only. then, when want find exact duration between 2 points, calculate duration start

when to get the latest release for 15.0.4507.3000

i build application need in   ui suppression mode enable application sharing or socument sharing within client application. a ccording to http://msdn.microsoft.com/en-us/library/lync/jj933179.aspx, latest version lync 2013 sdk should released on  may 2013. but, far cannot find download information this. sorry, page in message in error. expect these new features available soon. Lync Server  ,  Unified Communications  >  Microsoft Lync Client Development

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'

when trying register against public azure adfs azure stack error below. logs can found at: c:\maslogs\azurestack.azureregistration.2017-10-12.01-31-23.log  and  \\azs-ercs01\c$\maslogs error occurred checking stamp information: system.management.automation.remoteexception: term 'get-azurestackstampinformation' not recognized name of cmdlet, function, script file, or operable program. check spelling of name, or if path included, verify path correct , try again. @ c:\azurestack-tools-master\registration\registerwithazure.psm1:1106 char:5 +     throw "logs can found at: $global:azureregistrationlog  and  \ ... +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     + categoryinfo          : operationstopped: (logs can fou... , try again.:string) [], runtimeexception     + fullyqualifiederrorid : logs can found at: c:\maslogs\azurestack.azureregistration.2017-10-12.01-31-23.log  a    nd  \\azs-ercs01\c$\maslogs error occurred chec

Why I fail to create Azure Data lake with ARM template???

i have azure data created in portal. have downloaded automation scripts portal , trying deployment, cannot create new data lake store , analytics. have not edited template.json file, parameters.json edited. wrong? az group deployment create --resource-group armtestrg --template-file  c:\development\template.json  --parameters c:\development\parameters.json deployment template validation failed: 'the provided value template parameter 'accounts_mydata_datalakestore accounts' @ line '1' , column '312' not valid.'.   "$schema" : " https://schema.management.azure.com/schemas/2015-01-01/deploymentparameters.json# ", "contentversion" : "1.0.0.0", "parameters" : { "accounts_ my data_defaultdatalakestoreaccount" : { "value" : "mydata_defaultdatalakestoreaccount_2" }, "accounts_ my data_datalakestoreaccounts" : { "value" : "accountsmydat

Best practices for negative enumeration values

i need create enumeration contains negative values. i need add member called "none" 0 value satisfy ca1008: ca1008  enums should have 0 value add member has value of 0 suggested name of 'none'. what best practice including negative enumeration values?  should come numerically before none? i.e., should add none after negatives or before? with positive values sequence clear. thanks. i think highest negative ones should come first followed lowest ones , last none. enum testenum { minusfour = -4, minusthree = -3 minustwo = -2 minusone } please mark post answer if solved problem. happy programming! Visual Studio Languages  ,  .NET Framework  > 

Manfaat Sholat Untuk Kesehatan

manfaat sholat sholat ialah salah satu tanggung jawab bagi semua mukmin. sebuah amalan mulia yang memiliki peran krusial untuk keimanan seseorang. sehingga nabi shallallahu ‘alaihi wa sallam mengumpamakan sholat bagaikan pondasi dalam suatu bangunan.  nabi shallallahu ‘alaihi wa sallam bersabda, “islam dibentuk di atas lima hal: membenarkan bahwa tak ada sesembahan yang berhak dipuja dengan benar selain allah dan nabi muhammad shallallahu ‘alaihi wa sallam adalah utusan allah, menegakkan sholat….” hr bukhâri dan muslim oleh karena itu, ketika muadzin menyuarakan adzan, kaum muslimin berlomba-lomba memasuki rumah-rumah allah subhanahu wa ta’ala, bersuci, lantas berjajar rapi di belakang imam sholat para mukminin.  mulailah kaum muslimin masuk dalam dialog dengan allah subhanahu wa ta’ala dan sungguh khusyu’ menikmati sholat sampai imam menyampaikan salam. dan sesudah sholat dhuha, tiap-tiap larut pada aktifitasnya. terbersit soal, apakah setiap orang mukminin s

Applications in Biztalk server 2006 R2

hi. how many applications can have in biztalk server 2006 r2? regards rj hi kaldernord, there no official limit on how many applications can there. but machine configuration play major role in deciding how many application runs without problem. if required increase number of application, should not problem biztalk scalable. i hope helps!!!!!! maheshkumar s. tiwari| biztalk developer interview questions , answers http://tech-findings.blogspot.com/ BizTalk Server  >  BizTalk Server General

Display Image at project startup - program.cs?

 i have small windows forms project , iam looking display image @ project startup, mean program.cs, possible? but below code displaying empty picturebox , picturebox image not displying... application.enablevisualstyles(); application.setcompatibletextrenderingdefault(false); system.drawing.image myprgimage = system.drawing.image.fromfile("c:\\temp\\images\\for_network.gif");        //picturebox mypictbx = new picturebox();        //mypictbx.sizemode = pictureboxsizemode.stretchimage;        //mypictbx.image = myprgimage;        //mypictbx.show(); form1 fm1 = new form1(); fml.startposition = formstartposition.centerscreen; fm1.show();   u.paranthaman hi, this might you. kind regards, aelassas.free.fr Visual Studio Languages  ,  .NET Framework

Troubleshooting bottleneck in simple azure function

hi guys, i have simple azure function accepting webhook , immediately writes 2 storage queues (code below). today triggered made webhook called approximately few hundred times on a short period of time (i'm guessing invoked 1.500 times in loop external service). the first dozen calls went through fine runtime seemed hang , after restarting couple of times seems function calls retried in bursts , succeeded. checking monitoring saw dozens of functions hanging (...) on 80 seconds. the function app runs on basic plan , didn't see peaks in cpu or memory in time period. i want understand better why runtime behaves , how can diagnose these issues , potentially remove bottlenecks before scaling up. seems me kind of work (only io bound, using node , azure storage , fn bindings) should perfect fit azure functions , should run performance problems already. any apprecheated. module .exports = function (context, data) { context.bindings.queue1= [{ partitionkey

Visual Studio Walkthrough - using end-user modified configuration settings in a desktop application.

can recommend good visual studio walkthrough details how install , use *.config file within the  vista / windows 7 security model? i've got c# application reads configuration file @ application startup: myapp.exe.config. xp installed *.config file in same folder executable - typically c:\program files\company name\product name. before running application first time, end-users (technical folks) open application's *config file (using notepad), change various settings match run-time environment, save *.config file, run applicaiton , application read *.config file current directory (the directory *.exe file located). the trouble - when application is installed into to a vista or windows 7 environment, end-users permissions error when trying save *.config file c:\program files\company name\product name folder. around this, end-user typically changes permissions on folder allow end-user account to save updated *.config file c:\program files\company name\product name folder.

error in page load

hi designed website silverlight ant work in local currectly.  when upload web on host take error this load opration failed query 'getuser' [httpwebrequest_webexeption-remoteserver] argomants : not found this or see web site www.internationalsell.com thanks hi   it seams no authentication service running/ found, did published xxx.web project too/correct ? Silverlight  >  Getting Started with Silverlight

TFS Proxy Configuration

  hi,   i trying setup tfs proxy server in office in india. @ in different domain in us. tfs proxy has been installed using domain account in india , service account has been given local account on proxy server. proxy server has client vpn running on it, using able access @ in us.   when team explorer tries latest, error logged in event viewer on proxy server: tf53010: unexpected condition has occurred in team foundation component. information contained here should made available site administrative staff. technical information (for administrative staff): date (utc): 8/9/2007 6:11:34 am machine: prodsk0416 application domain: /lm/w3svc/3/root/versioncontrolproxy-1-128311134902412008 assembly: microsoft.teamfoundation.versioncontrol.server.proxy, version=8.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a; v2.0.50727 process details: process name: w3wp process id: 2684 thread id: 2716 account name: prodsk0416\vermas detailed message: tf30063: not

How to grab the data displayed in a web page

hi, i want grab data displayed in web page . data displayed follows . please note has more 3 rows of data code      name                              fax 1000     azeem abdhillaahi      3322436 1001     moosa hashim             3318551 1002     magpie                           3123464 <h2>cutomers</h2> <table class="thintable" width="100%" border="0" cellpadding="5" cellspacing="0" > <tr> <td width="9%" bgcolor="#e9e9e9" class="tdline"> <strong>code</strong> </td> <td bgcolor="#e9e9e9" class="style1"> name</td> <td width="11%" bgcolor="#e9e9e9" class="tdline"> <strong>fax</strong> <

SQL type 'xml' is not supported in xquery

hi all, i not able insert sql:variable xml nodes.... am getting "sql type 'xml' not supported in xquery".  need insert series of xml node other node of same xml. could 1 advice me how proceed further...?  there alternative way this.. btw, using sql server 2005, if not supported patches run rid off error in existing sql server 2005 itself. anand rajagopal sure anand, here's simplified example. declare @a xml; declare @b xml; set @a = '<foo/>'; set @b = '<bar/>'; -- sql server 2005 version declare @sqlstring nvarchar(2000); set @sqlstring = 'set @a.modify(''insert ' + convert(nvarchar(100), @b) + ' /foo[1]'')'; execute sp_executesql @sqlstring, n'@a xml output, @b xml', @a output, @b; select @a; -- in sql server 2008, can this: -- set @a.modify('insert sql:variable("@b") /foo[1]') -- select @a  cheers, bob beauchemin, sqlskills

Password is not saving in SSIS config Table?

hi all, i have created ssis package , having sqlserver configurations. inside package, hv oracle connection manager , configured servername,username , password. in config table, password coming '****' and not affecting while running server. how can save password in decrypted format in config table. if run package sqlserver(either sqlserver agent or msdb). getting error of authentication failed. in oracle connection manager editor, have checked in save password checkbox. could please let me know how can save password in config table , if can update password in config table should affect in package while try execute it. thanks & regards, anil http://www.mssqltips.com/sqlservertip/1405/sql-server-integration-services-ssis-package-configuration/ best regards,uri dimant sql server mvp, http://sqlblog.com/blogs/uri_dimant/ blog :  ms sql development , optimization blog  :   large scale of database , cleansing

Is skinning available in CS2009 without Sharepoint?

on why upgrade page, says: http://www.microsoft.com/commerceserver/en/us/why-upgrade.aspx >> get site , running reduced time market >>new default site , easy skinning features production fast, allowing focus on selling merchandise. is skinning feature available if install sharepoint? or available without sharepoint? thanks! well.... think refer microsoft commerce server 2009 template pack http://www.microsoft.com/downloads/details.aspx?familyid=2df25ab7-f38d-439e-9391-ef8f025e8064&displaylang=en anyway commerce server 2009 not shipped web application out of sharepoint, quite simple build web application using api , .net web application can skinnable sure.... stelio Commerce Server  >  Commerce Server 2007

Can we have different setting on clustered BizTalk Server for performance ??

hi all, we have done performance tuning our biztalk server settings on 2 biztalk servers different. these settings registry settings , btsntsvc.exe.config changes.can 1 provide pointers msdn about best practices around ?? same settings has propogated on 2 servers or these different depending on utilization.   best regards, vishnu hi callvishnu, clustering 1 of things can improve performance on biztalk server. think clustering underlying databases , biztalk instances itself. for biztalk clustering please check following links: http://social.msdn.microsoft.com/search/en-us?query=clustering&refinement=40&ac=3 http://msdn.microsoft.com/en-us/library/aa577514(bts.10).aspx http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&familyid=eb437722-2828-4cbb-84c3-17556b4df26b http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid=eb437722-2828-4cbb-84c3-17556b4df26b   combined setting right hosts , host instances can tune bi

related to the recieve and send pipelines and host and host instances

hello sir, if am fetching and inserting the data , sql server database of 2 applications using biztalk server components should use in recieve , send pipelines ? and is it necessary in case to use both pipelines means recieve , send or can achieve using send pipeline ? and there need configure host , host instances @ administrator console above scenario ? thanking you sushil sahu sushil sahu yes need use xmlrecive otherwise message type of data received sql adapter not promoted. regarding creation host instances recommended create separate hosts sending, receiving processing , tracking functionality. more details recommend go through these performance improving guidelines don't forget mark post answer or vote helpful if does, regards -rohit sharma (http://rohitbiztalk.blogspot.com) BizTalk Server  > 

Need to understand the relation between ManualResetEvent and thread

please me understand below code what resetevent.set() , waitone() ? ? var resetevent = new manualresetevent ( false ); threadpool . queueuserworkitem ( arg => { dowork (); resetevent . set (); }); resetevent . waitone (); again me understand below code var events = new list < manualresetevent >(); foreach ( var job in jobs ) { var resetevent = new manualresetevent ( false ); threadpool . queueuserworkitem ( arg => { dowork ( job ); resetevent . set (); }); events . add ( resetevent ); } waithandle . waitall ( events . toarray ()); why line waithandle.waitall(events.toarray()); required ? why adding manualresetevent instance list ? looking discussion. thanks waitone() cause current (main) thread wait until thread pool thread has called set() method. if don't call waitone() method, code line below threadpool.queueus