Posts

Showing posts from September, 2015

How to Share webservice object to all user

dear all,            how share webservice object user. in pageload i have created webservice object in pages.so performance level go down.            shall create application level mean it's possible share object in user?             if 1 ,it occur deadlock or anyother problem?             or else how share webservice object user.             please me.... advance you. regards, santhosh you can use application object. if updating application object, can use  application.lock(); , then  application.unlock(); thanks, nishanth mohan visit places in london free!!! a large collection of english / hindi / malayalam / tamil sms messages a large collection of english / hindi / malayalam / tamil sms messages Archived Forums A-B  >  ASMX Web Services and XML Serialization

Exploring the Stack

hello all, i have question related stack of process. i trying accomplish following. 1.) see how stack accessed internally within process. 2.) figure out how find particular function within stack "i.e., own function adds 2 integers".   i trying learn more inner workings of stack of process. have been reading lot kind of need little help. need know if there classes in .net framework me accomplish this. have found stacktrace little unfamiliar with each frame name. any in matter much appreciated.   hello, i'm not quite sure want, post bit vague. you want understand stack data structure or looking @ how os handles stack per thread basis ? 1) stack has little process itself. 2) can check how work stacktrace here. here few resources. a) pushing limits of windows: processes , threads b) processes , threads eyal ( http://shilony.net ), regards. Visual Stud

Trouble with Categories in Expression Blend Collection Editor

hello, i have created custom controls part of collection custom control. on their own in expression blend controls show custom categories , properties when part of collection , opened in collection editor of custom properties grouped under first custom category , remaining custom categories not shown. standard categories still show fine i.e. brushes, appearance, common properties etc. controls built on 4.0 framework. , using expression blend 4.0 btw - problem not exhibited when using controls in visual studio.  has else experienced this , there solution? thanks help. can attach screenshot perhaps? having hard time visualizing issue. Expression  >  Expression Blend + SketchFlow

Editor Extension for VS 2013 Update 3

