Posts

Need communication between the DomainContext and the stateless DomainService

Image
i'm migrating prototype made wpf , entity framework 4 silverlight 4 , wcf ria services v1.0. in wpf application added property (let's call referenceenterprise ) "objectcontext" implement business logic that, using "objectmaterialized" event, lets me calculate on each , every entity related entities , values (not mapped underlaying database, anyway extracted database, although relative property explained), added every entity using partial class definition. for example, user logs in application , selects enterprise, create objectcontext (modelcontainer) , set referenceenterprise property according selected value. after moment, each , every query gets data related enterprise in special properties added each entity (some iqueryable<someentity>). anytime during application lifetime, user can select different enterprise, , objectcontext gets replaced new 1 using different referenceenterprise . this model worked me when had real control on obje...

Which SqlCommand gets used (and how to keep VS2005 from complaining that there are two)

hello,     i adding sql server access application using enterprise library (an older version).          system.data.sqlclient. sqlcommand sqldbcommand =              (system.data.sqlclient. sqlcommand )    sqldb.getstoredproccommand( "dbo.get_this_pupil" );     sqldbcommand.parameters.add( "thepupil" , sqldbtype .varchar, 12).direction =                                                                  parameterdirection .input;     sqldbcommand.parameters[ "thepupil" ].value = pupilid     when compile, : error 1 the type 'system.data.sqlclient.sqlcommand' exists in both 'c:\windows\microsoft.net\framework\v2.0.50727\system.data.dll' , 'c:\program files\microsoft visual studio 8\common7\ide\publicassemblies\system.data.sqlclient.dll' c:\documents , settings\mcklapp\my documents\visual studio 2005\projects\grantopsadmin_v2\sesdataaccess\sesdataaccess\services\srappentrydl.cs 80 35 sesdataaccess thanks oic - need addinparame...

Managing AD from Windows XP - I don't see trusted domain

we have 2 active directory 2003 domains connected external trust. when i'm logged on domain controller of 1 of these domain can run aduc console, go properties of domain local security group. , then, while adding new group member, can change location trusted domain , choose users it. but if run aduc console on windows xp , try add new memebers above group not see trusted domain when go location. missing on xp? check below posts , hope can bring thoughts. locations in aduc not showing domains http://social.technet.microsoft.com/forums/en-us/winserverds/thread/5c7b80fd-d8c9-4cc5-abc8-6f4036ef9bc5 unable see forest trusted domain xp admin tools able see domain controller http://social.technet.microsoft.com/forums/en-us/winserverds/thread/0fc6fc83-bf31-4504-808f-9a2c4d3882a2 Windows Server  >  ...

Single Server, No Domain & Active Directory

currently i'm running server 2008 r2 without active directory installed.  everything perfect except i'd use active directory limit logon times of users.  i don't want mess have going now, not sure active directory role install or if should.  when go add roles, see following: active directory certificate services active directory domain services active directory federation services active directory lightweight directory services active directory rights management services thanks, kevin hi kevin, if goal limit logon times, not need active directory that.  can keep things way , set allowed logon times using command line.  examples: 1. limit user jsmith monday through friday, 10am 2pm: net user jsmith /times:monday-friday,10am-2pm 2. limit user bjones monday 8am 5pm , tuesday 3pm 11:00pm: net user bjones /times:monday,8am-5pm;tuesday,3pm-11:00pm 3. limit user mfields monday 1pm 9pm , tuesday through friday 9am 5pm: net user mfields ...

windows server 2003 Firewall showing Error 1079 &170

dear sir, windows server 2003 service pack 2. windows firewall  are showing error on display are  under. 1- [windows server 2003 firewall cannot run because program or runing use network address translation component (ipnat.sys)] 2- [could not start windows firewall/internet connection sharing (ics) service on local computer. error 170: requested resource in use.] from: anwar do have rras or isa server installed in sever or other firewalls installed ? if yes try disable them , try restarting windows firewall service. http://www.virmansec.com/blogs/skhairuddin Windows Server  >  Windows Server General Forum

How to make redundant Domain Controller on Server 2008

hi, i know, if having domain cotroller running on server 2008 enterprise sp2 , installed 1 more addtional domain controller. in case if main dc go down, users able login domain without problem, if no. how make adc primary in case of disaster main dc. thanks, ravi prakash srivastava mcp,mcse,mcitp,mcts,mct hi ravi prakash srivastava  ,   yes, if 1 of dc down , other dcs take charge client's request . but please keep in mind when client login ,they located dc computer via dns record ,this mean have keep  the ad integrate  dns service stated , running correctly in domain network. , address of ad integrate  dns servers must listed in dns query server list of client side. usually, ad integrate  dns service running dc on same physical server, please make sure dc servers can replicate each other correctly.   and have mentioned how make adc primary . if 1 dc hold fsmo roles occurred disaster can’t repaired, need ...

WS2012 R2 drives redirection

hello, i have deployed remoteapp hosted on remote server (windows server 2012 r2). this application possesses common features such as: uploading files, downloading files & printing files. i have setup proper configuration in order redirect files & printers but, reason: * printers redirected (i have access local printers). * drives not (i have access remote drives, i.e.: server's drives). it driving me crazy, have followed threads find (official or non-official ones). have ideas? thanks hi pierre, i have deployed remoteapp hosted on remote server (windows server 2012 r2). this application possesses common features such as: uploading files, downloading files & printing files. i have setup proper configuration in order redirect files & printers >>>how did configure printer redirection? here article below how configure printer reference. windows server 2012 remote desktop services | terminal server printing without easy print ...