Posts

Showing posts from May, 2014

Web Service for Update Active Directory: Help Needed!

Image
hi, i building web service used update active directory. the information update come join created 2 different tables , databases. first information join query employeeid wich object ad ad. my problem totally newby kind of task , having trouble check in join data , match employeeid in ad , update ad. what need me check code , me fix , make work way needed. i getting close deadline project , really, need this. order book but can wait till it, hope friday wich deadline.  also need verify error can written in logfile code. any appreciated. please need this. i've been looking on internet different code , here frankenstein. web service code: using system; using system.collections; using system.componentmodel; using system.data; using system.linq; using system.web; using system.web.services; using system.web.services.protocols; using system.xml.linq; using system.data.sql; using system.data.sqltypes; using system.data.sqlclient; using system.directoryservices; using system.io; namespa

MS_NotificationHubConnectionString goes missing after a while

i'm using azure mobile services new .net backend. actually, i'm pretty happy realitively new feature, problem encounter somewhere along way mobile service loses ms_notificationhubconnectionstring , tells me: exception=system.invalidoperationexception: not find connection string named 'ms_notificationhubconnectionstring'. please ensure connection string present service setting. @ microsoft.windowsazure.mobile.service.notifications.pushclient.get_hubclient() @ lookinggr8service.controllers.ratingscontroller.<sendnotificationtopictureowner>d__6.movenext() --- end of stack trace previous location exception thrown --- @ system.runtime.compilerservices.taskawaiter.throwfornonsuccess(task task) @ system.runtime.compilerservices.taskawaiter.handlenonsuccessanddebuggernotification(task task) @ lookinggr8service.controllers.ratingscontroller.<postrating>d__0.movenext() what's remarkable this, fact works when have set up. unkown reason notification hub

Cannot Login to sandbox URL

hi!  i signed adcenter api , sent these credentials: your api credentials the  sandbox  environment : ·           user name: api_sbx_myaccount ·           password: bi123 ·           api access key: 48..cp3   [edited take out credentials]   when go url    https://sandbox.adcenter.microsoft.com/   says:   the user name or password entered not match our records. please verify sign-in information, , try again.   shouldn't able login here?   thanks!   wow guys sent me wrong username! api_sbx_myname login sbx_myname you guys need fix that, took me few days figure out Bing Ads API: Development  >  Bing Ads API: Development

Failed to connect to the SQL database 'SSODB'

hi, have dev biztalk environment (vm) of windows server 2003  (64 bit) machine. when try configure biztalk 2006, getting error " failed connect sql database 'ssodb' on sql server 'xxxxxxxxx'. (sso)".  i need join existing sso db. trying workarounds like:   running esso hotfix which update entsso assembly registration correct version of .net framework, but failed with below error: "esso v4 x64 gdr not found or package not contain compatible patch" tried  regasm “c:\program files\common files\enterprise single sign-on\win32\ssosql.dll” and regasm “c:\program files\common files\enterprise single sign-on\ssosql.dll” still getting same error. can please suggest solution? hi, i removed .net frameworks till 2.0 , able configure sso db.  when configuring ruleengine db getting below error:  "" the specified rules engine database not match pre-configured database biztalk server group. pre-configured database group

Voice/Video Quality Indicator

is there way grab information displayed integrated voice/video indicator in lync via api? these indicators ones referring to.  if not, best way predict video/voice quality of lync connection? hi check modalityproperty enum. using this, able grab video quality information still don´t know these information mean. i wrote question in forum. search " meaning of modalityproperty enum values" (i´m not able post link here) Lync Server  ,  Unified Communications  >  Microsoft Lync Client Development

Why i'm getting time out exception when using httpwebrequest and response and how should i handle it, so far without success ?

in original method without using statement , without try , catch , without timout set 10000. i changed later since got exception i'm getting exception again. the program working fine hour or , got exception again. my program downloading website same file every 5 minutes. httpwebrequest request; int currentindex = 0; void filedownloadradar(string uri, string filename) { if (splash != null) { if (!splash.isdisposed) splash.updateprogressbar(0); } try { request = (system.net.httpwebrequest)system.net.webrequest.create(uri); request.timeout = 10000; request.cookiecontainer = new cookiecontainer(); request.allowautoredirect = true; using (httpwebresponse response = (httpwebresponse)request.getresponse()) { long contentlength = response.contentle

Application didnt work when launch without VS