dear code contracts team, first of thanx great work!! thinking using code contracts our projects. unfortunately there 1 open point, need more information, in order convince colleagues rely on tool chain: code contracts editor extensions not running on visual studio 2013 update 3. :-( question 1: aware of problem or need logs , stack traces me? question 2: there update scheduled code contracts editor extensions? question 3: there plans make extension open source? considering restricted resources, enable community themselves. thanx again guys! looking forward feedback... cheers, markus DevLabs  >  Code Contracts

Creating a button with multiple rectangles on it--like Dante does (Dajo) - 1/30/2008 8:51 PM PST

by: dajo hi all, question: trying follow dante's example of creating play button, when double-click rectangle (lesson 3, topic 1) make child of grid, replaces grid instead of becoming child, dante. step missing? thanks. by: brennon williams howdy, not familiar tutorial, sound of it, not "activating" grid control... need double click grid in objects , timeline category of interaction panel , should see turn yellow... whenever add child elments toolbox etc, become child of activated control (in case.. grid) cheers -- want learn how use blend , visual studio? http://www.learnexpressionstudio.com http://www.expressionblend.com http://www.x-coders.com "dajo" wrote: > hi all, > > question: trying follow dante's example of creating play > button, when double-click rectangle (lesson 3, topic 1) make > child of grid, replaces grid instead of becoming child, > dante. step missing? >

Funny little pop quiz

  you have use vb this, thought quite fun, can guess does?   dim bla as object = cdate ( "2001-12-11" ) console.writeline(bla.tostring( "yyyy-mm-dd" ))       ......   did guess it?.....     {"conversion string "yyyy-mm-dd" type 'integer' not valid."}     (sorry if it's obvious suprised me).         it caused leak in vb.net syntax.  parentheses can both used method call , index array or string.  , parentheses optional if method doesn't take arguments.  that's lethal combination in case.  compiler parses follows:         dim v object = cdate("2001-12-11")         dim s string = v.tostring         dim integer = cint("yyyy-mm-dd")         dim t string = s(i)         console.writeline(t) it cint() call generates exception.  still sounds compiler bug, console.writeline() method required.  can report @ connect web site .

AccessViolationException when reading Properties.Settings.Default field. .NET 4.0, C#, VS10

i having issue reading specific property properties.settings.default. first time run code during debug session, successful. second time run, accessviolationexception. exception happens when versionmajor property of properties.settings.default, not versionminor property.   byte[] tmparray; byte[] message = new byte[599]; int = 0; message[i++] = 16; //write multiple registers message[i++] = 0; //high byte of address message[i++] = 98; //low byte of address message[i++] = 1; //high byte of register count message[i++] = 40; //low byte of register count message[i++] = 0; //reserved message[i++] = properties.settings.default.versionmajor; //major version number message[i++] = properties.settings.default.versionminor; //minor version number   both properties of byte type. insight cause of issue beneficial. thanks i solved problem. later in applic

What functionalities are missing from Azure Data Lake compared to HDInsight?

i have need create enterprise level azure data lake (azure data lake store & azure data lake analytics, data factory) & real-time recommendation engine.(event hub, stream analytics & azure machine learning) is there requirements requires hdinsight? if data stored azure data, possible use azure ml without hdinsight? kenny_i i'd happy help.   this pretty broad question.  if you're .net , c# familiar it's azure data lake more familiar , easier learn.  conversely if you've got hadoop , spark skills hdinsight more familiar. from description, should able without hdinisght, based on brief description. guy Microsoft Azure  >  Azure Data Lake Analytics & Store

Consuming Https on Send Port BizTalk 2006

i using biztalk 2006. 1 of application have uses send port solicit response posting xml message vendor link. suddenly, last week, vendor has changed url https http. got security certificate vendor , installed in biztalk machine's "other person" folder using mmc. i designed custom pipelines mime encryption / decryption. certificate property of send port configured include client certificate vendor. however, when application runs, gives following error on send port. there failure executing response(receive) pipeline: reason: ... there authentication failure. "failed decode s/mime message. s/mime message may not valid.".  i have seen several articles regarding this. feel in case don't need resolve party , not need sign message private key etc. thing have public key certificate vendor correctly installed "other person" certificate answer biztalk host user. i appreciate if can guide me on this.             regards, umesh bhat

Azure Stack Portal - Failed to load the marketplace

after countless reruns , redeployments i've completed deployment successfully. unfortunately, when access azure stack portal mas-con01 machine cannot view marketplace. after clicking on "new" button, marketplace pane / blade fails load categories , presents error title "failed load marketplace" description "could not load marketplace data".  the azure ad account i'm using trial account active trial subscription azure if has impact.  i've tried rebooting of deployed vms several times. ideas? ok i've resolved issue. i remembered thinking deployment completed after step "60.140.146 (fbi) configure windows defender". no errors recall went through last few steps , ended on "complete: action 'deployment'".  on hunch went , issued command restart deployment next step 60.140.161 since -rerun no longer works after successful install. invoke-eceaction -rolepath cloud -actiontype deployment -start 60.160.161

Mapping multiple rows into one record in a SQL table

i having issue mapping inbound edi document. source schema edi schema , destination schema sql stored procedure schema.  the issue facing is, in input schema there sln record occur 2 times in incoming file. have map 2 sln records in incoming file single record in sql table. current map getting 2 separate rows in sql table. table has required columns hold data 2 sln records. so there way can map 2 sln records can insert them 1 record in sql table , prevent generating 2 individual records 2 sln records in source thanks sree you can use index functoid on each of 2 incoming segments.  have linked field field. BizTalk Server  >  BizTalk Server General

How to get specific fields in child nodes of an XML file given a node

hey, gang: this simple question, , used know answer, i'm tired , can't remember how , numerous google searches aren't turning need. i've got xml file: <?xml version="1.0" encoding="utf-8"?> <army> <armyname>the army of northern virginia</armyname> <commander> <commandername>the emperor napoleon</commandername> <commanderleadership>94</commanderleadership> <division> <divisioncommandername>major general william t. sherman</divisioncommandername> <divisioncommanderleadership>78</divisioncommanderleadership> <unit> <unitname>chasseurs à cheval garde</unitname> <uniticon>cavalry.png</uniticon> <unittype>cavalry</unittype> <unitkstrength>3</unitkstrength> <unitstrength>456</unitstrength> <unitquality>94</unitquality> <unitmora

how we can generate custom identities in LT/14-15/0000001 format in c#

how can generate custom identities in lt/14-15/0000001 format in c#. i want create id in given format in 14-15 should related current year , and 0000001 should increase every time when generate, using c# coding please me........ try following method: private static int counter; private static string generatestring() { string s = string.format("lt/{0}-{1}/{2}", datetime.now.year.tostring().substring(2), datetime.now.addyears(1).year.tostring().substring(2), (++counter).tostring("d7")); return s; } usage: string first = generatestring(); //= lt/14-15/0000001 string second = generatestring(); //= lt/14-15/0000002 Visual Studio Languages  ,  .

Code InLine Verses CodeBehind

i sr developer, new hire.  of career has been on large financial databases , has not been .net specific, although .net developer 3 years ago.  haven't touched since. i decided out of financial industry , got hired @ marketing firm makes video-on-demand ads cable companies.  despite lack of experience .net, hired sr. level developer because of extensive database , tech lead experience.  started month ago along 2 other people.  put on same project , ended being made "tech lead" between 3 of because of ability pick on industry , business needs. enter problem.  3 of code-behind, system architect convinced code-behind bad , code-inline way go.  disagree on several levels other 2 new people have extensive .net specific experience.  have been told write code-inline.  doesn't use asp controls, wants use html. i inheriting import process guy leaving.  import process doesn't use ado , code-inline.  it's pretty gross.  suppose refactor (read throw out) various reason fig

Functoid in Map

hello all, i have requirement of inserting records table flatfile, the flatfile records contain client details , products ordered , records contains 1 product , contain upto 20 products single record. little confused solve in map, can 1 tell me how can insert them db. thanks in advance panadi procedure for....? the flat file schema wizard that, wizard.  launch add new item. BizTalk Server  >  BizTalk Server General

How to Decrypt BizTalk generated encryted file using c# code

dear all, pls advise how decrypt biztalk generated encryted file using c# code. -- regards sandeep this related thread: https://social.msdn.microsoft.com/forums/en-us/ea1b50d0-ed6b-4760-80bf-7ad30e51bb82/sending-md5-encrypted-xml-using-biztalk-server-2006?forum=biztalkr2adapters well, here's thing, need take ownership of on end. if agreed using mime, have ready support it. there mime libraries out there such https://github.com/jstedfast/mimekit however, warned, using mime in relatively uncommon way (meaning no 1 this) which why don't see many examples or tools. my recommendation scenario pgp. BizTalk Server  >  BizTalk Server Adapters and Adapter Pack

Resolved

gracias i dont know how projects like. mean how depot class made. but suggest include number property (like accesslevel), used access of options. here, took time make console application how checking after login, , how use data based on login: using system; using system.collections.generic; using system.linq; using system.text; using system.data.sqlclient; using system.io; namespace mar20_1c { class program { static void main(string[] args) { list<user> users = new list<user>(); users.add(new user { accesslevel = 1, name = "name 1" }); users.add(new user { accesslevel = 2, name = "name 2" }); users.add(new user { accesslevel = 1, name = "name 3" }); //i create simple login: user user = login(users); //your checking: console.writeline("options: 1 - locate cargo 2 - locate worker 3 - create schedul

Error restoring master secret on second node of a SSO cluster

hi all i trying configure master secret server biztalk 2010 enterprise on windows 2008 r2 cluster. used following article:   http://msdn.microsoft.com/en-us/library/dd897477(v=bts.10).aspx   when last step restore master secret on second node following error message: error: secrets can generated on master secret server. error: 0xc0002a0e : function can performed on master secret server. the found says name of cluster must less 15 characters, on biztalk 2004, , microsoft released hotfix. knows if on biztalk 2010 occurs same.? can me please. thanks in advance regards which step catch error? molly, please mark answer, if answers question. please vote helpful, if post helpful. BizTalk Server  >  BizTalk Server General

SQL2008 R2 BPA

i installed bpa sql 2008 r2 on windows 2008.  works fine against local sql instance, yet when tried target remote sql (ps-remote enabled in target server), got following errors:- the specified module 'baselineconfigurationanalyzer' not loaded because no valid module file found in module directory. can ?   specify remote server under enter parameter see " alter server scan " SQL Server  >  SQL Server Tools

Why am I getting random geocoding failures?

so in performing number of geocodes using unstructured queries, i'm getting random failures (missed geocodes, 0 results). take example: http://dev.virtualearth.net/rest/v1/locations?include=queryparse&query=111%20genesee%20st,%20buffalo%20ny,%2014202&key=<insert key here> run in browser. you'll answer on first request. hit f5. maybe try few times. doesn't have fast, we're not trying spam service. hit few times. somewhere in first 10 or there failure. you'll 0 results back. now if have series of addresses, , run each 1 in sequence, you'll miss few. it's bad 10 out of 100 - it's not i'm hitting same address on , on again, because i'm getting failures new address. why happen? guess maybe sort of load balancing roulette going on , i'm getting bad server , then. makes creating reliable application *really* difficult. (ps, it's pretty funny "omg no links until verified" freakout includes urls go own service)

Configuring ESB Exception Web services error

hi all   i trying configure esb toolkit 2.0 exception web sevrices on windows 7 machine x64, iis installed , configured. when apply settings error saying "iss parameters registry key is missing". 1 have resolution this?   thanks.   süleyman     hi, ensure have installed iis manager web services role service 6.0. thanks, william BizTalk Server  >  BizTalk ESB Toolkit

define an operator on class

hi guys, i want define operators in class named student.in of them +,*,- there no problem must define >=,<= , != too! tried write code last ones there errors. this class code: class student { public int _input1; public int _input2; public static int operator +(student c1, student c2) { return c1._input1 + c2._input2; } public static int operator -(student c1, student c2) { return c1._input1 - c2._input2; } public static int operator *(student c1, student c2) { return c1._input1 * c2._input2; } } can define other operators or no? please me   sincerely,skywolf of course can define. see below.  class student { public int _input1; public int _input2; public static int operator +(student c1, student c2) { return c1._input1 + c2._input2;

Add line item to an existing order.

  i have need add line item existing order. have order group id identify order via getpurchaseorderasdataset. gives me dataset representing order. want modify dataset add line items line item datatable. problem columns such lineitemid , orderformid read-only in datatable contained dataset. order orignally created converting basket order. don't want try rebuild basket , again save order order. there easier way?   thank you.   kevin     there's reason done this. without re-executing order pipelines run risk of having severely corrupt numbers in order data. i don't know run @ stage order has been completed. if running inventory checks, tax calculations, promotions, etc final numbers order off inserting new item , not running processes again. Commerce Server  >  Commerce S

How to get shipping address for a lineitem

  please tell how shipping address lineitem in pipeline. developing component  total pipeline. have calculate tax according country regards minah minah,   from abstract level: code snippet   public int32 execute(object pdisporder, object pdispcontext, int32 flags)   {             idictionary order = (idictionary)pdisporder;             idictionary addresses = (idictionary)order["addresses"];             isimplelist items = (isimplelist)order["items"];             foreach (idictionary item in items)             {                string shippingaddressid = shipment["shipping_address_id"].tostring();                 idictionary address = addresses[shippingaddressid];                //you have address line item, custom logic              }         }     this code assumes you're using lineitem addresses instead of shipments, although shipments works same way.   have looked @ sdk example included commerce server installati

Connecting BizTalk SQL Server Parallel Data Warehouse

has had issues connecting sql server parallel data warehouse . on trace, realized have function missing available in sql server 2008 not on sql server pdw any thoughts appreciated. raja hi raja, why need use biztalk sql-server parallel data warehouse (pdw). biztalk server eai tool/server need etl tool. imho choice of tool wrong. even simple data warehouse integration, desired solution integrate source system sql server databases , can populate data warehouse structure/schemas internal etl tools. in case of mpp (massive parallel processing), hub - enterprise data warehouse populated using etl process integration services or dwloader not biztalk server. regards, m.r.ashwinprabhu if answers question please mark accordingly. if post helpful, please vote helpful. BizTalk Server  > 

How Could I erase the logs from a specific source?

for example,   under application node   i have hundreds logs, that's ok!   but have 37 logs source named: "someapplication"   how can erase just them instead of node entirely?   the code snippet below erase under application node! i'd avoid that!   is possible?   thanks!   private void clearlog( string logsource, string logname) { log.source = logsource; log.log = logname; log.clear(); }     eventlog. deleteeventsource (sourcename)  trick. not specify logname since every event source name must unique accross event logs anyway. yours,    alois kraus .NET Framework  >  Common Language Runtime Internals and Architecture

C# Split xml file into multiple files

below have xml file, in file, need split xml file multiple xml files based on date column value, suppose have 10 records 3 different dates unique date records should go each file . ex here have file 3 dates output should 3 files while each file containing records of unique date data. didn't idea proceed on this, thats reason not posting code.needed urgently please <xml> <rootnode> <childnode> <date>2012-12-01</date> <name>sss</name> </childnode> <childnode> <date>2012-12-01</date> <name>sss</name> </childnode> <childnode> <date>2012-12-02</date> <name>sss</name> </childnode> <childnode> <date>2012-12-03</date> <name>sss</name> </childnode> </rootnode> </xml> here full code: using system.xml.linq; class curentity { public datetime date; public string name; public curentity(

Question about &&

i got 2 questions logical operator &&. 1) it's supposed operates between 2 bool, , when operators ints (for example) implicit conversion.. in sense? ( thought if int > 0 implicit conversion returns true = 1, i'm right?) 2) && acts & internally, right? 1) check out: int = 0; int b = 1; console.writeline("{0}", convert.toint32((a < b))); output: 1 2) c# language specification : the operation  x   &&   y  corresponds operation  x   &   y , except that  y  is evaluated if  x  is  true . wizend Visual Studio Languages  ,  .NET Framework  >  Visual C#

"Trim" Leading and trailing spaces and zeros policy not working? BizTalk 2013R2

hello, i trying generate edi850 file specific party, not allow leading , trailing spaces in fields send them. in agreement settings, under ourparty->destinationparty tab, transaction set settings > validation, added 850 transaction type , set "leading , traling spaces , zeros policy" "trim". when try generate edi850 file, looks fine in terms of delimiters , all, there still trailing spaces, example in n902 field. what missing? using biztalk 2013r2 cu5 applied. thanks first, make sure fallback settings disabled ensure resolving correct agreement. however, when sending edi, it's better format data yourself, rather rely on limited abilities of edi assembler. meaning, should taking care of extraneous characters in map before edi assembler sees data. BizTalk Server  > 

Using C++ dll in C# project

hi everybody, in c# code need use c++ dll. have test console project works fine when build exe. however, when try run form vs pressing f5 these errors: 'wwlocalconsoletester.vshost.exe' (clr v4.0.30319: wwlocalconsoletester.vshost.exe): loaded 'c:\windows\microsoft.net\assembly\gac_msil\system.xml\v4.0_4.0.0.0__b77a5c561934e089\system.xml.dll'. skipped loading symbols. module optimized , debugger option 'just code' enabled. thread 0x2bc4 has exited code 259 (0x103). thread 0x2498 has exited code 259 (0x103). 'wwlocalconsoletester.vshost.exe' (clr v4.0.30319: wwlocalconsoletester.vshost.exe): loaded 'c:\_siriusware\dev\wwlocalconsoletester\bin\debug\wwlocalconsoletester.exe'. symbols loaded. 'wwlocalconsoletester.vshost.exe' (clr v4.0.30319: wwlocalconsoletester.vshost.exe): loaded 'c:\program files (x86)\siriusware\pool\ww_local.dll'. cannot find or open pdb file. program '[14900] wwlocalconsoletester.vshost.ex

Changes to 64-bit applications are not allow- why? Using VS2008 / C# / Windowd 7

how can fix problem.   when run vs2005 / c# @ work on xp don't have issue.    home version vs2008 / c# on windows 7 x64 development limited compared x86.  if targeting x64 platform in build can't use enc.  has been documented since days of vs.  issue enabling enc revolve around how x64 runtime in combination clr work.  at time ms not consider sufficient enough warrant efforts needed fix issue.  issue has been sticking point devs years if interested in feature go connect , vote on issue.  there quite few issues written pick 1 votes , add voice. michael taylor - 9/24/2010 http://msmvps.com/blogs/p3net Archived Forums V  >  Visual C# IDE

Language Translator

Image
i want develop web application language translation using c# don't knw how proceed. plz let me knw if 1 can me out asap ndixit hi neha, welcome msdn forum! below links check out: translation web service in c# http://www.codeproject.com/kb/cpp/translation.aspx “c# web service translate text using babelfish.” create multilingual web pages using com-component http://www.codeproject.com/kb/aspnet/multilanguagepage.aspx "in complete project, have com-component translates words or sentences language another. basic mechanism of component big text file , hashlist."     meanwhile, asp.net questions, may try ask in asp.net forum: http://forums.asp.net/15.aspx/1?getting+started home  ›  asp.net forums  ›  general asp.net   ›  getting started   if have questions, please feel free let know. thank understanding , have nice day! yoyo jiang[msft] msdn community support | feedback us

Exception when trying to create a handle to Report Builder 2.0 windows

i try handle report builder 2.0 windows using c#, using maui.core same. hit exception whenever code steps @ handle statement, exception below; maui.core.app.exceptions.appandtestarerunningondifferentarchtectureexception caught   message=app running on 1 test running on 2   source=maui.core   stacktrace:        @ maui.core.app.init(appparameters p)        @ maui.core.app..ctor(int32 procid, boolean haswindow)        @ maui.core.window.getwindowapp()        @ maui.core.window.get_app()        @ maui.core.window.setfocus()        @ ms.it.legal.ipam.testing.testcases.pages.microsoftreportbuilder..ctor(string caption, stringmatchsyntax captionmatchsyntax) my os platform win7 enterprise 32 bit. hi wahed, i think member in forum not familiar report service , maui.core, recommend try sql server reporting services forum: http://social.technet.microsoft.com/forums/en/sqlreportingservices/threads have nice day. alexander sun

How to Specify dll Loading Visual C#

hello i have problem dll file not loading. suggested me on thread: http://social.msdn.microsoft.com/forums/vstudio/en-us/779a3606-d6dd-4801-aa8e-e0a409707383/unable-to-load-dll-zigbeedll?prof=required that may need specify path of dll loading correct folder (was encountering "dll not found" type of error) i have searched forums, of dll loading cases in different languages or in different situations not applicable problem. could inform me how change path of .dll not loading correctly in following class "correct" folder? using system.runtime.interopservices; namespace robotis {     unsafe class zigbee     {         public const int rc100_btn_u = 1;         public const int rc100_btn_d = 2;         public const int rc100_btn_l = 4;         public const int rc100_btn_r = 8;         public const int rc100_btn_1 = 16;         public const int rc100_btn_2 = 32;         public const int rc100_btn_3 = 64;         public const i

Performance - Examples - Inconsistent values and empty When line

Image
i attached 3 files show issues: duration values inconsistent the window doesn't wider when more width required the when line empty: time spent then? are using mobile app service on azure? if using mobile app service platform working i.e   xamarin ,android , ios   or windows ? Visual Studio Development  ,  Visual Studio Team Foundation Server  >  Application Insights (AI)

C# program to find files in a directory

hi, working on finding files directory instance .txt, .csv, .xls, .xlsx using below code. finds files of 1 extension , in specified directory , not traverse through sub-directories. how re-write search multiple file formats & traverse through sub-directories. string[] dirs = directory.getfiles(@"c:\temp\", "*.csv"); foreach (string dir in dirs) { console.writeline(dir); } thanks in advance.... sqlenthusiast try filter linq  var files = directory.getfiles("c:\\temp", "*.*", searchoption.alldirectories)             .where(s => s.endswith("*.csv") || s.endswith("*.jpg")); or  try create extension method  dinfo.getfilesbyextensions(".jpg",".exe",".gif"); public static ienumerable<fileinfo> getfilesbyextensions(this directoryinfo dir, params string[] extensions) {     if (extensions

How do I read data from sql query and insert the result into a ListDictionary?

hi, i have table looking this: userid uniqueidentifier unchecked firstname nchar(20) unchecked lastname nchar(20) unchecked birthdate datetime unchecked address nvarchar(100) unchecked mobile nchar(12) unchecked city nchar(20) unchecked country nchar(20) unchecked username nchar(20) checked i can insert data , update not fetch 1 row. i have 1 subroutine called getuserfromdb(string user). it supposed return listdictonary of user request. i.e 1 row of table. the problem userid uniqueidentifier (not allowed change this) , sqldatareader not type. when execution comes line while (reader.read()) fowwloing exception: [system.data.sqlclient.sqlexception] = {"conversion failed when converting character string uniqueidentifier."} how can work around problem? here code: using (sqlconnection mysqlconnection = new sqlconnection(connectionstring)) { sqlcommand mysqlcommand = new sqlcommand(querystring, mysqlconnection); mysq

Dev and UAT environment

hello, not know sql server dba tasks next project setup dev, uat environment. there production server. there allocated 1 server dev , server uat environment. as far know, should install sql server on each of dev , uat server, latest backup production , restore dev , uat servers. questions: 1- assumption above correct? 2- should consider , have successful setup start finish these environment? 3- thing can add me learn? 4- there link y ou can guide me kind of setup me study before start t project? kind regards hi, 1. yes correct. backup , restore correct approach. question sql server version , edition same on dev/uat of production. if same makes task easy. install sql server on dev /uat , make sure service pack level of dev/uat same prod, mean after installing sql server install sp well. after take backup of user , system databases , restore on dev/uat. restoring user database easy can refer  this link restore system databases . if not true follow below.

What's the benefit of make two places map with database table.

    accustom build program fields mapping database table. found there 2 places express mapping database in book of asp.net 2.0 website programming marco bellinaso.     first place entity class.     second place bll class.          difference that  bll has few fields coming computing or other object. way , bll classes can including fields not existing in database  , expressing relationship other bll classes.     have 2 questions:     1、was view right.     2、are there other benefits building 2 mapping. ah ok understand. well mapping reference act of converting 1 schema another. in case seems got 2 mappings, 1 database schema dal entity , 1 dal entity bll entity. depending on ask , type of project on, may or may not valid application design. the problem trying solve different algorithms , different screens need different kind of on object. martin fowler talks in presentation model maps , transforms internal entities presentation entities better suite data binding , presentation sc