Posts

Showing posts from February, 2012

site server 3.0 (adserver) to commerce server 2009

hi, i have installed site server 3.0 on windows 2000 adserver feature , know windows 2000 no longer supported install ad server on windows 2008 setup program fails (the version of file not compatible version of windows you're running ..  ) thought may install commerce 2009 on windows 2008 no chance because didn't find ad server feature.. does commerce 2009 have ad server feature? or how can site server 3 install on windows 2008? regards,       commerce server 2009 has similar feature within marketing system, not ad server. http://msdn.microsoft.com/en-us/library/dd452105(v=cs.90).aspx brad foley | www.blfoley.com Commerce Server  >  Commerce Server 2009

Can you view SharePoint data on a Public website?

microsoft has taken axe sharepoint online public facing site. public sites created via wix. question pretty simple. possible display data sharepoint online team site list or library, on public site anonymous visitor site can view it. i'm not talking wix, public site on platform, hostgator, go-daddy etc. i've done research around options such oauth, provider-hosted apps, c#, javascript etc. however, i'm coming empty , if not possible stop wasting time trying figure out. there licensing issues need check aside use webservices expose list data sharepoint site. need make sure domain account of app pool use host app has access sharepoint list. discussed in detail here before: https://social.msdn.microsoft.com/forums/sharepoint/en-us/e7206595-7219-49e7-b623-5b286e64e910/public-website-reading-sharepoint-data?forum=sharepointgenerallegacy thanks, ransher singh, mcp, mcts | click vote helpful if think post helpful in responding question click mark answer, if think

I made a change to CDN cache settings. The estimated completion time has passed but still shows the message.

from rick lynch @richardlynch85 via twitter https://twitter.com/richardlynch85/status/677858354128158722 @azuresupport idea when web app w. europe , running? quite few of sites affected , need update! i accessed "manage cdn" in azure - change setting in "cache settings" "compression disabled" "compression enabled". @ bottom of page, message "last updated: 1/4/2016 11:47am , expected complete time (1 hour) 1/4/2016 12:47pm" i expect message have disappeared (indicating settings have been applied). help. p.s. there no errors displayed , have been waiting since 11:46am change take place (1hr 45mins) thanks, @azuresupport thiene schmidt your feedback helpful regarding portal. currently show the last updated date , time the estimated hour. i agree that showing the exact complete date , time more helpful. we'll put feature in our backlog. in general, please allow 90mins cdn feature propagated , ready use,

Data at Root Level is Invalid - External assembly message transformation

hello, in hl7 solution, in orchestration, call external assembly add node message. so pass message body (form hl7 multipart message), input parameter. msgmultipart_oru_r01_23_out.bodysegments = helper.biztalkmessagemanipulation.biztalkmessagemanipulation.createbodytransformzbx(msg_body_oru_out, msgmultipart_in.zsegments); msgmultipart_oru_r01_23_out.bodysegments and msg_body_oru_out have same schema. my method takes xmldocument input , return modified xmldocument. not creating new document, creating nodes , adding them @ end of input document. , @ end return input xmldocument new nodes added. i tried adding xmldeclaration, have had same error. here beginning of message receive parameter (and send back) : <?xml version="1.0"?><ns0:oru_r01_23_glo_def xmlns:ns0="http://microsoft.com/healthcare/hl7/2x"><pid_patientidentification>...</pid_patientidentification> ... <obx_observationsegment>...</obx_observationsegment><

API Call Amount

hi, i looking @ dashboard morning , noticed on standard service tier, says have 50,000 api calls. i thought more pricing here  shows should 1.5m api calls on standard tier. i wondering value correct. 50,000 or 1.5m api calls? thanks much regards, mauro hi mauro, the 1.5m mentioned in pricing page per month, if divide 30 50k per day. the 50k api calls per day limit important, not have 1.5m each month. api calls metered per day , reset utc midnight, if exceed 50k because of peak 1 day disabled end of day , reenabled after midnight , have 50k next day. rafal Microsoft Azure  >  Azure Mobile Apps

Mapping problem accessing application config data

looking ways of accessing external strings biztalk maps without hard-coding them in map.  have found 2 work (using evar, , putting application setting in machine.config file), , researching third (using sso config database). but fourth method, using biztalk application config file, doesn't seem work, , don't understand why.   the application config solution should same the code uses machine.config, because understand process, when biztalk searches application configuration data, first search machine.config file in .net config folder, , search btsntsvc.exe.config file in application runtime installation directory.   i set map using simple custom functoid following code:   public string getconnectstring() {     string connectstring = system.configuration.configurationsettings.appsettings.get("mapbookconnectstring");      return connectstring; }   and have added following section machine.config file in c:\windows\microsoft.net\framework\v1.1.4322\config

Having trouble turning a returning the MD5 hash of a string

i have looked around online, haven't found helps. trying return md5 has of input string is. tried was, make byte array , store string info it, tried return has code it, doesn't work. exact error is: system.indexoutofrangeexception: index outside bounds of array. @ webservice1.service1.checkuser(string username, string userpass) in c:\users\garrett\documents\visual studio 2008\projects\webservice1\webservice1\service1.asmx.vb:line 20 here code: imports system.web.services imports system.web.services.protocols imports system.componentmodel ' allow web service called script, using asp.net ajax, uncomment following line. ' <system.web.script.services.scriptservice()> _ <system.web.services.webservice(namespace:="http://tempuri.org/")> _ <system.web.services.webservicebinding(conformsto:=wsiprofiles.basicprofile1_1)> _ <toolboxitem(false)> _ public class service1 inherits system.web.services.webservice <

Property with interface and generics

Image
okay, i'm going try explain best possible. first show code. note: i'm manually typing in code!  also ignore names of interfaces, i'm aware (i think) there interfaces named these.  in code named different there lot of code. public interface ibuttondesigner { color basecolor { get; set; } color bordercolor { get; set; } } public interface ibuttonbase { ibuttondesigner normal { get; set; } ibuttondesigner clicked { get; set; } } public class closebuttonnormal : ibuttondesigner { public color basecolor { get; set; } public color bordercolor { get; set; } } public class closebuttonclicked : ibuttondesigner { public color basecolor { get; set; } public color bordercolor { get; set; } } public class closebutton : ibuttonbase { public closebutton() { this.normal = new closebuttonnormal(); this.clicked = new closebuttonclicked(); } public ibuttondesigner normal { get; set

Map Control for WP7 performance issue

when using bing map wp7 control on windows phone, app produces "so-so" performance when navigating accross map fast possible.  same zooming in , out 2 finger movements.  built app according tutorial in wp7 training kit. however, when using bing "maps" app comes phone, same process appears @ least 3 times fast app built.  guys @ microsoft must have inside knowledge how soup performance. why performance different?  can make app perform theirs? (i'm using local wifi in both cases) thanks, dean .net developer the built-in mapping application on windows phone implemented in native code not availale 3rd party apps using sdk. silverlight map control can used applications not have same level of performance. Bing Maps  >  Bing Maps WPF, WP7/8/8.1, Silverlight

using a C# .Net dll from VBA Excel

hi have created class methods , properties , packed in .net dll. have signed assembly, registered using gacutil, , built dll "make com-visible" option. however, dll not appear in "available references" list in excel code view, , if try reference using "browse" button, error there error importing dll. have make dll visible in available references list in vba ide in excel? did try ask on vsto (visual studio office) forums? might have more info needs of office. this doesn't seem issue .net dll registration, rather office availability requirements. -karel .NET Framework  >  Common Language Runtime Internals and Architecture

Webservice request process problem at IIS running on Windows Server 2003

hi, i have webservice (.net 1.1) deployed on windows server 2003. same machine has database sql server 2000. the webservice methods interact database. this server machine in lan (without having internet connection) , 30 clients (having windows xp home) connected server in lan server (note: not client/server setup, no domain set up, p2p connectivity) now each client connects webservice each min. each min. 30 requests processed on server. this way client , server machine interacts 18-20 hrs day now problem is: - after time, starts taking long time complete process. webmethod interacts database , 1 update operation should not take time. - hangs around more 2 min , 5 min. if 1 request 1 machine takes such time possible more 1 request performed 1 after after 2-3 or 5 min. - not suitable application need. - had put default request time out (90 sec) , if service cant response in time, disconnecting client. have increased 5 min , working fine still times takes more 5 min , @ time had disconnec

how to make dynamically added buttons clickable in C#

i creating c# application fetches data database, , dynamically creates 5 textboxes , 1 button in single row. number of rows present in database equals number of rows of textboxes , buttons created. create rows of textboxes , buttons, textboxes capable of displaying data being fetched database. trouble button generated, nothing when clicked, not unexpected since haven't created handler handle click event. confused on how dynamically create click handler buttons again generated dynamically. below code sample generated textboxes , buttons.     for (int = 3; <= count; i++) { com.parameters[0].value = i; using (sqlcedatareader rd = com.executereader()) if (rd.read()) { pname = (rd["pname"].tostring()); cname = (rd["cname"]

Adding XmlElement to XmlElement[ ] array dynamically.

want add xmlelement xmlelement[ ] dynamically. trying below.but in case of multiple elements not sure how add.. need create multiple xmlelement based on criteria , add array please me out var xmldoc = new xmldocument(); var xelement = xmldoc.createelement("docid"); xelement.innertext = "test"; var xelemarray = new xmlelement[] { xelement }; use list<xmlelement> instead. david david http://blogs.msdn.com/b/dbrowne/ Visual Studio Languages  ,  .NET Framework  >  Visual C#

Problem in Windows 10 with Security Update KB 3147458

visual studio won't start anymore after installing automatic update. same holds ssms. has removed everytime, quite annoying. can find v2 of update (kb3147458)? hello, i'd ask in windows 10 update forum on microsoft community. microsoft community on different platform, cannot move question you. once there, click on participate near top of screen, , select ' ask question ' or ' start discussion ' karl when see answers , helpful posts, please click vote helpful, propose answer, and/or mark answer. blog: unlock powershell book: windows powershell 2.0 bible e-mail: -join('6d73646e5f6b61726c406f75746c6f6f6b2e636f6d'-split'(?<=\g.{2})'|%{if($_){[char][int]"0x$_"}}) Visual Studio Languages  ,  .NET Framework

Getting nearby Points of Interest (in India) using Bing Maps in Windows Store apps.

hello, i'm new windows store app development. have done few basic apps before this. i'm trying implement bing maps services in app. need nearby places or points of interests based on location. through blogs understand rest services not available india. how places? do have create database myself? thank you. anurag mantripragada. you can use bing maps soap search services has point of interest data around globe. here details on service: http://msdn.microsoft.com/en-us/library/cc980849.aspx http://msdn.microsoft.com/en-us/library/dd221354.aspx http://rbrundritt.wordpress.com Bing Maps  >  Bing Maps Web Controls

EDI 856 HL Looping

my sample edi files hl*1**s*1~ ref*bm* bol1001 ~    -- bolnumber dtm*011*20090205*145500~ n1*sf* t estwh *9*1234567891234~  shipfrom wh name n1*st*testwhanni - 62*9*0123456789123~ n1*vn*wm.inc.*9*9898989880000~ n1*by*abcinc*9*0069652140000~ hl*2*1*o*1~ prf* po1 ***20090205~   --- ponumber i mapping edi xml data ... below expectd output xml schema structure.  <header> <bolnumber>bol1001<\bolnumber> <ponumber >po1 <ponumber > <shipfrom> testwh <shipfrom> </header> problem hl looping i tried map of options gives results <header>  ---hl1 <bolnumber>bol1001<\bolnumber> <shipfrom> testwh <shipfrom> </header> </header> ----hl2 <ponumber >po1 <ponumber > <header> hl looping ... header(xml schema)  with hl -1 ad hl-2 .... how can avoided ? .. want in map without using custom xslt option. thanks, pankaj pankaj there several options might work you. 1.  have tried using value mapping (

Lycn Icon presence indicator takes lot of time to display at times it doesn't display at all

the web application referring intranet site based on episerver cms. site using active x plugin namectrl communicate lync server. similar this http://blogs.msdn.com/b/tomholl/archive/2013/03/02/integrate-lync-into-your-intranet-sites-using-the-namectrl-plug-in.aspx however, behavior intermittent. presence indicator not show @ or  take lot of time. presence icon not offline , there no presence indicator @ ,i believe how programmed ,perhaps there no presence update sent server no appropriate css applied.  the main concern why there not consistent behavior, hampering active x plug in not communicate smoothly , no presence indicator? Lync Server  ,  Unified Communications  > 

C# - using library error

i have .dll file in folder project is. add reference library project , when try use(import) using qrlib; following: the type or namespace name 'qrlib' not found(are missing using directive or an assembly reference?) given library file, it's not me implemented it, have use (and pretty sure there no problems it). might problem ? you can try change framework version 4, dlls cannot referenced in .netframework(client profile). Visual Studio Languages  ,  .NET Framework  >  Visual C#

Tiled images in Expression Blend 2

i'm quite new expression blend apologies front if daft question :) i'm working on silverlight 2 project in expression blend 2 , need apply image tiled background grid. is there straightforward way of doing this? so far, i've created my image brush resource , applied background, can stretch it to fit grid; can't find way tile image. i've seen articles mentioning tile brush, don't seem have option in brushes palette; (i have no brush, solid color brush, gradient brush , brush resources tabs). am missing simple? thanks in advance, jon i hope :) http://wpfwonderland.wordpress.com/2007/05/15/wpf-visualbrush-basics/ prasad - www.beautifulmind.blog.co.in Expression  >  Expression Blend + SketchFlow

Data Source with real time data

hi  im writing first windows forms app quite while , lot rusty. im reading realtime data usb device , want display on form.  the data has number of properties.  e.g. car --speed --revs --stopped i have datasource class reads , sets properties of object. the front end control needs read data, but, data realtime then, speed, revs or other propery change @ time. e.g. read speed, time read revs, speed may out of date. i have timestamp seems in efficient check each time.  so thinking either latch datasource class somehow, or have event fired when data changes has arguments of set values.  or other technique any suggestions? chris you should explore ajax, or caching (event notification), or sql server notification techniques (sql 2005 only) should able refresh ui based on updates in end. check both on search engines. regards sudhanshu Architecture

Dual NIC issue with Windows XP

  hi,   was curious if out on issue.   workstation has dual nic's, 1 embedded, 1 pci.  both on seperate subnets.  machine windows xp professional.   the pci nic, intel pro 1000 mt server adapter, receives udp multicast traffic @ 4mb/s, .5% utilization of adapter, machine maxing out @ 50% cpu utilization.   once traffic starts coming other nic stops working.  can ping, tracert, resources, can't connect them on port.  example: tracing google.com works, can't connect website, telnetting on port 80 not work.  external , internal resources.  outlook etc etc.   only 1 gateway configured , on nic points production/internet.   when traffic stopped, other connection starts working.  duplicated on other machines.   any ideas?   thanks,   j j, architecture (application/system) forum, not pro forum, highly doubt if find answer here.  try technet forum dedicated towards pro , folks skill set can answer question.  

Problem Adding DW.pup Resource in Commerce Server 2009 R2 with SQL Server 2008 R2

hi, i trying add dw.pup resource in commerce server 2009 unable to. the error in log is: [23:16:38] file decompression complete [23:16:38] creating global resource global data warehouse 3/27/2011 11:16:52 pm  puplogfilename: c:\pup.log 3/27/2011 11:16:52 pm  isdbexisting: server: jarjarbinks, dbname: solutionstorefrontsite_datawarehouse 3/27/2011 11:16:52 pm  connecting server: jarjarbinks time=sunday, march 27, 2011 23:16:52 site=solutionstorefrontsite  resource=global data warehouse   function=(null) data warehouse schema exist in specified database. schema not recreated. time=sunday, march 27, 2011 23:16:52 site=solutionstorefrontsite  resource=global data warehouse   function=colapstore::createschema log olap database & cube creation found @ c:\commerceolap.log time=sunday, march 27, 2011 23:16:52 site=solutionstorefrontsite  resource=global data warehouse   function=colapstore::createschema c:\program files (x86)\microsoft commerce server 9.0\data\c

The failure of unmanaged code(Delphi) consumes Com from .Net

we have  access  com dll developed c#,    when codebase register(regasm) local path, works fine. when codebase mapped driver, throws error "interface not supported" delphi7. fuslogvw.exe, find com dll has bound successfully.  tested use caspol.exe grant full trust mapped driver, like: caspol.exe -m -ag 1.2 -url file://s:\comclass.dll fulltrust. i'm wondering if managed com dll can not registered mapped driver???? *** assembly binder log entry (2013-11-8 @ 15:28:14) *** operation successful. bind result: hr = 0x0. operation completed successfully. assembly manager loaded from: c:\windows\microsoft.net\framework\v2.0.50727\mscorwks.dll running under executable d:\project\testcom.exe --- detailed error log follows. === pre-bind state information === log: user = jason-delphi7wi\dev log: where-ref bind. location = s:/comclass.dll log: appbase = file:///d:/project/ log: initial privatepath = null log: dynamic base = null log: cache base = null

Process before changing\adding content-type to Bing 8.

hello, i have web application using bing v8 map control.  it has been working until font or other content added caused content security policy deny control whole.  the fix easy, needed add things web.config.  however question is, can assume if have website uses experimental branch of control, experimental branch updates before main branch or there cases content or changes made both branches simultaneously? thank you. yes, experimental branch updated ahead of release branch. added release branch has been in experimental branch @ least 2 3 weeks, if not longer.  [ blog ] [ twitter ] [ linkedin ] Bing Maps  >  Bing Maps REST, SOAP, Spatial Data Services

VS 2008 crashes after opening a solution containing a web project

hi guys!   when try open solution team foundation server (2005) using vs team suite 2008, vs crashes. debugged bugger , discovered following error:   an unhandled exception of type 'system.stackoverflowexception' occurred in microsoft.visualstudio.shell.interop.dll   this problem not occur if team foundation client not installed , open same project. scenario however, produces logical error version control not found. that, expected.   i've opened connect issue ( https://connect.microsoft.com/visualstudio/feedback/viewfeedback.aspx?feedbackid=331549 ), i'd know if here has had experience issue.   thanks in return,  anže vodovnik yes, have had at least 2 reports of identical stack traces.  there bug in web project system code discovered , fixed (internally).  fix expected go out in 2008 sp1.   for interested in fine details, web project code trying set web server port.  towards end calls queryedit indicate intent update file port number.  source

Spontaneous FunctionTimeoutException

we have several javascript functions (http , servicebus triggers) running in consumption plan function app. of these functions fail functiontimeoutexception, causes entire app hang 10-15 minutes (servicebus triggers not called, requests http triggers return 503 code). traces in application insights show host.executor logs (function started/completed, etc), without our logs. these exceptions occur spontaneously in different functions, usual execution time of varies 50 ms 10 seconds. functions work different cosmosdb collections, metrics of these collections show consumed ru , number of requests under limits. have non-default app settings:     "http": {         "maxoutstandingrequests": 100,        "maxconcurrentrequests": 10 } in host.json preventing eacces errors under large http request rates (perhaps requires further adjustment)     "servicebus": {         "maxconcurrentcalls": 1 }, in

Lync 2013 Development

as support microsoft live meeting ending year, planning move microsoft lync 2013. have integrated live meeting conduct lecture sessions in 1 of our projects (a learning portal) have built universities. live meeting api able to, 1. create , update meetings via api. 2. create user accounts , assign them meetings. 3.once user logs in our system through api request token , allow him participate in session. 4. able download recorded lectures , provide them students not participate can achieve these things via lync api? like, 1. create conferences 2. add users conferences 3. authenticate him lync server , allow him attend meeting via lync web app 4. download recorded videos later view. i lack knowledge in this. can please guild me on resources need go through? lot in advance. see thread: http://social.msdn.microsoft.com/forums/en-us/ucmanagedsdk/thread/3a3a85f9-ec00-495f-abd0-e48fcfcd9eea

LINQ to XML question when queries can be at many different child levels.

Image
this first dealing xml. many tutorials found looks linq xml great way go. examples found dealing simple xml files. want grab data out of several different layers of child elements , can't find samples on this. know " from  node  in  doc.elements " im onlu going " commercialname " node. can't figure out how next two. <?xml version="1.0" encoding="utf-8"?> <data> <claimssvcrs> <claimdownloadrs> <generalpartyinfo> <nameinfo> <commlname> <commercialname>bob jenkins</commercialname> </commlname> </nameinfo> <addr> <postalcode>45242</postalcode> </addr> </generalpartyinfo> <policy> <policynumber>0099341</policynumber> </policy> </claimdownloadrs> <claimdownloadrs> <generalpartyinfo> <nameinfo> &l

Bridge Deployment Error

hi all, i'm trying started using service bus eai , edi i'm having trouble deploying one-way bridge.  error is: <error><code>400</code><detail>pipeline configuration invalid. validation of configuration failed error object reference not set instance of object the schema's , mappings deploy successfully.  has encountered problem before?  if so, please explain me means? thanks hin hi hin could please share pipeline configuration file? if under bin\debug folder, there should file name <bridge name>.pipeline.atom. thanks neha Microsoft Azure  >  Azure BizTalk Services

How can i use in my project with SevenZipSharp to compress all the files in the List<> ?

thats code of form1 :     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.io; using system.security.principal; using dannygeneral; using system.xml.linq; using system.xml; using sevenzip; namespace copyfileswithadminpermission { public partial class form1 : form { sevenzipcompressor compress; string destination; string file1; public form1() { initializecomponent(); compress = new sevenzipcompressor(); destination = @"c:\program files (x86)\vieh chroniken demo\kapedata\kapitel1\texts.xml" ; file1 = properties.resources.texts; //@"d:\book of unwritten tales critter chronicles translated english\texts.xml"; xmldocument doc = new x

ms word does not answer to any Add-ins at all

hi, i newbie , realy need 3 questions have worked on them 2 weeks steel no success. 1. built shared add-in project worked on ms word dont know have changed, after many times debugging ms word not answer add-in project @ , tryed debugg code set "start external program" word.exe , used br eak points got message "the breakpoint not hit no symbols have been loaded document". 2. how can insert text custom property word document? 3. have built add-in excel works can not insert text activecell, can see toolbar , button can not insert text. here litle bit of code: excel.application excelapp = null; public void onconnection(object application, extensibility.ext_connectmode c onnectmode, object addininst, ref system.array custom) {   excelapp = (excel.application)application;   inserttext = makeanewbutton(toolbar, "insert text", 1044, new _commandbarb  uttonevents_clickeventhandler(inserttext _click)); } private commandbarbutton makeanewbutton(commandb

BizTalk reconfiguration after Machine name change

hi , i working on project trying biztalk 2006 r2 configured in machine. we have created vm baselined image have biztalk 2006 r2 installed , configured. whenever user wants access vm launch vm , during startup domain registration program runs join machine domain. after have a console application which runs , reconfigures biztalk configuration new machine name. the console application following :- 1. uncofigure biztalk. 2. delete dbs in sql. 3. alter biztalk logins in sql. 4. reconfigure biztalk. this console application runs fine when execute when logged in administrator. when runs part of system startup, biztalk doesnot configured. sso, group parts configured. please let me know wrong here.   jay yea, think needs local log on.  haven't had use registry entires since xp , kiosk work did then.  again i'd think asking in 1 of windows forums you're drifting area biztalk people won't have exposure to. kind regards, -dan if answers question, plea

Unable to remote debug on Windows 2008 (Non-R2)

i attempted set remote debugging tools on 2008 server, requires windows web services api installed.  remote tools cannot download installer , link tries download brings bing search page.  have idea can downloaded? this visual studio 2012. it appreciated if mark helpful entries helpful , if entry answers question, please mark answer link. is server running 2008 sp2?  minimal version supported remote debugging. to ported runtime installer have request ms directly: http://blogs.msdn.com/b/wndp/archive/2009/10/09/final-version-of-windows-web-services-api-for-windows-xp-vista-server-2003-and-server-2008-is-now-available.aspx michael taylor - 9/20/2012 http://msmvps.com/blogs/p3net Archived Forums V  >  Visual C# IDE

RSACryptoServiceProvider Issue

  i new technology please bare me. have 2 methods encrypt , decrypt data using rsacryptoserviceprovide in wcf service. encrypting data public byte[] rsaencrypt(byte[] datatoencrypt, rsaparameters rsakeyinfo, bool dooaeppadding) { try { byte[] encrypteddata; using (var rsacryptoserviceprovider = new rsacryptoserviceprovider()) { rsacryptoserviceprovider.importparameters(rsakeyinfo); encrypteddata = rsacryptoserviceprovider.encrypt(datatoencrypt, dooaeppadding); } return encrypteddata; } catch (cryptographicexception cryptographicexception) { eventlog.writeentry(appname, "[rsaencrypt error] cryptographicexception: " + cryptographicexception, eventlogentrytype.error); return null; } catch (exception exception) { eventlog.writeentry(appname, "[rsaencrypt error] exception: " + exception, eventlogentrytype.error); return null; } }   decrypting data

NtQueryInformationFile for FileStreamInformation succeeds in 32-bit fails in 64-bit

i'm trying list alternate streams of file hosted on smb server using ntqueryinformationfile function. code i've written far works correctly servers fails when run against non-samba mac os x smb server. i've reduced code form application following bit of code reproduces issue reliably: using microsoft.win32.safehandles; namespace streams { class program { [structlayout(layoutkind.sequential, charset = charset.unicode)] public class netresource { public uint dwscope; public uint dwtype; public uint dwdisplaytype; public uint dwusage; public string lplocalname; public string lpremotename; public string lpcomment; public string lpprovider; } [dllimport("ntdll.dll", setlasterror = false, charset = charset.unicode)] public static extern uint ntqueryinformationfile( safefilehan

Why am I getting Cannot implicitly convert type 'System.Collections.Generic.IEnumerable' to 'System.Collections.ObjectModel.ObservableCollection'

i trying filter out collection this; mycollection = mycollection.where(x => x.mydata.indexof(mystring) > -1); although giving me error; cannot implicitly convert type 'system.collections.generic.ienumerable' 'system.collections.objectmodel.observablecollection'. explicit conversion exists (are missing cast?) thanks if 'mycollection' observablecollection try following: var result = mycollection . where ( x => x . mydata . indexof ( mystring ) > - 1 ).tolist(); mycollection = new observablecollection<yourtype>(result); wizend Visual Studio Languages  ,  .NET Framework  >  Visual C#