Image
hi i compile 1 application , give focus window on basis of title . 1 strange thing face works ok when open in vs , press f5 particular window pops correctly , when launch double clikcking administrative previllage didnt pop window . one more difference see when launch through vs in task massenger there 1 more application launch name of <program_name>.vshost.exe . code of program this using system; using system.runtime.interopservices; using system.threading; namespace get_focus { class program { //import findwindow api find our window [dllimportattribute("user32.dll")] private static extern int findwindow(string classname, string windowname); //import setforeground api activate [dllimportattribute("user32.dll")] private static extern intptr setforegroundwindow(int hwnd); static void main(string[] args) { while (true) {

BizTalk Certification Study Material 70-241

hi all,   can plz share study material , dumbs biztalk 2006 r2 certificaiton(70-241). sharing url me... my id:replymaki@gmail.com thanks in advance help.   hi, i suggest read post learning biztalk , can have @ following: mike breeze line-out ; kees dijks post ; this thread on forum. hth regards, steef-jan wiggers mvp & mcts biztalk server http://soa-thoughts.blogspot.com/ if answers question please mark accordingly biztalk BizTalk Server  >  BizTalk Server General

Error setting up a new Power BI output or refreshing an existing Power BI output

there a known issue setting or refreshing power bi output customers corp-sts , either using ie protected mode. symptoms: on ie see pop-up window hanging , wizard show error “the authorization interrupted.”. workaround: use different browser such chrome or firefox. temporary following on ie: press alt+t show tools menu click "internet options" select "security" tab select “internet” zone uncheck "enable protected mode" close ie tabs , windows , re-open. update 7/31/2015 4:09pm pst: chrome fixed - continue work on ie. removed chrome above list. update 8/11/2015 11:16pm pst: we have deployed fix earlier today. this issue resolved. the fix has been deployed production, workaround no longer necessary. Microsoft Azure  >  Azure Stream Ana

Problem with .Net and SpamFighter

can me issue. have anti spam tool. has iis based admin tool. worked fine until disk had problem, ran chkdsk / f , os booted again ok error every time try run thier utility. i've tried re-install .net 1.1.4322.2300 installer says it's installed , aborts , don't know how repair or force re-install, can me this?   server error in '/' application. configuration error description: an error occurred during processing of configuration file required service request. please review specific error details below , modify configuration file appropriately. parser error message: unable load file 'sfmsexch'. source error: line 359: <add line 360: assembly="system.web.ui.mobilecontrols.adapters,version=1.0.0.0,culture=neutral,publickeytoken=b03f5f7f11d50a3a" /> line 361:--> line 362:<!-- line 363:end section inserted device update 2 installer. source file: c:\windows\microsoft.net\framework\v

How to draw 3D electron model around Atom using XNA

i want draw number of electrons around atom < 3d > using xna 4 failed  can me ??  works here. if try http://xboxforums.create.msdn.com/forums/ or http://create.msdn.com/  then "xbox indie game", "community", "forums" , scroll down xna forums ? if issue related xna api it's you'll have more support there in general c# programming forum. make sure describe tried , how fails without waiting ask... please mark whatever response solved issue thread marked "answered". Visual Studio Languages  ,  .NET Framework  >  Visual C#

How to do retry to a 3rd party API which can't return value and stalled (hang)?

i've 3rd party dll/api, int foo(), don't have source code. i rely on foo() return code prior next action. recently, found api not return caller stalled (hang). is there way can put timeout around api can retry call? e.g. after 10 sec, api still not return me value, call api again retry avoid hang issue. sample code , pointers appreicated. thanks. i found begininvoke() , endinvoke() can issue. thanks. Visual Studio Languages  ,  .NET Framework  >  Visual C#

Async 3 will just simply not install, even if you delete every KB on your system

i have win 7 home premium -- visual studio ultimate / sp1, dot net 4, works -- otherwise clean pc.  this package enticing package, based off ms says it.  unfortunately, marketing , buildup product is, currently, @ best, tenuous.  this product not install on machine have.  i've given on one, win 7.  i've read lucian's blog, , that's been written on this.  i've uninstalled silverlight 5, , i've uninstalled kb2635973, kb2549864, and kb2615527.  prior uninstalling kbs, package appeared install correctly wasn't present anywhere in system.  after uninstalling kbs, install flat out failed. my recommendation not uninstall windows updates took hours install.  you'll waste countless hours you'll never uninstalling kbs, rebooting, installing them again, rebooting, etc., have installation fail again.  after all, it's oxymoronic suggest have uninstall updates.  after spending as did on vs 2010 ultimate, think c# , vb synchronization have been obviou

When shared Add-in used in Microsoft Outlook, On closing Outlook gives Unknown software exception

hi,     had created shared add-in in microsoft visual studio .net 2005. default there no common language runtime( clr ) support shared add-in. had explicitly give clr support changing project properties clr support. , using #pragma managed & #pragma unmanaged  in code use managed & unmanaged code in same application.     when use add-in in microsoft outlook 2000 .net framework 2.0 installed on machine, works fine!!! when close application(ms outlook) throws application error "the exception unknown software exception(0xc0020001) occurred in application @ location 0x77e4bee7." is there solution fix problem??? please suggest me... thanks & regards, shyam        it difficult you, because not provide information. 1. guess if exception thrown in ondisconnection method. note there several excel related functions crash excel in case of exception (including onidisconnection). 2. first time create addin, or did worked before [1]? 3. try addin powerpoint , excel (even if

UnauthorizedAccessException Trying To Delete Start Menu Item Despite Running As Administrator

i'm trying use file.delete(path name) delete file in common start menu under windows 8.1. file shortcut (.lnk), although don't believe type of file matters. since it's file not folder, don't have worry nested content being removed first directory. in theory, there should no barriers.  manipulating common start menu is, know, under uac; if try windows explorer running normally, twenty different prompts (i exaggerate; it's nineteen).  my code running admin (by debugging instance of visual studio running admin, , have code confirm running in admin mode), in theory should remove problem - doesn't. unauthorizedaccessexception thrown.  i've tried (a snippet found on related question):  directorysecurity security = directory.getaccesscontrol(pathname);  string identity = environment.userdomainname  + path.directoryseparatorchar  + environment.username ;  filesystemaccessrule rule = new filesystemaccessrule(identity,  filesystemrights.fullcontrol

Card verification value (cvv) - Cybersource CS2000

hi, we have existing asp e-com app running on commerce server 2000. a new requirement has come in send card verification value (cvv) validation through cybersource cs2000 component. we not familiar commerce server , have been playing couple of days without progress. the code base application seems have evolved retail solution site. can please suggest solution cvv integrated current application. we have been looking pipeline editor, doesn't know how connect out current app. also not sure how use "cc_auth_number" field in "orderformheader" table purpose. thanks favours, habeeb hi habeeb, may need updated cybersouce module support on right track.  if implemenation based on solution site before call "saveasorder" caled pipeline executed.  pipeline contains cybersouce component.  need add cvv value order header (remembering clear before save order since not allowed store that) , pass value either current cybersource compoennt (if supports cvv) or , update

Directory.GetFiles in date order

how go getfiles or getsystemfile in date order? need other methods, or need set something? thanks, jon jacobs message composed entirely recycled electrons. this should work, though when tested .txt files creation date became creation date of folder in. if created a word document, creation date correct , code worked.     class program     {         static void main(string[] args)         {             directoryinfo dirinfo = new directoryinfo(@"c:\test\");             var filesinorder = f in dirinfo.enumeratefiles()                                orderby f.creationtime                                select f;             foreach (var item in filesinorder)             {                 console.writeline(item.name);             }             console.readkey();         }     } bob - www.crowcoder.com Visual Studio Languages

Cannot print bing map

i driving direction on bing map through internet explorer 11. when try print direction, message "caanot find. file:///c:/username/name?appdata/local/tem....:blank . make sure path or internet address correct." i have dell dimension e510, windows 7 ultimate. i don't have problem printing pages other applications: office, adobe, etc. can please help? langocole are using bing maps enterprise developer api's or bing maps consumer website (bing.com)? these forums developer api's. questions bing maps consumer website please ask in microsoft answer forums consumer products:  https://answers.microsoft.com/en-us/bing/forum/bing_maps?tab=threads&auth=1 [ blog ] [ twitter ] [ linkedin ] Bing Maps  >  Bing Maps Web Controls

Sharepoint Online - How to Retrieve all AD user from AD Group which added in SharePoint Group

Image
have created sharepoint group (ad_users). ,  added active directory group (admember).  want display ad members from ad group (admember) on sharepoint page. there way display ad members on page(using  rest api or user profile service or csom or jquery  )?if not please suggest alternative same your highly appreciated !! hi, when comes azure ad, there azure graph api can used access users remotely: https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/users-operations#getusers here demo how work azure graph api reference: https://www.simple-talk.com/cloud/security-and-compliance/azure-active-directory-part-5-graph-api/ if want display results in sharepoint page, suggest develop provider hosted add-in enables developers write c# code inside it: https://msdn.microsoft.com/en-us/library/office/fp142381.aspx best regards, patrick technet community support please remember mark replies answers if help, , unmark answers if provide no help. if ha

Decimals not working when calling Oracle stored procedure

hi all i have problem regarding decimals when calling oracle stored procedure. in order trouble shoot this, have created small biztalk 2013 solution mimics problem; in solution have used "add generated items..." "consume adapter service" generate schemas , udt stored procedure in oracle uses complex type parameter. complex type has 3 fields in it, , 1 of them number(12,4). in solution, biztalk received xml document 3 fields in it. 1 of them xs:decimal , there map transforms input-xml xml oracle connection. send port uses wcf-custom adapter oracledbbinding.  i can see in tracking, xml send port sends contains this: <ns3:decimaltal_felt>4.5</ns3:decimaltal_felt> which looks fine me. stored procedure inserts value table , it's "45" instead of "4.5" inserted table :-(  so couple of questions; 1. wcf-adapter oracledbbinding. assume works this; adapter receives xml , reads values it. creates connection oracle database

documet upload in REST c# is giving 401 un-authirized error

the following code in c# in auto hosted app upload document giving 401 unauthorized error. please let me know. httpwebrequest endpointrequest = (httpwebrequest)httpwebrequest.create(hostweb + "/_api/web/getfolderbyserverrelativeurl('shared%20documents'/files/add(url='" + filename + "',overwrite=true))");                 endpointrequest.method = "post";                 endpointrequest.accept = "application/json;odata=verbose";                                 endpointrequest.headers.add("authorization", "bearer" + accesstoken);                 endpointrequest.headers.add("binarystringrequestbody", "true");                 var reqstream = endpointrequest.getrequeststream();                 reqstream.write(bytefile, 0, bytefile.length);                 reqstream.flush();                 reqstream.close();                 httpwebresponse endpointresponse = (httpwebresp

Handy reference to online BizTalk RFID documentation

  msdn online http://msdn2.microsoft.com/en-us/library/bb749758.aspx technet online http://technet.microsoft.com/en-us/library/bb749758.aspx installation guides http://www.microsoft.com/downloads/details.aspx?familyid=df2e8a88-fb23-49a4-9ac7-d17f72517d12&displaylang=en chm, performance white paper, tutorial files http://www.microsoft.com/downloads/details.aspx?familyid=22b2e8d9-8cda-44f8-8f4e-b372c7660989&displaylang=en rfid samples http://msdn2.microsoft.com/en-us/biztalk/bb608378.aspx BizTalk Server  >  BizTalk Server RFID

SET QUOTED_IDENTIFIER Default setting in SQLServer 2008

all, what default setting quoted_identifier in sqlserver 2008? checked model database , set false bol says default on. 1 of our delete statement failing , used work in sqlserver 2005. unfortunately, dont have 2005 edition anymore check , compare. idea default setting in sqlserver 2005? thanks, rgn ms-help://ms.sqlcc.v10/ms.sqlsvr.v10.en/s10de_6tsql/html/10f66b71-9241-4a3a-9292-455ae7252565.htm   <<when set quoted_identifier on (default), strings delimited double quotation marks interpreted object identifiers. therefore, quoted identifiers not have follow transact-sql rules identifiers. can reserved keywords , can include characters not allowed in transact-sql identifiers. double quotation marks cannot used delimit literal string expressions; single quotation marks must used enclose literal strings. if single quotation mark ( ' ) part of literal string, can represented 2 single quotation marks ( " ). set quoted_identifier must on when reserved keywords use

Errors processing SSAS 2005 Cube against SQL 2000 database

hi, i receiving following erros when try deploy/process cube. source db sql server 2000, issue? have connection created (have tried both oldb providers - sql native client , ms oldb provider) , supplying a  sql server user name , pass word (datareader permission in db). 2005 ssas service running under local user account authentication not possible using account. , have tried various settings under "impersonation information" no luck? sql 2k5 sp1 on win xp sp2 sql 2k (sp4) on win2k server thanks! ------ build started: project: aegis, configuration: development ------ started building analysis services project: incremental .... build complete -- 0 errors, 0 warnings ------ deploy started: project: aegis, configuration: development ------ performing full deployment of 'aegis' database 'jwilametz\sqlserver2005_01' server. generating deployment script... add database aegis process database aegis done sending deployment script server...

Delete Snapshot Replication

when try drop publication in order: exec sp_dropsubscription @publication = @publicname , @subscriber = @servname , @article = n 'all' exec sp_droppublication @publication = @publicname i getting following error after dropping publication msg 16943, level 16, state 4, procedure sp_msrepl_changesubstatus, line 1271 could not complete cursor operation because table schema changed after cursor declared. msg 16943, level 16, state 4, procedure sp_msrepl_changesubstatus, line 1271 could not complete cursor operation because table schema changed after cursor declared. could give me suggestion how avoid error? thanks! which if above 2 stored procs raising error, , version of sql server running? SQL Server  >  SQL Server Replication

Browse for Databases confirmation box

so, when connect server, set default database.  i open 'connect database engine' dialog , load 'connection properties' tab. select '<browse server...>'. ssms pops 'browse databases' dialog prompt 'browsing available databases on server requires connecting server. may take few moments. continue?' now, given in connection dialog, i'm committed connecting server. it's not going take more time have available. find dialog rich since ssms blithely load every sql server can find on network if ask to, , spend 6 hours doing it. there's no confirmation dialog there. i connect enough instances dialog has started bug me enough posted this. can drop denali? you may want raise in http://connect.microsoft.com/ suggestion. SQL Server  >  Get

multiple file exists error in biztalk

Image
hello all, i using file dynamic send port(dynamicsendpassthru) send message outbound location. every , issue file being sent twice outbound location. when checked message flow in biztalk saw message being sent twice when sent first time.that means second time there no file sent inbound.  why msg again sent biztalk destination location after 3 hrs. there file same name in target folder.no  ordered delivery  option in sendport. in our application no orcherations. i'm using filter on send port,i don't have more 1 send port pointing same target. that means there no other files processed in between time , why file has been regenerated twice. here inbound transporttype-soap,  outbound transporttype-file can please explain why happening ? i want know root cause exactly. how can fix error,kindly assist me resolved,it's urgent pl provide needful. the screenshot of same attached too. best regards, praveen tvs apache you posted same question here .

Cannot serialize LineObect(LineType) from crystal to RDL

hi all, we have developed application converts crystal report rdl. able serialize objects except line,chart,image(pictureobject). using xmlserializer searlizing. waiting reply . thanks help, jaydeep the answer obvious. john saunders wcf is web services. not 2 separate things. use wcf new web service development, instead of legacy asmx or obsolete wse use file->new project create web service projects Archived Forums A-B  >  ASMX Web Services and XML Serialization

Convert Excel Macro in to C#

hello everyone,                have macro in excel calculates values, have implement technique used in macro in c# application. tried understand macro haven't work in excel can expert me convert following macro in c#. sub singleln() ' ' singleln macro ' k = 8 j = 35 'reset trial number , time cells(4, j + 12).value = "" cells(5, j + 12).value = "" cells(6, j + 12).value = "" cells(5, j + 12).value = now trials = cells(4, j + 9).value = 1 trials cells(4, j + 12).value = i                    solverreset                                         cells(4, 5).value = (18 - 0.5) * rnd + 0.5             cells(5, 5).value = (4 - 0) * rnd + 0                                                 cells(k + i, j + 1).value = cells(4, 5).value             cells(k + i, j + 2).value = cells(5, 5).value                          cells(k + i, j + 9).value = cells(2, 21).value             ce

Exchange ews call through sharepoint hosted app permission issue. Access is denied.

hello, in 1 of posted question on forum saw mike facing same issue of passing credential ews exchange service through sharepoint hosted app, mike: able working. tried ajax post request , getting access denied on sharepoint hosted app. when try html file prompts me login , provided login fetches data otherwise unautherized 401 error inputs helpful thanks.. hi, seems issue office 365 rather on-premise on-premise use ntlm authentication (and therefore wouldn't prompt - assuming user has rights ews).  it sounds ews supports oauth authentication there doesn't seem way of getting oauth token via javascript.   can ms advise on office 365 scenario (how authenticate ews via javascript user logged on sharepoint , account has rights ews)?  know can work around issue using "service/proxy account" (and supplying these credentials using basic authentication) isn't ideal user has rights ews , logged in shouldn't needed (and thought of sending us