<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7940597548508378052</id><updated>2011-07-31T02:07:39.345-07:00</updated><category term='Broadband'/><category term='BSNL'/><category term='UTStarcom'/><category term='Dataone'/><category term='WA3002G4'/><category term='Airtel'/><category term='Modem Configuration'/><title type='text'>Hands on Technology</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kundanburnwal.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7940597548508378052/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://kundanburnwal.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Kundan burnwal</name><uri>http://www.blogger.com/profile/02458996533419209969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7940597548508378052.post-2636892827247460837</id><published>2010-04-09T14:38:00.000-07:00</published><updated>2010-04-09T14:38:40.188-07:00</updated><title type='text'>Connecting to your office PC remotely via VPN? You need not keep it ON all the time! Save Power!</title><content type='html'>If you work from home and connect to your office PC via VPN, but keep it turned on when you leave for home, so that you'll be able to connect to it from home, then think again! You can save so much of Power by turning it off, and on remotely, from your home!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I occasionally work from home over VPN (and do remote desktop to my office PC). &lt;br /&gt;&lt;br /&gt;For saving power, I was wondering if I fully turn off my office PC, can I turn it on from my home easily, whenever I need? I had heard of something called Wake-up on LAN, but never used it until today, and it worked very well for me, so wanted to share it across, in order for us to help save Power consumption! &lt;br /&gt;&lt;br /&gt;Wake-up on LAN is a BIOS feature available available on most of the modern hardware. If you enable this feature, basically, the NIC card doesn't fully turn off itself. And when it receives a special network packet, it sends a request to BIOS to turn on the PC. By default, this feature is turned-off for security reasons.&lt;br /&gt;&lt;br /&gt;I found this feature to be available on my office Dell Desktop(3-4 years old), and enabled it. On your home PC, all you need is a small utility to send that "special packet" to the office PC to turn it on (from fully power down state). Of course, you need to know your office PC's MAC address, IP Address and netmask. &lt;br /&gt;&lt;br /&gt;Step-1: Go to your office PC's BIOS settings and enable the Wake-up on LAN feature. (this is typically there in Power Management menu). This typically asks you whether you need wake up from standby support or from full power down state. This may vary across BIOS versions and vendors. The one I've supports both and I selected Wake up from full-turn-off state. Of course, don't forget to save your BIOS settings.&lt;br /&gt;Step-2: Note down your Office PC's MAC Address, IP Address and Netmask. (you can find out using the command: ipconfig /all)&lt;br /&gt;Step-3: Turn off your office machine&lt;br /&gt;Step-4: Turn on your Home PC and connect to your VPN which you generally use to connect to office/Client network on which your office PC is.&lt;br /&gt;Step-5: Download a small utility called WolCmd (&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;http://www.depicus.com/wake-on-lan/wake-on-lan-cmd.aspx&lt;/span&gt;) to send the "Wake Up" packet to your office PC. Extract only the exe file, without folder directly to your Windows directory (typically, c:\windows) so that it is there in PATH&lt;br /&gt;&lt;br /&gt;Step-6: launch your command prompt and just run this command: (all these of your office PC)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;wolcmd &lt;mac address=""&gt;&lt;ip address=""&gt;&lt;netmask&gt;&lt;port&gt;&lt;/span&gt;&lt;br /&gt;Port no should be entered as &lt;span style="color: purple; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;8900&lt;/span&gt;&lt;br /&gt;(note that there should not be any spaces or any special characters when you enter your MAC Address)&lt;br /&gt;&lt;br /&gt;Please see the link: &lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;http://www.depicus.com/wake-on-lan/wake-on-lan-cmd.aspx&lt;/span&gt; &lt;br /&gt;Once this works, you can always add this command to a bat file, and just run the bat file everytime!&lt;br /&gt;&lt;br /&gt;Step-7: Wait for sometime: typically the time it takes to boot your office PC. Then try pinging to your office PC as:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;ping &lt;office address="" ip="" pc=""&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you see a reply, it means your office PC just started!! After that you'll need to wait further until windows starts. Now you can do what you want with you office PC, like connecting via Remote Desktop.&lt;br /&gt;&lt;br /&gt;Note: to shutdown your office PC from Remote Desktop, you'll need to shutdown via the Task Manager (Ctrl+Alt+Del will give&amp;nbsp;you access to Local PC's task manager, or security screen, not of remote system. So for that, Right-click on taskbar of remote system and click on task-manager. Go to the Shutdown Menu and choose Turn-off or stand-by, whatever you want. The other way of doing it is from command prompt/run dialog: &lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;strong&gt;&lt;span style="color: blue;"&gt;shutdown -s -t&lt;/span&gt; 10&lt;/strong&gt;&lt;/span&gt; (this will wait for 10 seconds before starting shutdown. if u want to do it immediately, make the last argumanet as 0)&lt;br /&gt;&lt;br /&gt;Hope this helps to save good amount of power!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7940597548508378052-2636892827247460837?l=kundanburnwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kundanburnwal.blogspot.com/feeds/2636892827247460837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7940597548508378052&amp;postID=2636892827247460837' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7940597548508378052/posts/default/2636892827247460837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7940597548508378052/posts/default/2636892827247460837'/><link rel='alternate' type='text/html' href='http://kundanburnwal.blogspot.com/2010/04/connecting-to-your-office-pc-remotely.html' title='Connecting to your office PC remotely via VPN? You need not keep it ON all the time! Save Power!'/><author><name>Kundan burnwal</name><uri>http://www.blogger.com/profile/02458996533419209969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7940597548508378052.post-2660854247388033535</id><published>2009-12-03T06:06:00.000-08:00</published><updated>2009-12-03T06:08:53.131-08:00</updated><title type='text'>Doing lots of repititive tasks at your workplace?</title><content type='html'>If you're a software developer or tester, esp. in Java domain, you might be doing a lot of&amp;nbsp;repetitive stuff, making things boring! Consider my scenario, where we have a huge J2EE Enterprise application (source code ~600MB), where we have to get code update from SVN repository, build, deploy into weblogic server, start the server, run unit tests, create data on test DB for integration tests, run integration tests, cleanup test data, generate reports of tests, backing up files which are changed from current revision of source control (SVN), committing the files etc etc. If you use something like Ant properly, then chances are that a sizable chunk of these jobs would be just ant targets, but not all. Its like: I don't want to keep waiting for the build to finish before I start Weblogic manually. Or why cant the IE start automatically with its homepage after the server has started? Why cant it all happen automatically?&lt;br /&gt;&lt;br /&gt;Yes..lots of things can be automated. If you know any scripting language, like BASH, PERL etc, and you want to automate these things, life would be so much easier! Chances are that most developers use windows. In that case, Cygwin is good enough for automating things! Windows command shell and its scripting feels much lower on feature set and not so well documented. I prefer Unix Bash Scripting, may be because I'm comfortable with it :)&lt;br /&gt;&lt;br /&gt;For instance, if you want to take a backup of the files changed, then with some changes, you can use&amp;nbsp;&lt;a href="http://sites.google.com/site/kundanburnwal/kundanburnwal/backupchanged.sh"&gt;backupchanged.sh&lt;/a&gt;&amp;nbsp;This assumes that you have a folder named backups a directory above your current working directory. This first calls SVN status, converts the backslash of windows to forward slash of Unix, creates a directory inside ../backups/ based on timestamp, iterates over all the files and copies each of them to this directory!&lt;br /&gt;Some other scripts which you may find useful are:&amp;nbsp;&lt;a href="http://sites.google.com/site/kundanburnwal/kundanburnwal/status.sh"&gt;status.sh&lt;/a&gt;&amp;nbsp;which does svn status and writes the output to a file, whose name is generated by timestamp;&amp;nbsp;&lt;a href="http://sites.google.com/site/kundanburnwal/kundanburnwal/update.sh"&gt;update.sh&lt;/a&gt;&amp;nbsp;which does svn update and redirects the output to a file named as per timestamp.&lt;br /&gt;Also, You can also use aliases very well. I use them a lot.&lt;br /&gt;Here are some of my aliases:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;alias build='stopweblogic; ant dist.exploded; startweblogic'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;alias cleanbuild='ant clean dist.exploded'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: small;"&gt;alias dist='ant dist.exploded'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;alias iexplore='/cygdrive/c/Program\ Files/Internet\ Explorer/iexplore.exe'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: small;"&gt;alias np='/cygdrive/c/Program\ Files/Notepad++/notepad++.exe'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: small;"&gt;alias runinttestall='testdbup; ant integrationTestAll; ant integrationTest.report; testdbdown'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;alias rununittestall='ant unitTestAll; ant unitTest.report'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;alias schemaupdate='cd database/updates ; sqlplus kundan/&lt;pass&gt;@&lt;host&gt; @schema_update ; cd ../../'&lt;/host&gt;&lt;/pass&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;alias sqlkundan='sqlplus kundan/&lt;pass&gt;@&lt;host&gt;'&lt;/host&gt;&lt;/pass&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;alias sqlsystem='sqlplus system/&lt;pass&gt;@&lt;host&gt;'&lt;/host&gt;&lt;/pass&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;alias startweblogic="cmd /C 'start E:\bea\user_projects\domains\rr-domain\startWebLogic.cmd'"&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;alias status='./status.sh'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;alias stopweblogic="cmd /C 'E:\bea\user_projects\domains\rr-domain\stopWebLogic.cmd'"&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;alias testdbdown='ant testdb.cleanup'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;alias testdbup='ant testdb.setup'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;alias update='./update.sh'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;So, if I need to stop my weblogic server, build the code and start it again, then all I do is just type: build on the cygwin prompt! If I need to do schema-update, which is done by logging into sqlplus as a particular user and running an sql script by first changing into a particular directory, all I do is run: schemaupdate. Also notice how we can run windows batch files or command scripts from Cygwin using cmd /C &lt;path-to-batch-file&gt;&lt;/path-to-batch-file&gt;&lt;br /&gt;&lt;br /&gt;I hope this makes sense at least to some folks who have not realized the power of Unix! How they can automate seemingly dumb and&amp;nbsp;repetitive&amp;nbsp;tasks which takes the joy away from their work, and spend the remaining time in... ?? Surely not on computer (pass this reward to your body: mainly eyes!) ! May be taking breaks, going out for a walk, chatting with people (sorry.. no IM.. face to face!)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7940597548508378052-2660854247388033535?l=kundanburnwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kundanburnwal.blogspot.com/feeds/2660854247388033535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7940597548508378052&amp;postID=2660854247388033535' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7940597548508378052/posts/default/2660854247388033535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7940597548508378052/posts/default/2660854247388033535'/><link rel='alternate' type='text/html' href='http://kundanburnwal.blogspot.com/2009/12/doing-lots-of-repititive-tasks-at-your.html' title='Doing lots of repititive tasks at your workplace?'/><author><name>Kundan burnwal</name><uri>http://www.blogger.com/profile/02458996533419209969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7940597548508378052.post-7620794648067436259</id><published>2008-08-28T05:57:00.000-07:00</published><updated>2008-08-28T06:19:42.135-07:00</updated><title type='text'></title><content type='html'>I was trying to install Documentum 6.0 SP1 default Web-Publisher as a J2EE application on Apache Tomcat 5.X.&lt;br /&gt;&lt;br /&gt;The problem is that by default, Apache Tomcat 5.x implements and enables JSP Tag Pooling. And Documentum 6.0 SP1 web Pulisher doesn't support tag pooling.&lt;br /&gt;&lt;br /&gt;I did the following steps to install Web Publisher (WP) on Apache Tomcat 5.0&lt;br /&gt;BTW, you can get Tomcat's most versions (even not listed on downloads page) from the URL:&lt;br /&gt;&lt;a href="http://archive.apache.org/dist/tomcat/"&gt;http://archive.apache.org/dist/tomcat/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I installed 5.0.28 version from the URL:&lt;br /&gt;&lt;a href="http://archive.apache.org/dist/tomcat/tomcat-5/v5.0.28/bin/"&gt;http://archive.apache.org/dist/tomcat/tomcat-5/v5.0.28/bin/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have my WP packaged as a WAR file (wp.war) and I just dumped it in the webapps directory, and restarted the server. Since the war file is quite big (~200 MB), uncompressing it takes good 10-15 mins on my system. After you stop seeing the hard-disk icon flashing, you need to navigate to http://localhost:8080/manager/html and make sure that wp appears as an application and it is started (if not, start it manually).&lt;br /&gt;&lt;br /&gt;When you navigate to http://localhost:8080/wp/ you see an error page:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;com.documentum.web.form.control.TagPoolingEnabledException: JSP tag pooling is not supported. Please refer to the product deployment guide for instructions on turning off tag pooling for the application server.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So how to disable JSP tag-pooling? The tomcat Wiki mentions how to do that, but for a beginner, things may not be so clear, so I took the pain of writing this post.&lt;br /&gt;&lt;br /&gt;It worked for me after editing the file: $TOMCAT-HOME/conf/web.xml,&lt;br /&gt;going to two servlet declarations: &lt;span style="font-weight: bold; color: rgb(255, 0, 0);font-family:courier new;" &gt;default&lt;/span&gt; and &lt;span style="font-weight: bold; color: rgb(255, 0, 0);font-family:courier new;" &gt;jsp&lt;/span&gt;&lt;br /&gt;---------------------------------------------------------------------------------------&lt;br /&gt;&lt;servlet&gt;The file is uploaded here for convenience:&lt;/servlet&gt;&lt;br /&gt;                &lt;a href="http://kundan.burnwal.googlepages.com/web.xml"&gt;http://kundan.burnwal.googlepages.com/web.xml&lt;/a&gt;&lt;br /&gt;---------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;The portion in red shows what extra has been added and where! That should be enough.&lt;br /&gt;Now, to be on the safer side, go to $TOMCAT-HOME/work/Catalina/localhost and delete the folder: "wp" and "_" and Re-start the server. Clear the browser cache (Ctrl+R should do in Firefox) and navigate to http://localhost:8080/wp/ and hurray! things should work for you!&lt;br /&gt;&lt;br /&gt;At least it works for me!!!!&lt;br /&gt;&lt;br /&gt;Feel free to get back to me in case you have any problems doing this!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7940597548508378052-7620794648067436259?l=kundanburnwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kundanburnwal.blogspot.com/feeds/7620794648067436259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7940597548508378052&amp;postID=7620794648067436259' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7940597548508378052/posts/default/7620794648067436259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7940597548508378052/posts/default/7620794648067436259'/><link rel='alternate' type='text/html' href='http://kundanburnwal.blogspot.com/2008/08/disabling-tag-pooling-in-apache-tomcat.html' title=''/><author><name>Kundan burnwal</name><uri>http://www.blogger.com/profile/02458996533419209969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7940597548508378052.post-6357968186486639067</id><published>2008-05-30T10:38:00.000-07:00</published><updated>2008-08-28T06:21:41.833-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Modem Configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='UTStarcom'/><category scheme='http://www.blogger.com/atom/ns#' term='BSNL'/><category scheme='http://www.blogger.com/atom/ns#' term='Broadband'/><category scheme='http://www.blogger.com/atom/ns#' term='Airtel'/><category scheme='http://www.blogger.com/atom/ns#' term='Dataone'/><category scheme='http://www.blogger.com/atom/ns#' term='WA3002G4'/><title type='text'>Using BSNL DataOne Type-2/4 Modem with Airtel Broadband</title><content type='html'>&lt;div id="container"&gt;     &lt;div class="wrapper"&gt;       &lt;div id="header"&gt;         &lt;div class="wrapper"&gt;&lt;br /&gt;&lt;div id="g_description"&gt;&lt;strong&gt;Configuring BSNL DataOne Broadband Modem UTStarcom Model No. WA3002G4 for Airtel Broadband&lt;/strong&gt;&lt;/div&gt;                    &lt;/div&gt;       &lt;/div&gt;       &lt;!-- /editable --&gt;&lt;!-- /wrapper --&gt;&lt;!-- /header --&gt;       &lt;div id="main-content"&gt;                  &lt;div class="wrapper"&gt;           &lt;div class="content-item"&gt;&lt;div id="g_body"&gt;&lt;p&gt;I had a tough time configuring my BSNL provided type-2 Modem with Wi-Fi, to use it with Airtel Broadband. So I'm posting it here, so that others don't have to go through the pain.&lt;/p&gt; &lt;p&gt;All these settings should work with Model No. WA3002G4, Dataone Modem, manufactured by UTStarcom. &lt;/p&gt; &lt;p&gt;The key is in setting the WAN setting correctly. &lt;/p&gt; &lt;p&gt; &lt;/p&gt;&lt;table border="1" cellpadding="4" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr align="center"&gt; &lt;td class="hd"&gt;VPI/VCI&lt;/td&gt; &lt;td class="hd"&gt;Con. ID&lt;/td&gt; &lt;td class="hd"&gt;Category&lt;/td&gt; &lt;td class="hd"&gt;Service&lt;/td&gt; &lt;td class="hd"&gt;Interface&lt;/td&gt; &lt;td class="hd"&gt;Protocol&lt;/td&gt; &lt;td class="hd"&gt;Igmp&lt;/td&gt; &lt;td class="hd"&gt;QoS&lt;/td&gt; &lt;td class="hd"&gt;State&lt;/td&gt; &lt;td class="hd"&gt;Remove&lt;/td&gt; &lt;td class="hd"&gt;Edit&lt;/td&gt;&lt;/tr&gt; &lt;tr align="center"&gt; &lt;td&gt;1/32&lt;/td&gt; &lt;td&gt;1&lt;/td&gt; &lt;td&gt;UBR&lt;/td&gt; &lt;td&gt;Airtel&lt;/td&gt; &lt;td&gt;ppp_1_32_1&lt;/td&gt; &lt;td&gt;PPPoE&lt;/td&gt; &lt;td&gt;Disabled&lt;/td&gt; &lt;td&gt;Disabled&lt;/td&gt; &lt;td&gt;Enabled&lt;/td&gt; &lt;td align="center"&gt;&lt;input value="1|32|1" name="rml" type="checkbox"&gt;&lt;/td&gt; &lt;td align="center"&gt;&lt;input value=" Edit " onclick="editClick(1,32,1)" type="button"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;p&gt;The summary of this section is as below:&lt;/p&gt; &lt;p&gt;&lt;strong&gt;WAN Setup - Summary&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;Make sure that the settings below match the settings provided by your ISP.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;table border="1" cellpadding="3" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="hd"&gt;VPI / VCI:&lt;/td&gt; &lt;td&gt;1 / 32 &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;Connection Type:&lt;/td&gt; &lt;td&gt;PPPoE &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;Service Name:&lt;/td&gt; &lt;td&gt;Airtel &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;Service Category:&lt;/td&gt; &lt;td&gt;UBR &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;IP Address:&lt;/td&gt; &lt;td&gt;Automatically Assigned &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;Service State:&lt;/td&gt; &lt;td&gt;Enabled &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;NAT:&lt;/td&gt; &lt;td&gt;Enabled &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;Firewall:&lt;/td&gt; &lt;td&gt;Enabled &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;IGMP Multicast:&lt;/td&gt; &lt;td&gt;Disabled &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;Quality Of Service:&lt;/td&gt; &lt;td&gt;Disabled &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;Make sure your username and password are correctly specified correctly.&lt;/p&gt; &lt;p&gt;The ADSL State:&lt;/p&gt; &lt;p&gt; &lt;/p&gt;&lt;form&gt;&lt;b&gt;Device Info&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;table border="1" cellpadding="3" cellspacing="0"&gt; &lt;script language="javascript"&gt; &lt;!-- hide showCusVer = '0'; showCusModel = '0';   document.writeln(" &lt;tr&gt;");  document.writeln(" &lt;td class="'hd'"&gt;BoardID:&lt;/td&gt;");  if (showCusModel != '1')  document.writeln(" &lt;td&gt;96338W&lt;/td&gt;");  else  document.writeln(" &lt;td&gt;&lt;/td&gt;");  document.writeln(" &lt;/tr&gt;");  document.writeln(" &lt;tr&gt;");  document.writeln(" &lt;td class="'hd'"&gt;Software Version:&lt;/td&gt;");  if (showCusVer != '1')  document.writeln(" &lt;td&gt;1132_061507-3.08L.BSNL_02.&lt;/td&gt;");  else  document.writeln(" &lt;td&gt;&lt;/td&gt;");  document.writeln(" &lt;/tr&gt;");  // done hiding --&gt; &lt;/script&gt; &lt;tbody&gt;&lt;tr&gt;  &lt;td class="hd"&gt;BoardID:&lt;/td&gt;  &lt;td&gt;96338W&lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;  &lt;td class="hd"&gt;Software Version:&lt;/td&gt;  &lt;td&gt;1132_061507-3.08L.BSNL_02.&lt;/td&gt;  &lt;/tr&gt;   &lt;/tbody&gt;&lt;tbody&gt; &lt;tr&gt; &lt;td class="hd"&gt;BoardID:&lt;/td&gt; &lt;td&gt;96338W&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;Software Version:&lt;/td&gt; &lt;td&gt;1132_061507-3.08L.BSNL_02.&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;Bootloader (CFE) Version:&lt;/td&gt; &lt;td&gt;1.0.37-8.7&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;Firmware Version:&lt;/td&gt; &lt;td&gt;WA3002G4-0021.01&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;Hardware Version:&lt;/td&gt; &lt;td&gt;WA3002G4 1.0&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;Model Name:&lt;/td&gt; &lt;td&gt;WA3002G4&lt;/td&gt;&lt;/tr&gt; &lt;script language="javascript"&gt; var VdslIncluded = 'false'; if ( VdslIncluded == 'true') {  document.write(" &lt;tr&gt; ");  document.write(" &lt;td class="'hd'"&gt;VDSL Software Version:&lt;/td&gt; ");  document.write(" &lt;td&gt;&lt;/td&gt; ");  document.write(" &lt;/tr&gt;"); } &lt;/script&gt;  &lt;script language="javascript"&gt; &lt;!-- hide if ('1' == '1') {  document.writeln(" &lt;tr&gt;");  document.writeln(" &lt;td class="'hd'"&gt;Wireless Driver Version:&lt;/td&gt;");  document.writeln(" &lt;td&gt;3.131.35.6.cpe2.0a.s&lt;/td&gt;");  document.writeln(" &lt;/tr&gt;"); } // done hiding --&gt; &lt;/script&gt; &lt;tr&gt;  &lt;td class="hd"&gt;Wireless Driver Version:&lt;/td&gt;  &lt;td&gt;3.131.35.6.cpe2.0a.s&lt;/td&gt;  &lt;/tr&gt;   &lt;tr&gt; &lt;td class="hd"&gt;Wireless Driver Version:&lt;/td&gt; &lt;td&gt;3.131.35.6.cpe2.0a.s&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;This information reflects the current status of your DSL connection.&lt;br /&gt;&lt;br /&gt;&lt;table border="1" cellpadding="3" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;script language="javascript"&gt; var VdslIncluded = 'false'; if ( VdslIncluded == 'false') {  document.write("&lt;tr&gt;");  document.write("&lt;td class="'hd'"&gt;Line Rate - Upstream (Kbps):&lt;/td&gt;");  document.write("&lt;td&gt;1024&lt;/td&gt;");  document.write("&lt;/tr&gt;" );  document.write("&lt;tr&gt;");  document.write("&lt;td class="'hd'"&gt;Line Rate - Downstream (Kbps):&lt;/td&gt;");  document.write("&lt;td&gt;2560&lt;/td&gt;");  document.write("&lt;/tr&gt;"); } else {  document.write("&lt;tr&gt;");  document.write("&lt;td class="'hd'"&gt;B0 Traffic Type:&lt;/td&gt;");  document.write("&lt;td&gt;&lt;/td&gt;");  document.write("&lt;/tr&gt;");  document.write("&lt;tr&gt;");  document.write("&lt;td class="'hd'"&gt;B0 Line Rate - Upstream (Kbps):&lt;/td&gt;");  document.write("&lt;td&gt;1024&lt;/td&gt;");  document.write("&lt;/tr&gt;");  document.write("&lt;tr&gt;");  document.write("&lt;td class="'hd'"&gt;B0 Line Rate - Downstream (Kbps):&lt;/td&gt;");  document.write("&lt;td&gt;2560&lt;/td&gt;");  document.write("&lt;/tr&gt;");  document.write("&lt;tr&gt;");  document.write("&lt;td class="'hd'"&gt;B1 Traffic Type:&lt;/td&gt;");  document.write("&lt;td&gt;&lt;/td&gt;");  document.write("&lt;/tr&gt;");  document.write("&lt;tr&gt;");  document.write("&lt;td class="'hd'"&gt;B1 Line Rate - Upstream (Kbps):&lt;/td&gt;");  document.write("&lt;td&gt;1024&lt;/td&gt;");  document.write("&lt;/tr&gt;");  document.write("&lt;tr&gt;");  document.write("&lt;td class="'hd'"&gt;B1 Line Rate - Downstream (Kbps):&lt;/td&gt;");  document.write("&lt;td&gt;2560&lt;/td&gt;");  document.write(" &lt;/tr&gt;"); } &lt;/script&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="hd"&gt;Line Rate - Upstream (Kbps):&lt;/td&gt;&lt;td&gt;1024&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="hd"&gt;Line Rate - Downstream (Kbps):&lt;/td&gt;&lt;td&gt;2560&lt;/td&gt;&lt;/tr&gt;  &lt;tr&gt; &lt;td class="hd"&gt;Line Rate - Upstream (Kbps):&lt;/td&gt; &lt;td&gt;1024&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;Line Rate - Downstream (Kbps):&lt;/td&gt; &lt;td&gt;2560&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;LAN IP Address:&lt;/td&gt; &lt;td&gt;192.168.1.127&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;MAC Address:&lt;/td&gt; &lt;td&gt;00-1b-57-fc-ff-03&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;Default Gateway:&lt;/td&gt; &lt;script language="javascript"&gt; &lt;!-- hide var dfltGw = '122.167.64.1'; var dfltGwIfc = '&amp;nbsp'; if ( dfltGw != '&amp;nbsp' )  document.writeln(" &lt;td&gt;" + dfltGw + "&lt;/td&gt;"); else  document.writeln(" &lt;td&gt;" + dfltGwIfc + "&lt;/td&gt;"); // done hiding --&gt; &lt;/script&gt; &lt;td&gt;122.167.64.1&lt;/td&gt;   &lt;td&gt;122.167.64.1&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;Primary DNS Server:&lt;/td&gt; &lt;td&gt;125.22.47.125&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="hd"&gt;Secondary DNS Server:&lt;/td&gt; &lt;td&gt;202.56.250.5&lt;/td&gt;&lt;/tr&gt; &lt;script language="javascript"&gt; &lt;!-- hide var buildSntp = '1'; var enblSntp = '0'; var proto = 'PPPoE';  if ( buildSntp == '1' &amp;&amp; enblSntp == '1' &amp;&amp; proto != 'Bridge' ) {  document.writeln(" &lt;tr&gt;");  document.writeln(" &lt;td class="'hd'"&gt;Date/Time:&lt;/td&gt;");  document.writeln(" &lt;td&gt;Sat Jan 1 00:22:51 2000&lt;/td&gt;");  document.writeln(" &lt;/tr&gt;"); } // done hiding --&gt; &lt;/script&gt; &lt;/tbody&gt;&lt;/table&gt;&lt;/form&gt; &lt;p&gt;&lt;span style="font-size:130%;"&gt;I'm attaching the conf file, which you can directly use, if you're using the same modem  model no. and Modem. Use this at your own risk.  &lt;/span&gt;&lt;a href="http://kundan.burnwal.googlepages.com/AirtelSetting_final_slow.conf"&gt;&lt;span style="font-size:130%;"&gt;Settings File in XML Like Format&lt;/span&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:130%;"&gt;This will set the password of Username: admin as admin. and the IP Address of Modem to be: 192.168.1.127&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:130%;"&gt;You need to change the Username &amp;amp; Password in PPP section, as well as change the Wireless SSID and WEP Password&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;                    &lt;/div&gt;       &lt;/div&gt;       &lt;!-- /wrapper --&gt;&lt;!-- /main-content --&gt;       &lt;div id="footer"&gt;&lt;div class="wrapper"&gt;         &lt;hr /&gt;         &lt;div id="g_footer"&gt;If you have any problem, you can write to me at: kundan[dot]burnwal[at]gmail[dot]com&lt;/div&gt;                &lt;/div&gt;&lt;/div&gt;       &lt;!-- /wrapper --&gt;&lt;!-- /footer --&gt;     &lt;/div&gt;   &lt;/div&gt; &lt;!-- /wrapper --&gt;&lt;!-- /container --&gt;  &lt;div id="extraDiv1"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div id="extraDiv2"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div id="extraDiv3"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div id="extraDiv4"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div id="extraDiv5"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div id="extraDiv6"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7940597548508378052-6357968186486639067?l=kundanburnwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kundanburnwal.blogspot.com/feeds/6357968186486639067/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7940597548508378052&amp;postID=6357968186486639067' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7940597548508378052/posts/default/6357968186486639067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7940597548508378052/posts/default/6357968186486639067'/><link rel='alternate' type='text/html' href='http://kundanburnwal.blogspot.com/2008/05/using-bsnl-dataone-type-24-modem-with.html' title='Using BSNL DataOne Type-2/4 Modem with Airtel Broadband'/><author><name>Kundan burnwal</name><uri>http://www.blogger.com/profile/02458996533419209969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7940597548508378052.post-4212688004646556728</id><published>2008-05-30T10:34:00.000-07:00</published><updated>2008-05-30T10:37:33.148-07:00</updated><title type='text'>SQL Server Merge Replication</title><content type='html'>&lt;div class="content-item"&gt;&lt;div id="g_body"&gt;&lt;p&gt;I had run into tonnes of problems installing &amp;amp; configuring Merge Replication mention between MS SQL Server and SQL Server Mobile, but finally got everything working. So thought of writing this article which would help many of the newbies trying to do this. If you're not a newbie, this is probably not the right place for you!&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks to Phil for all the help!&lt;/p&gt;&lt;p style="color: rgb(204, 0, 0);"&gt;&lt;span style="font-size:130%;"&gt;Please note that this article is only a supplement to the following article:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;&lt;a style="color: rgb(204, 0, 0);" href="http://msdn2.microsoft.com/en-us/library/ms171908.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms171908.aspx&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;First of all, Merge Replication is about two-way synchronization between data (tables. Does it synchronize anything else?) across two SQL Servers. I'm going to mention the synchronization in SQL Server on Desktop and SQL server Mobile or SQL Server CE (as Microsoft calls the newer versions of it). I've done it only using SQL Server Management Studio, plus also tested it on real Windows Mobile Device (WM6, HTC Touch) with .Net Compact Framework 2.0 installed, using C# code for initiating Synchronization from device, though in this article, the process is described only using SQL Server Management Studio.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;What do you need?&lt;/span&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt; SQL Server Standard Edition or higher: Please note, that you should either install MS-SQL Server Standard Edition or Developer Edition. You cannot create a publication using SQL Server Express Edition. Although I guess it can act as a subscriber (I'm not very sure). &lt;span style="color: rgb(204, 0, 0);"&gt;Enterprise Edition definitely supports all of these, plus publication using Oracle Database as well, being a super-set of other editions, but be careful! The Enterprise Edition cannot be installed on Windows XP Professional SP2. It needs Windows Server 2003 SP1 as the minimum OS. On the other hand, Microsoft does allow the Evaluation Version of the Enterprise Edition to be installed on Windows XP SP2&lt;/span&gt;. For more details, refer to the Installation requirements of SQL Server Enterprise Edition. It mentions that the Enterprise Edition doesn't support all the platforms which the Evaluation Edition Supports! (I spent nearly a day figuring that out why was the Enterprise Edition not installing on my Laptop running Windows XP Pro SP2!). I've personally tested it on both Standard Edition as well as Evaluation Edition (Enterprise)&lt;/li&gt;&lt;/ol&gt;&lt;div style="margin-left: 40px;"&gt;&lt;span style="color: rgb(51, 102, 255);font-size:85%;" &gt;Microsoft recently released SP1 for SQL Server 2005 (possibly all editions). I've not installed that and instead used the default one available on the web-link given in "Installing MS-SQL Servet" section below.&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;  &lt;/p&gt;&lt;ol&gt;&lt;li&gt;IIS: that's easy.. to be done from Add Remove Windows Components from appwiz.cpl (Add Remove Programs in Control Panel)&lt;br /&gt;&lt;/li&gt;&lt;li&gt; SQL Server Mobile or SQL Server CE with corresponding version of Server Tools. E.g. if you have installed SQL Server CE 3.5, then you must also have installed SQL Server CE Server Tools 3.5. Please note that the names are not accurate. For me  it worked for SQL Server CE 3.5 &amp;amp; corresponding Server Tools&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Windows XP Pro SP2 with administrative log-on access&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;Installing MS SQL Server &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-size:85%;"&gt;If you're a newbie, consider downloading the evaluation version from Microsoft Technet or MSDN. I did it from Technet, without understanding the real difference :)&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://www.microsoft.com/sql/downloads/trial-software.mspx"&gt;http://www.microsoft.com/sql/downloads/trial-software.mspx&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;You can try downloading the Self-Extracting Executable and run it. It asks for location to Extract the files. For this article, lets assume you extracted it to c:\SQLEVAL\&lt;/p&gt;&lt;p&gt;You need to launch c:\SQLEVAL\Servers\default.hta and click on the Install: Database, SDK etc link. It should launch the set up.&lt;/p&gt;&lt;p style="color: rgb(204, 0, 0);"&gt;Warning: If you already have any other version of SQL Server Installed, you must do this way:&lt;/p&gt;&lt;p style="color: rgb(204, 0, 0);"&gt;Open command prompt. Change directory to C:\SQLEVAL\Servers\ and then run &lt;/p&gt;&lt;p style="color: rgb(204, 0, 0);"&gt;C:\SQLEVAL\Server&gt; setup.exe SKUUPGRADE=1&lt;/p&gt;&lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;Also, if you already have SQL Server Express Management Studio with very limited capabilities, that might interfere with MSSQL Server Management Studio which is a part of the Installation Tools package. If you cannot access the full management studio, I would suggest to try and remove the workstation components or SQLEXPRESS completely before installing this. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;For only replication usage, the following components need to be installed: &lt;/span&gt;Database Engine, Integration Services &amp;amp; Workstation Components. You need not install Analysis and Reporting Services.&lt;/p&gt;&lt;p&gt;While installing, make sure that all three Services run automatically. Also, when  it asks which account to use for running the following: (1) MSSQLSERVER (2) SQL Agent (3) Integration Services etc, all the services should be run by the user: LocalSystem (builtin account). At least for me, it mattered! It can be done later as well Strictly from SQL Server Configuration Manager. Please don't change the logon account for these services from Microsoft Services (services.msc), else you'll run into problems. Microsoft has already mentioned this in its knowledge base which I came across whileI ran into this problem :)&lt;/p&gt;&lt;p&gt;If you're running the above services as any other account, go to Programs -&gt; SQL Server 2005 -&gt; Configuration Tools -&gt; SQL Server Configuration Manager -&gt; SQL Server 2005 Services. On the right pane, whatever services you see, all of them should be using LocalService account. I'm not sure of the reason. Make sure that each of the services are restarted to reflect the change in logon account.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;For authentication options, I checked to use Windows authentication during installation, and not SQL Server Authentication.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;There isn't much where you might go wrong in installing IIS or SQL Server Mobile or its tools, so I'm skipping that portion.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;Replication Configuration&lt;/span&gt;&lt;br /&gt;After you've installed everything,just launch SQL Server Management Studio from Programs -&gt; SQL Server 2005 -&gt; SQL Server Management Studio&lt;/p&gt;&lt;p&gt;Depending upon what services are installed, it may give lots of server options. Depending upon what it shows, you may either choose Database Engine or name of the MSSQLServer, which you might have specified during installation. I guess it is usually the same as the network name of the machine on which you've installed it. In this I'm assuming my machine name to be KUNDAN-LAPTOP, and so is the name of the database server.&lt;/p&gt;&lt;p&gt;Make sure you create a snapshot share (\\KUNDAN-LAPTOP\snapshot), create two user-accounts: snapshot_agent and IUSR_Machine-Name(IUSR_KUNDAN-LAPTOP) with appropriate permissions as in the main article:&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&lt;a style="color: rgb(204, 0, 0);" href="http://msdn2.microsoft.com/en-us/library/ms171908.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms171908.aspx&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Create a new database, say ReplTestDB with say one table named tblIDName with two fields: ID &amp;amp; name. Pump in some data in the table(say 3 rows for now). Right Click on this database-&gt; Properties&lt;span style=";font-family:Arial;font-size:10;"  &gt;-&gt;Permissions-&gt;The two users: snapshot_agent and IUSR_Machine-Name should have access to the following role: Connect &amp;amp; Connect Replication.&lt;o p=""&gt; I’m not sure if it would be really required for IUSR account to have connect replication role, but for the snapshot_agent account, it definitely makes sense!&lt;/o&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;In the object explorer -&gt; Security -&gt; Logins -. right click to create two logins one after the other snapshot_agent &amp;amp; IUSR_Machine-Name and for each login, select the database: ReplTestDB, and give db_owner and public role.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;Then go ahead and create a publication as mentioned in the main article above. Let us name the Publication: ReplTestPub. You should right-click on the publication and go to properties-&gt;publication access list-&gt;Click on Add. You should be able to see two accounts to add: snapshot_agent &amp;amp; IUSR_Machine-Name. Select both and add.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;Now, its the time to run snapshot_agent. Right click on the publication -&gt; view snapshot status -&gt; start. You shouldn't be seeing any error (hopefully!). If you see, then refer to Object Explorer-&gt;SQL Server Agent-&gt;Error Logs-&gt;Current.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;&lt;span style="color: rgb(255, 0, 0);"&gt;If you see errors after running the snapshot agent, the best deal would be to Add "snapshot_agent" account to "administrators" group. I don't know why this should do the trick, but it worked for me on two different machines, even though the "snapshot_agent" account was added to "publication access list" in the properties of the publication&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;&lt;o p=""&gt;&lt;/o&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt; If it worked fine up to here for you, then chances are it won't give any problem from here onwards.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Now go ahead and configure web-synchronization wizard as mentioned in the main article. &lt;/p&gt;&lt;p&gt;Next, create an SQL Mobile Subscription by creating an SQL mobile Database, and configuring the subscription as mentioned in the main article. After doing this, you can just right click on the subscription  -&gt; Synchronize now. I should work! (hopefully). The result should be that the table should be created with the same row values as the table in the Server Database&lt;br /&gt;&lt;/p&gt;&lt;p&gt;To verify it indeed works, you can open a new query window and execute an insert query in the SQL Mobile Database, and then synchronize the publication again as  above. Now you should be able to see the new rows just inserted in the table in the SQL Server Database! This would prove that synchronization worked in the direction from Mobile to Server.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;To verify the synchronization from Server to Mobile, add a row in that table in the server database, run the snapshot agent again (by right clicking on the publication -&gt; view snapshot status  -&gt; start), and then right click on the subscription in SQL Mobile Database -&gt; Synchronize. Then in the Query, you can do a Select * from table-name query to see that the new rows are updated in the SQL Mobile database as well!&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Well! thats about it!! &lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;Troubleshooting&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;The overall process of Setting up replication is at least cumbersome. There are a couple of things that can go wrong. Some of these are as follows:&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Your installation of SQL Server 2005 may not be right. Please note that the free version of SQL Server (which is SQL server 2005 Express Edition) does not support publication. It can only be a subscriber which can synchronize with a SQL Server Standard/Developer/Enterprise Edition Publication, but you cannot create a publication in SQL Server Express for a SQL Server CE/Mobile or any other to subscriber to synchronize with it! So be ready to either shell off few 100 odd bucks, or better, for trail purposes, use the 90-days fully functional evaluation version.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;If the Server is indeed running, and installed correctly, you should be able to see the following in the SQL Server Configuration Manager (Programs-&gt; SQL Server 2005-&gt;Configuration Tools-&gt;SQL Server Configuration manager): MSSQLSERVER, SQL Server Agent, SQL Server Integration Services. Make sure all of these services are running as the user: Local Service. If not, please change the logon account associated with these process one after the other. If you want to completely play safe, you may want to restart your computer and make sure these process are running before you even attempt to try replication.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;After you create a snapshot share on your computer, make sure the user: snapshot_agent and the user: IUSR_Machine-Name are able to browse the network-share \\machine-name\snapshot_share. Usually, that would mean that even if the snapshot is a local share, you must be connected on the workgroup-network/domain. So if you're in a company, make sure you're at least able to connect other workgroup/domain computers.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;After you create the database which you want to publish, make sure you add the users:  &lt;/span&gt;&lt;span style="font-size:85%;"&gt;snapshot_agent and IUSR_Machine-Name to the logins in SQL Server Management Studio&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;After you create the publication, make sure you add these two users to Publication Access List (in Publication Properties), give these users the dbowner permission, and permission to "connect" and "connect and replicate"&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;For starting the snapshot_agent, don't get disappointed by the initial error message, if any, by right-clicking on the publication-&gt;view snapshot-agent status. The chances are all high that initially the Publication access list is not setup correctly. After you do this rihgt, then click on "Start" and then it should work fine.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7940597548508378052-4212688004646556728?l=kundanburnwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kundanburnwal.blogspot.com/feeds/4212688004646556728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7940597548508378052&amp;postID=4212688004646556728' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7940597548508378052/posts/default/4212688004646556728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7940597548508378052/posts/default/4212688004646556728'/><link rel='alternate' type='text/html' href='http://kundanburnwal.blogspot.com/2008/05/sql-server-merge-replication.html' title='SQL Server Merge Replication'/><author><name>Kundan burnwal</name><uri>http://www.blogger.com/profile/02458996533419209969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
