Posts

Showing posts from March, 2012

avicap32.dll WM_CAP_DRIVER_CONNECT problem

Image
dears have problem wm_cap_driver_connect message. works 1st time after system restart (windows 7 x64). meanwhile works fine on machine same mine.  please find below example of code. public void attach(system.windows.forms.control control)         {             devicehandle = avicap32.capcreatecapturewindow("", constants.ws_visible | constants.ws_child, 0, 0, control.width, control.height, control.handle, 0);             if (user32.sendmessage(devicehandle, constants.wm_cap_driver_connect, (intptr)devicenumber, (intptr)0).toint32() > 0)             {                 user32.sendmessage(devicehandle, constants.wm_cap_set_scale, (intptr)(-1), (intptr)0);                 user32.sendmessage(devicehandle, constants.wm_cap_set_previewrate, (intptr)0x42, (intptr)0);                 user32.sendmessage(devicehandle, constants.wm_cap_set_preview, (intptr)(-1), (intptr)0);                 user32.setwindowpos(devicehandle, new intptr(0), 0, 0, control.wid

Changing FileCreation time - be aware of last access and last write times.

while may obvious some, documentation on creationtime method of fileinfo class not note creationtime can not changed value more recent lastaccesstime , lastwritetime - if needed, can changed same value creationtime being changed last. rsbeech hi rbeech, i try add 22 years file, , works. system.io.fileinfo fi = new system.io.fileinfo("e:\\hello world.docx"); fi.creationtime = datetime.now.addyears(22); console.writeline("update time successfully"); console.read(); we can 3 time properties. Visual Studio Languages  ,  .NET Framework  >  Visual C#

WSE2127: Operation timed out

hi, i'm using wse 3.0 , getting ' wse2127: operation timed out ' when try invoke several webservices simultaniously on seperate threads (not using asyc methods generated web reference). this works fine when iis running locallly, when run web application using iis on server error when ever i trying invoke more 2 web services. any be greatly appreciated. thanks.    hi, we receiving same error message.  repeatable. we tried using async methods, multiple threads, each thread contains own wse proxy instance. it works locally point (about 20 threads or so)....but trying more 2 threads not work  when trying access remote server. we receive wse2127 pretty quickly.  (they appeared block on call invokeasync in proxy, not 100% sure)   using synchronous call, got same problem until added  critical section locks around call our sync method in proxy. then worked.   i suspect there thread contention issues coming play mutliple wse3.0 proxy instances. i can&

Reporting Service - URL's returning 404's

i getting issues downloading reports reporting service (both v7 , v8 versions of api). everything working normal in  a report id , subsequently a reportdownloadurl, every url resolving http 404 error code. the url's fine in of format "https://adcenterapidownload.microsoft.com/reportdownload/adcenterapidownload.aspx?" followed long guid. can support team @ why happening morning. i can provide soap samples/report ids if necessary. thanks pete   hello sb_sivakumar, if continuing see error may suggest provide copy of soap request , response error observed.  contact support please visit link: http://community.microsoftadvertising.com/content/support.aspx . soap request support identify root cause error , provide guidance on how mitigate it. thank you! :-) Bing Ads API: Development  > 

C# help

i having trouble doing in c# want me please? mission: write program alphabetize list of last names. user input undetermined number of last names. program display number of names entered , alphabetized lists of names in ascending (a-z) , descending (z-a) order. program store names in arraylist object. use various arraylist properties , methods implement program requirements. sample output: enter last name: roberts keep going? (y/n): y enter last name: delay keep going? (y/n): y enter last name: foreman keep going? (y/n): y enter last name: ganguly keep going? (y/n): n 4 last names entered names in ascending order delay foreman ganguly names in descending order roberts ganguly foreman delay tips best practices: don't try write @ time! first, write outline in comments based on requirements , pseudocode. then, work on instantiating arraylist object, followed implementing loop user input. always, keep things simple ,

how to run LDAP sql query in c#

how run ldap sql query in c# e.g. "insert ou=people,dc=maxcrc,dc=com (objectclass,objectclass,ou,description)  values('top','organizationalunit','people','container user entries');"    how run type of query in c# windows application. hi manish sj i hope helpful this quick article guide through setting , using ldap queries through sql server active directory ldap controller. http://sql.dzone.com/news/querying-active-directory-thro p. Visual Studio Languages  ,  .NET Framework  >  Visual C#

How to consume a rest Api in BizTalk?

i need consume restful service in biztalk , store in database(ms sql) ok.. should fine. yu can use biztalk 2013r2 wcf-webhttp adapter , use various rest operations. http://www.quicklearn.com/blog/2013/08/16/biztalk-server-2013-support-for-restful-services-part-15/ http://social.technet.microsoft.com/wiki/contents/articles/18935.biztalk-server-2013-consuming-a-restful-endpoint-using-wcf-webhttp.aspx pi_xel_xar blog: my blog biztalkapplicationdeploymenttool: biztalk application deployment tool linkedin: linkedin BizTalk Server  >  BizTalk Server General

Hideselection = true????

hello in listview properties, have set property "hideselection " = false, still when listview loses focus listview item not remain selected why? i put listview1.hideselection = false...bit not achieve required goal please asap regds manoj gokhale what try has indirectly hideselection. you want change selection color: http://stackoverflow.com/questions/5179664/how-to-change-listview-selected-row-backcolor-even-when-focus-on-another-control leave settings of pc alone. no program supposed write around there. overwrite them. let's talk mvvm: http://social.msdn.microsoft.com/forums/en-us/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2 Visual Studio Languages  ,  .NET Framework  > 

Split an input flat file in to multiple destination flat files based on the number of columns in the input file(split the file vertically) using biztalk service

hi, i have text file data this a|b|c|d|e|f aa|bb|cc|dd|ee|ff ab|cd|ef|gh|ij|cd i want split file vertically in 3  files 2 columns. that means output files should this file1(first 2 columns) a|b aa|bb ab|cd file2(next 2 columns) c|d cc|dd ef|gh file3(last 2 columns) e|f ee|ff ij|cd is there way split source file vertically in multiple destination files in biztalk service? hi, thanks posting here. we researching on , revert @ earliest. girish prajwal Microsoft Azure  >  Azure BizTalk Services

Resources in Alphabetical

hi all, have blend 3 wpf project i'm working on. when add , image , go set source, noticed image resources in the  commonproperties>source dropdown in random chaotic order, whereas in blend 2, alphabetical. if had 5 - 10 image resources, wouldnt bad, have around 100 , difficult navigate. there way set these display in alphabetical order?  thanks in advance! thanks reporting issue - try fixed next release. thanks again! unni p.s: not sure if there way enforce alphabetical ordering this posting provided "as is" no warranties, , confers no rights. Expression  >  Expression Blend + SketchFlow

How to add ?{StandardTokens} to .aspx page?

Image
in appmanifest.xml line of code added appends tokens start page url: <startpage>~appweburl/pages/default.aspx?{standardtokens}</startpage> want add "?{standardtokens}" .aspx pages in add-in solution. how can done? hi jeffrey, yes, {standardtoken} needs added in appmanifest.xml, there no direct way configure pages in add-in solution, can redirect page url standardtoken using javascript code when page loading. thanks best regards technet community support please remember mark replies answers if help, , unmark answers if provide no help. if have feedback technet support, contact tnmff@microsoft.com . SharePoint  ,  Apps for Office and SharePoint  > 

Visual Studio 2008 Critical Error!

hi lately, when run app in debug mode (for example, console application), when close command prompt, got application error message. for more details, see picture . how solve problem ? thanks this signature ok isn't code problem.  corrupt installation.  can try repairing vs installation.  might consider upgrading sp1 newer fixes , performance updates.  if you're running under vista try running admin ensure isn't security problem (although can't imagine why be).  michael taylor - 7/14/09 http://p3net.mvps.org Archived Forums V  >  Visual C# IDE

BTDF - option not available on Visual Studio

installed btdf framework. cant see option either in start menu nor available in vs.  need additional config after installation ? biztalk edition 2013 r2 god bless :) hi, biztalk 2013 r2 supported btdf , that you need install btdf v 6.0, please find link; http://biztalkdeployment.codeplex.com/downloads/get/907024 i using biztalk 2013 r2 regards, sharad BizTalk Server  >  BizTalk Server General

How to run the garyscale in powerpoint on button click

Image
hi, i want run grayscale on button click , change font color white in single go. regards, lateef sofi lateef sofi >>>i want run grayscale on button click , change font color white in single go. according description, want below ? if want in vsto add-ins,  refer below code: set mydocument = activepresentation.slides(1) each shp in mydocument.shapes shp.blackwhitemode = msoblackwhiteblack next in meanwhile if want in office add-ins, think couldn't it. for more information, click here refer shape.blackwhitemode property (powerpoint) Microsoft Office for Developers  ,  Apps for Office and SharePoint  >  Developing Apps for Offi

Using Ad Mediator- only one ad shows and then it doesn't show another

has else had problem? it's set refresh every 30 seconds open app , shows legitimate ad , goes away completely. if open app again, never see ad. i see 1 ad 30 seconds , never show 1 until uninstall , reinstall app.  the test ads appear fine when in dev, it's real ads.  appreciated. hey keith, have looked @ our blog? solves vast majority of issues we’ve found ad mediation: http://blogs.windows.com/buildingapps/2015/06/11/increase-ad-revenue-with-ad-mediation/ in blog, talk adding event trapping, helps debug problems ads not showing (adding event trapping explained in doc: https://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn864355.aspx ) if else fails please open support ticket through dev center: go dev.windows.com->community->support->assisted support , choose topic “advertising sdk”. thanks, ad mediator feature crew Windows and Windows phone apps

Uri.EscapeDataString does not escape the * symbol ?

i trying escape special characters in incoming data string using apache lucene search on web server. there title called "immunology seminar series *" --- using uri.escapedatastring convert utf-8 format. however, when @ string after conversion, see "*" has not been converted %2a ? thanks, btw, according specification, escapedatastring() right thing of not converting "*". in forementioned rfc2396 , "*" defined "unreserved" -> "mark" in section 2.3 not translated. in rfc3986 , "*" defined "reserved" -> "sub-delims" in section 2.2 not translated. if need have translated, can append .replace() output translate yourself. don't know why seems version of runtime translate it, maybe it's 1 of bugs got fixed between updates current behaviour correct. Visual Studio Languages

How to dynamically call a WCF from orchestration

hi, require call wcf dynamically orchestration based on message received. can me it. if have case dynamically need set wcf url, choose port type dynamic , specify url , transport type dynamically using port_name(microsoft.xlangs.basetypes.address) , port_name(microsoft.xlangs.basetypes.transporttype) properties. also please have @ related post here hth, rajesh sr consultant BizTalk Server  >  BizTalk Server General

number of proccesses in SQL to profile database

hi   we have cs2002 server several sites(10 sites) which using same global  profile resource (one profile database sites). we see in sql profile database has many proccesses which are sleeping (hundreds of processes).     does each site open own pool of connections database or profile global resource open connection pool ?   is amount of sleeping connection not influence preofrmance of sql ?   thanks arik the profile service uses cs oledb provider, creates own connection pool.  there typically pool of connections plus 1 connection each instance of profile service.   while connection shouldn't impact performance, use sql resources , can run out of connections.   if want experiment fewer connections, there environment variable called "maximumdbconnections" defaulted 30 in cs 2002.  in cs 2007, default number reduced 10. Archived Forums C-D

BizTalk Performance server roles

hi, what better configuration in terms of performance if there 3 physical servers (all same specs) available: configuration a: 2 biztalk servers joined in group , 1 sql server. or configuration b: 1 biztalk server , 2 sql server not clustered (e.g. 1 serving host messagebox database , 1 serving host tracking, etc). this might little hard answer because depends on lot more things mentioned above try anyway. answers? thanks ah yes, note makes perfect sense - going 1 3 related message boxes on same group, split out biztalk databases between 2 different sql servers. thiago almeida - http://connectedthoughts.wordpress.com BizTalk Server  >  BizTalk Server General

How to access user Info in DomainService

hi all i need access user info in domain services before releasing data domain service security constraint <requiresauthentication()> _ <enableclientaccess()> _ public class callshopdomainservice inherits linqtoentitiesdomainservice(of callshopliteentities) 'todo: ' consider constraining results of query method. if need additional input can ' add parameters method or create additional query methods different names. 'to support paging need add ordering 'accounts' query. public function getaccounts() iqueryable(of account) return me.objectcontext.accounts.where ("username=" & whatishere.user.name ) end function please me getting whatishere object name, since must not pass username client, may hack silverlight application or communication , send username user thanks a simple options read from your authenticationservice.   dim myuser = new authenticationserv

Reporting Services Integrated Mode

Image
hi,      verified logs reporting services integrated sharepoint , found many errors this:      cannot find site lookup info request uri http://servername:32843/2b3b15ab080d4427af393ac3d618333d/reportexecution.svc.     know wrong configuration?     best regards hi camel023, according description, seems have configured sharepoint mode report server. after configuration, can verify sharepoint mode installation refer article: verify sharepoint mode installation . regarding error message “cannot find site lookup info request uri http://servername:32843/2b3b15ab080d4427af393ac3d618333d/reportexecution.svc.”, it’s general. usually, error followed more detail information, more useful error message. there similar issue reference: latest ccritical update seems have broken reporting services in sharepoint if have question, please feel free ask. best regards, qiuyun yu qiuyun yu technet community support

job syspolicy_purge_history job fail in sqlserver 2008

Image
hello guys, when installed sqlserver,it automatically created 1 job name job syspolicy_purge_history. but failed @ step 1. the reason is: date                11/6/2010 2:00:00 am log                job history (syspolicy_purge_history) step id                1 server                mxosv-otsdb01 job name                syspolicy_purge_history step name                verify automation enabled. duration                00:00:00 sql severity                16 sql message id                34022 operator emailed                operator net sent                operator paged                retries attempted                0 message executed user: nt authority\system. policy automation turned off. [sqlstate 42000] (error 34022).  the step failed. have run statement: select msdb.dbo.fn_syspolicy_is_automation_enabled the returned valus 0. what can resolve it? or can delete job manually.   thanks in advance. if haven't things want,be

Query Times + SQL CE

  good afternoon,   i developed application mobile device, windows ce 5.00 , sql server compact edition 3.5.5386.0. i have program running , have query of products returns, more or less, 100 descriptions + prices + stock quantities. use program daily, operations, , @ end of day export information to the pc, and after operation the program deletes data of database, on mobile device, , imports new data of pc. what's bothering me time, query takes, return products information keeps getting bigger. happens is on first day, after full reset, takes 3 seconds return info, , showing it. 1 or 2 days after query takes 12 seconds, or more. the operation of creating new database , importing takes 15 minutes internet, , during day use gprs having delete/create/import the database everyday not viable option. since thought fact of size of database rising, i'm doing drops , creates of tables instead of deletes make sure there no indexes , garbage filling tables. during the expo

How To Make Query for Contains() or %LIKE

from @pcfjojo via twitter android azure sdk, how make query "contains()" or "%like"? can pull database. problem that, not able data exact field. on application have search box search type of products. when search box(edittext) text change, text of edit text , make pull request form mobile service.    thanks, @azuresupport void getannouncementbyquery(final string column, final int queryparam){ new asynctask<myclass, myclass, myclass>() { @override protected void onpreexecute() { super.onpreexecute(); mylist.clear(); } @override protected myclass doinbackground(myclass... params) { try { mobileservicetable<myclass> mtodotable = myapplication.mclient.gettable(myclass.class); final mobileservicelist<myclass> result = mtodotable.where().field(c

Use the value of a variable for DB connection

hello everyone! how value of variable oledb connection? use value of variable 'where num = variable'. this. guys . hi, try http://msdn.microsoft.com/en-us/library/system.data.oledb.oledbcommand.parameters.aspx best way pass parameters sql command (my understanding have variable in code , want use value in sql command). for discussion benefits of approach see http://www.codinghorror.com/blog/2005/04/give-me-parameterized-sql-or-give-me-death.html with approach give data using native datatype (date, string, decimal numbers or whatever) , passing them server side under suitable form done you. else you'll have format each , every value correctly depending on type (for example ' needs doubled strings etc...) yourself... please mark whatever response solved issue thread marked "answered". Visual Studio Languages  , 

WSE question

hi,       using test certificate wse 3.0. since test certificate signed root agency warning dialog when try access web service ie. web service hosted under iis , using ssl( using test certificate). through code can pass warning using class servicepointmanager. if have use client certificate how can tell server ignore warning. (client certificate client authentication can set in iis client has submit certificate can add in proxy clientcertificates collection) thanks i not sure understand question. asking "how can prevent root certificate warning ie?" really should not using certs generated root authority. best generate own root authority certificate using example makecert.exe or window server 2003 and generate client cert that. then install root authority cert trusted root store , use client cert in application. thanks. mark Archived Forums A-B  

Form controls on a client machine appear differently??

i have multiple instances on client machine labels seem bigger on machine on mine. when test c# web app, looks fine , in place. when gets it, labels appearing bigger...longer...and overlaying drop down boxes. i have checked resolution via... control panel\appearance , personalization seems consistent in both client machines. can shed light ointo , tell me else might able check? thanks support , read , hopeful reply. psulionrp with web app (and webpage really) display can varry depending on browser used (ie , firefox display same html differently, not written html). or on version of browser, whenter uses css (and wich version) or not. and of course there setting zoom , font size/used font in browser itself. let's talk mvvm: http://social.msdn.microsoft.com/forums/en-us/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2 Visual Studio Languages

Finding References to Ojbect IDs created with "Make Object ID"

once object id assigned, there straight forward way of locating all active references? for example, label object object id while in debugger and continue. later, i hit a different breakpoint instance of unrelated object. there a way while @ later breakpoint find occurrences of object labeled earlier? i'm trying hunt down an objectdisposedexception in code didn't write , such feature useful. conceptually, information needed can provided garbage collector; return list of objects reference labeled object , ide allow inspect them interactively. implemented or more complicated that? thanks! object ids debugger thing.  gc doesn't know it.  object ids added allow track objects in debugger.  in native code use address since .net objects don't have fixed addresses isn't possible.  hence need object ids.  therefore there no way identify references particular object instance afaik.  trying find references memory address @ runtime.  as tracking down problem in tough situatio

Illustrator File Won't Import When Using a Pattern Fill

i have illustrator file path filled pattern. when try import blend 4, error: "the document dimensions of adobe illustrator file big imported. try reducing document dimensions below 12000x12000 in illustrator before importing file again." if remove pattern fill, works fine. if fill solid color, works fine. does know why happening? i appreciate help! the short version pattern fills, gradient meshes, , several other things aren't supported yet. leon terry tfk labs | twitter Expression  >  Expression Blend + SketchFlow

Error connecting to Azure Blob using Shared Access signature

msg 105019, level 16, state 1, line 100 external table access failed due internal error: 'java exception raised on call hdfsbridge_connect. java exception message: parameters provided connect azure storage account not valid.: error [parameters provided connect azure storage account not valid.] occurred while accessing external file.' create database scoped credential azurestoragecredential identity = 'shared access signature', secret = 'abcdexxxxxxxxxxxxxxxxxxxxxxxxx'; create external data source myazurestorage1 ( type = hadoop, location = 'wasb://container@mydwblob.blob.core.windows.net/', credential = azurestoragecredential ); create external table dbo.myexternaltable( vendorid varchar(50) null, ) ( location='/2016/', data_source = myazurestorage1, file_format = myfileformat,reject_type = value,reject_value = 1000 myfileformat,reject_type =

Images are not loaded in visual-studio 2015

run web site visual-studio 2015 , image address is  http://template/desktop/.../test.png  and images not displaied. address should be  http://localhost:2323/template/desktop/.../test.png why localhost:2323 not put in address when run web site in vs2015. don't have problem with  visual-studio 2012 please me hi,  can post here code? Visual Studio Languages  ,  .NET Framework  >  Visual C#

how to add more properties to PurchaseOrderManager.GetReturnableProperties ??

hi all: it seems default, purchaseordermanager.getreturnableproperties return columns purchaseorders table xxx_transaction database. possible add other properties other datatable (e.g. orderforms) properties returned the getreturnableproperties function? thanks, jachael. yes. if can't need api, other option is write custom store procedure , call code. since assume read query, , ensure no row or tables locks in query, should fine. obviously, custom code, may not have support this.   hope helps   j-p   Commerce Server  >  Commerce Server 2007

IIS web service wont respond

  i wrote web service method bellow , published web service, now question when remotely connected iis running web server , open web service , open web method , click on "invoke" button.,..it wont show me results on browser itself....it stays.....on invoke screen ..is there reson for this ?   if write program calls perticular web service method can result back..... client side i stuk...i want find out the reason.. there settings i need change on iis  ?   <webmethod()> _   public function ping() as boolean   return true   end function thanks ergards sukavi why care happens on test page? it's client that's important, , if works, you've done job. if insist on knowing what's going on here, take @ network traffic using tool fiddler or microsoft network monitor, or possibly create tests using soapui. john saunders wcf is web services. not 2 separate things. use wcf new web service development, instead of legacy as

Biztalk Orchestration for sending two different emails

hello, i have requirement file system @ 2 different time example 7.00 , 10.00 in receive port. processing of file same @ end of process files sent send port. have send email 2 different groups say, example file @ 7.00 processed , sent abc@mail.com . file @ 9.00 processed , sent xyz@mail.com. how can done using orchestration. how can approached. in advance. sorry, having specific problem?  simple implementation. provided can differentiate between 0700 , 0900 file, 2 options be: dynamic send port set appropriate email address on message. two send ports , decide shape. BizTalk Server  >  BizTalk Server General

Design question about generation of hierarchial xml

input data in form of spreadsheet. has colums h1, h2, h3 h4, h5, startdate,  enddate, height, width, phases , rating want generate hirerichial xml h1  h2   h3    h4      h5 that means h4 parent of h5, h3 parent of h4 , on...... format of xml be <setequipment   h1id=<variable h1 excel>   type='h1'>   <address height=<variable height>  width =<variable width>  /> <setequipment  h2id=<variable h2 excel>  type ='h2'>     <setparentequipment  parentequipmentid=<variable h1 excel> type='h1'>        <parentlinkrange start=<variable startdate excel> end=<variable enddate excel> />     </setparentequipment>      <address height=<variable height excel> width=<variable width excel> /> </setequipment> <setequipment  h3id=<variable h3 excel>  type ='h2'>     <setparentequipment  parentequipmentid=<variab

Disappearing files- "the process cannot access the file because it is being used by another process"

i'm having strange problem in visual studio 2010 beta 2 , blend .net 4 preview "disappearing" files.  i'll editing project in blend visual studio open, , not allowed save mainpage.xaml in blend.  i message saying "the process cannot access file because being used process".  blend renames file .temporary extension, , if try rename original name error message access denied, though file name not present in explorer.  i have full control folder.  also, error within blend , visual studio file cannot found.  this happens periodically, , there seems no action correlated it.  i have received error debug information file when attempting build project. so far solution has been re-create project copy-pasting code, error comes back. hi,       known issue vs2010 , looks reason vs locks file leads these errors. on top of , trying fix in future release. thanks reporting issue. if require more details on feel free contact me @ navits @ microsoft dot com. thanks, navit

windows hangup whne manual eject USB in the timing of createdirectory method run

c# code output files usb.  system.io.directory.createdirectory(strdirpath);  system.io.file.copy(...) windows hangup  whne manual eject usb in timing of createdirectory method run. is have knowhow or countplan. thanks. you cannot prevent user doing that. ejecting usb without going through safely remove option in windows (which block in case) has been known potentially corrupt usb drive. the best can wrap code in exception handler (as should anyway) , report error. app may freeze while disconnect operation occurring should recover after (via exception). michael taylor http://www.michaeltaylorp3.net Visual Studio Languages  ,  .NET Framework  >  Visual C#

Why i'm getting exception: Closed stream access exception while saving Bitmap ? Where does it come from ? What Bitmap ? Why i can't catch the exception ?

Image
i have code in bottom label11 assign text: private void getissuesnumber() { using (webclient client = new webclient()) { client.downloadfile("https://test/issues/26", @"c:\test\issues.html"); client.downloadfile("https://test/issues", @"c:\test\main.html"); } using (streamreader reader = new streamreader(@"c:\test\issues.html")) { try { string line = string.empty; while ((line = reader.readline()) != null) { if (line.contains("comments")) { if (line.any(char.isdigit)) { this.line = line; numberofcomments = int32.parse(this.line.substring(17, 2));

Manually Creating WSDL - Problem with Attributes

i'm creating wsdl in php consumed .net app.  issue i'm having attributes on elements.  here's have in wsdl: < schema xmlns = " http://www.w3.org/2001/xmlschema " targetnamespace = " http://ws.myapp.com " xmlns:wsdl = " http://schemas.xmlsoap.org/wsdl/ " xmlns:soapenc = " http://schemas.xmlsoap.org/soap/encoding/ " > < xsd : complextype name = " synchronizationtransaction " > < xsd : sequence > < xsd : element name = " synchronizationtransactionheader " type = " tns:synchronizationtransactionheadertype " /> </ xsd : sequence > </ xsd : complextype > < xsd : complextype name = " synchronizationtransactionheadertype " > < xsd : sequence > < xsd : element name = " test " type = " xsd:string " /> </ xsd : sequence > < xsd : attribute name = "

How to have a richTextBox content contains Strings & Image as Email Body Message?

hi, iam using vs2010. iam preparing small email application cdo. in application have richtextbox contains strings & images..... problem is, while wish add richtextbox content email body has sending richtextbox strings only...and has not sending richtextbox image... need change ....? helps....!!! my codings :- mailmessage mail = new mailmessage(); smtpclient smtpserver = new smtpclient("smtp.gmail.com"); mail.from = new mailaddress("myemail@mydomain.com"); mail.to.add("mytoaddress@todomain.com"); mail.subject = textbox1.text; mail.isbodyhtml = true; mail.body = richtextbox1.text ; ??????????? may here smtpserver.port = 587; smtpserver.credentials=new system.net.networkcredential("fmaddrs@fmdomain.com", "mypsword"); smtpserver.enablessl = true; smtpserver.send(mail); thanks u.paranthaman hi paramu, according code, richtextbox1.text, “text” property can puts string. that’s impossi

What security do I need for viewing exceptions in an orchestration.

when use group hub page , @ completed instances, if right click on instance , choose "message flow" error says:  "a network-related or instance-specific error occurred while establishing connection sql server. server not found or not accessible. verify instance name correct , sql server configured allow remote connections. (provider: named pipes provider, error: 40 - not open connection sql server)" when click ok see message flow dialog.  if click on "show tracked orchestration exceptions (1)"  get:  "permission denied. current user not have privilege complete operation." what permissions need able view these message flows , exceptions?  need tell security group can proper access granted.   hi chris, following steps can done to troubleshoot problem facing: check biztalkmgmtdb database make sure have appropriate permissions (see windows groups , user accounts in biztalk server ); check eventviewer logs more details access den

How can I store Details User Details at a global level?

hi, not sure how this.i need implement sort of applicationcontext if like. i want information user , profile accessed , available @ global level.   when user first logon retrieve permission of can , cannot do.what want that info available in layers. eg dal - bll- ui , these different physical assemblies. i dont want pass class eg "usercontext" if there better way of storing information globally can accessed layers without passing stuff around? an example or link in both c# or vb fantastic?   thanks lot in advance moving more appropriate forum better answers! Architecture  >  Architecture General

how to call web service from ms office 2007 macro

i want call web service powerpoint 2007. developer calling xml web services office vba using web service references tool that's office xp, not sure if still works on 2007. following signature, not part of post please mark post answered question answer, , mark other helpful posts helpful, appear differently other users visiting thread same problem. visual c++ mvp Architecture  >  Architecture General

ASPNETDB.MDF' cannot be opened because it is version 655. This server supports version 612 and earlier.

the database 'c:\documents , settings\ipcl.nyp-ipcl-i402\desktop\facilitybooking\app_data\aspnetdb.mdf' cannot opened because version 655. server supports version 612 , earlier. downgrade path not supported. i encountered error when run project on vs 2008. had installed sql2008, vs sp1 , hotfix and set instance name in vs2008 of sql 2008. still encountered problem.   what can make work? version 655 indicates sql server 2008 version 612 indicates sql sever 2005 as far remember vs 2008 not support adding sql server 2008 databases through app_data folder (microsoft promissed resolve problem in 1 of hotfixes or service packs, not know if acctually did [i not using app_data folder add db files]) the solution remove files app data, , define connection string in web.config, use that  connection string connect db. with kind regards krystian zieja http://www.projectnenvision.com follow me on twitter my blog

How To Set the CanAdd Attribute of a RIA Service Context?

althought can determined state of attribute is from context.canadd method, do i set it? is it set when added domain service? without rebuilding service can set in code? what telling me other can't add items table? can see useful validation datasets.  marc  the canadd attribute appears set "compiler?" presence of insert | add | create prefixed method or addition of the [insert] adornment to a method for domain service class. appears canupdate , canremove set. see ria services overview on page 56 further details. marc ps. in case issue misspelled class name using separate files partial classes isolate changes , overrides wizard generated code, therefore insert method intent missing. Silverlight  >  WCF RIA Services with Silverlight

SSIS package?

hi all, i have created package per req. each of table i'm using having huge number of records. now correct way:- 1). deploying created package personal pc or 2). deploying created package development box thanks regards, kumar hi, agree you. right , option deploy package on development server. testing purpose can deploy on laptop , test package different machine. carry on..   :) , deploy package on development box itself. thanks- let try | don’t forget mark post(s) answered question SQL Server  >  SQL Server Integration Services

Data Sync involving tables with auto-incrementing columns

hi all, trying sync 2 tables between azure , on-premise db. has identity column 'id' primary key. 1. after first run of sync, tables in both environments have max(id) 5. 2. deleted last row in on-premise , re-inserted achieve different id's same row. in on premise max(id) becomes 6. @ point, data in both environments same except different ids row. 3. new row inserted in azure db id = 6. 4. on running sync, on-premise row id=6 gets overwritten newly inserted row in azure. leads data loss in on-premise. there way manage sync when inserts/updates/deletes going done @ both environments? when tables have identity columns? i thinking not syncing identity column alone might work, since primary key, doesn't allow me leave out column. please help! thanks  deepthi using identity columns pks on synchronization scenarios known issue regardless of whether use sql data sync service, sync fx or others (you'll find docs discouraging using identi

Extensibility kit.and template pack

hi all, any 1 knows.. i working on comerce server 2009 r2 , sharepoint 2010..(i want use extensibility kit) can have sharepoint 2010 template pack commerce server 2009 r2. if yes is.. thanks pinal http://www.blfoley.com/2011/09/how-to-get-the-commerce-server-extensibility-kit-deployment-friendly/ hope helps. regards glen (software) smith mcm cs2009 r2 training, europe , north america: http://www.software-smith.com/ cs2007 book: http://www.software-smith.com/csbook Commerce Server  >  Commerce Server 2009

Problem while retrieving image bytes from database

i trying store , retrieving images in database .no problem  saving data .but when image .i getting exception says  invalid attempt read when no data present    byte[] byts = (byte[])dr["images"]; ---at line but data exisit in db .  have 2 columns named id , images(varbinary(max)) this code using (sqlconnection cnn = new sqlconnection(@"server=.\sqlexpress;database=project;user id=sa;password=1")) { string cmd = "select images images id=1"; using (sqlcommand kmt = new sqlcommand(cmd, cnn)) { cnn.open(); sqldatareader dr=kmt.executereader(); byte[] byts = (byte[])dr["images"]; memorystream ms = new memorystream(byts); image img = image.fromstream(ms); picturebox1.image = img; } } hi, you have initi

How to validating the existence of a remote directory

hi guys,  want validate if remote shared path exist. i know can use : net use \\servername\path validate this. is there other c# codes can this? (i don't want use webservice in case)   thanks, eric you can use following code check file exist of not, in case of file not exist return 404 error, file not exist.   webrequest request; webresponse response; string strmsg = string .empty; request = webrequest.create( new uri(networkpath)); request.method = "head" ; try { response = request.getresponse(); strmsg = string .format( "{0} {1}" , response.contentlength, response.contenttype); } catch (exception ex) { //in case of file not exist server return (404) error }   Visual Studio Languages

Webjobs Error: No runnable script file was found

hi! this morning uploading webjobs api app through ui, in portal.azure.com in webjobs tab. working fine getting error: no runnable script file found the code same morning , have tried upload zip file 1 file, index.js code  console.log("works"); , giving me same error. don't have in logs. know how can find problem? thank you! using kudu console , can go under d:\home\site\wwwroot\app_data\jobs , check if files indeed should be? thanks, david Microsoft Azure  >  Azure App Service - API Apps

How to get result from vbscript to C#.net

hi all, how return result vbscript c#.net? know how execute vbscript through c# need return result it.  i found link useful http://www.codeproject.com/articles/15741/scripting-net-applications-with-vbscript but if script this strcomputer  =  "."   strval  = "" set  objwmiservice  =  getobject ( "winmgmts:\\"  & strcomputer  &  "\root\cimv2" )  set  colitems  = objwmiservice.execquery ( _      "select * from win32_computersystem" ,, 48 )  for   each  objitem   in  colitems       strval  =  objitem.manufacturer   & objitem.model  & objitem.name         next its sample one, can same result using c#.net too, need know how return result vbscript c#.net... please let me know if have idea/suggestion thanks divakar am able retrieve values vbscript c#.net... use below link http://www.codeproject.com/articles/15741/scripting-net-applications-with-vbscript