tag:blogger.com,1999:blog-228151622024-03-13T23:39:56.894+09:00Ammars' IT BlogA Mission With A Vision
in .NETAmmarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.comBlogger105125tag:blogger.com,1999:blog-22815162.post-67719551796305249902010-12-29T15:50:00.001+09:002010-12-29T15:51:27.302+09:00Moved my blog to Wordpress<span style="font-size:100%;"><span style="font-family:verdana;">Guys, i have moved my blog to </span><a style="font-family: verdana;" href="http://ammarfassy.wordpress.com/">http://ammarfassy.wordpress.com/</a><br /></span>Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-22083089310442133312010-12-21T02:19:00.001+09:002010-12-21T02:26:54.234+09:00MCTS : BizTalk Server 2006<p align="justify">Well i sat for the MCTS 70-235 (Developing Business Process and Integration Solutions using Microsoft BizTalk Server 2006) exam yesterday and glad to inform that i have passed. mmm.. with regard to the paper, most of the questions were related to BAM, BRE, deploying a BizTalk application, debugging BizTalk applications (ex: debugging orchestration, etc), some of them related to schema creation (ex: minoccurs, validating a schema, etc), role links and general BizTalk questions.</p> <p align="justify">Before sitting for the exam just go through the <a href="http://www.biztalk247.com/v1/articles/exam70235.aspx">sarvanas’ preparation diary</a>. It helped me a lot in addition to the following Apress and Wrox eBooks :</p> <ul> <li> <div align="justify">BizTalk 2006 Recipes - A Problem-Solution Approach - Mark Beckner, Benjamin Goeltz, Brandon Gross, <br />Brennan O’Reilly, Stephen Roger, Mark Smith, <br />and Alexander West</div> </li> <li> <div align="justify">Foundations of BizTalk Server 2006 - Daniel Woolston</div> </li> <li> <div align="justify">Wrox Professional BizTalk® Server 2006 </div> </li> <li> <div align="justify">- Darren Jefford, Kevin B. Smith, Ewan Fairweather</div> </li> </ul> <p align="justify">hope i can use the following image. :)</p> <p align="center"><a href="http://lh6.ggpht.com/_kuiwboickPM/TQ-QL39fGfI/AAAAAAAAAdY/oX-OtX1lefI/s1600-h/mcts-biztalk%5B9%5D.gif"><img title="mcts-biztalk" style="display: inline" height="63" alt="mcts-biztalk" src="http://lh6.ggpht.com/_kuiwboickPM/TQ-QNE-6qEI/AAAAAAAAAdc/gvhjAnBBhQY/mcts-biztalk_thumb%5B7%5D.gif?imgmax=800" width="200" /></a></p> Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com2tag:blogger.com,1999:blog-22815162.post-27508969616068645962010-11-04T18:22:00.001+09:002010-11-04T18:31:39.178+09:00Rule "Reporting Services Catalog Database File Existence" failed<p align="justify">Due to some reason i had to reinstall the SQL Server 2008 and when setup validates the installation it prompted for following 2 errors as below :</p> <ul> <li> <div align="justify">Rule "Reporting Services Catalog Database File Existence" failed</div> </li> <li>Rule "Reporting Services Catalog Temporary Database File Existence" failed.</li> </ul> <p><a href="http://lh3.ggpht.com/_kuiwboickPM/TNJ7Mn3WTTI/AAAAAAAAAdA/5vCqaUzRHNA/s1600-h/clip_image004%5B7%5D.jpg"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://lh4.ggpht.com/_kuiwboickPM/TNJ7NoanSdI/AAAAAAAAAdI/7pHnA1uzFDA/clip_image004_thumb%5B4%5D.jpg?imgmax=800" width="240" height="240" /></a></p> <p>so what you have to do is to delete following files </p> <ul> <li>ReportServer.mdf</li> <li>ReportServer_log.LDF</li> <li>ReportServerTempDB.mdf</li> <li>ReportServerTempDB_log.LDF</li> </ul> <p>from the location : C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA and re-run the setup.</p> Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com4tag:blogger.com,1999:blog-22815162.post-43779554190110996382010-07-26T16:12:00.001+09:002010-07-26T16:12:55.596+09:00Error: This row already belongs to another table<p align="justify">I came across a situation where i had to loop through one of the DataTable and to import the same data into another datable where the data order is different. I was trying to do it but the data is not getting copied to the new DataTable. What I have found out is that you can’t just add rows from one DataTable to another. Initially the table structure must be Cloned and then the rows has to be imported. Cloning the DataTable clones the structure including all DataTable schemas and constraints.</p> <p>DataTable newTable = new DataTable("Sorted"); </p> <p>newTable = transactionHistoryTable.Clone(); <br />for (int j = transactionHistoryTable.Rows.Count - 1; j >= 0; j—) <br />{ <br />  newTable.ImportRow(transactionHistoryTable.Rows[j]); <br />}</p> <p>_dsResponse.Tables.Add(newTable);</p> <p align="justify">as a summary what i am doing is, initially the data what i have is some data in some order which was populated from AS400 API. I need the same data other way around, bottom to top (For ex: transactionHistoryTable has some data and i need to traverse it back).</p> Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-20664918373361664512010-07-14T19:31:00.001+09:002010-07-20T21:01:24.000+09:00Failed to connect to the SQL database 'SSODB' on SQL Server<p align="justify">When you tried to configure BizTalk after the successful installation, if you prompted for an error like the one mentioned above, Execute the following command in Visual Studio command prompt.</p> <p align="justify">explore to the following folder:</p> <p align="justify">C:\Windows\Microsoft.NET\Framework64\v2.0.50727></p> <p>and run the following command : </p> <p>RegAsm.exe "C:\Program Files\Common Files\Enterprise Single Sign-On\SSOSQL.dll"</p> <p align="justify">Note : As i am using the Windows 2008 R2 Server, i had to explore to the Framework64 folder.</p> <p align="center"><a href="http://lh6.ggpht.com/_kuiwboickPM/TEWQBS-DM_I/AAAAAAAAAb8/1Ua5SWDM-9k/s1600-h/image%5B3%5D.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_kuiwboickPM/TEWQCYl56jI/AAAAAAAAAcA/MY0NzwaV8AA/image_thumb%5B1%5D.png?imgmax=800" width="282" height="172" /></a></p> Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-57436259527522089712010-05-30T16:38:00.001+09:002010-05-30T16:52:58.396+09:00Calling AS400 RPG Programs using C#<p align="justify">Throughout last few months i had a chance to work with AS400, Equation APIs. The purpose of these equations calls are that we have to develop WCF services on top of these API calls. These calls will be consumed by the BizTalk. Initially it was too hard as i couldn't find any resources online. When i searched in gOOgle about the errors which come across at the time of developments, it does not return anything! It was some hard times and thank for my <a href="http://usmanshaheen.wordpress.com/" target="_blank">team lead</a> for helping out on those situations. Hope to write something about  AS400, C# in coming days…</p> <p align="justify">Here is the lovely interface of Equation.</p> <p align="center"><a href="http://lh5.ggpht.com/_kuiwboickPM/TAIZVRvJ0wI/AAAAAAAAAb0/5lf5t0ZhAm0/s1600-h/image%5B5%5D.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_kuiwboickPM/TAIZWSNFk4I/AAAAAAAAAb4/grUixSerWDc/image_thumb%5B1%5D.png?imgmax=800" width="244" height="152" /></a> </p> <p align="justify">As the starting point refer following links :</p> <p align="justify"><a title="http://www.netsplore.com/PublicPortal/Default.aspx?tabid=246" href="http://www.netsplore.com/PublicPortal/Default.aspx?tabid=246">http://www.netsplore.com/PublicPortal/Default.aspx?tabid=246</a></p> <p align="justify"><a title="http://www.netsplore.com/PublicPortal/Blog/tabid/284/EntryID/13/Default.aspx" href="http://www.netsplore.com/PublicPortal/Blog/tabid/284/EntryID/13/Default.aspx">http://www.netsplore.com/PublicPortal/Blog/tabid/284/EntryID/13/Default.aspx</a></p> Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-34460422628012078032010-04-15T15:24:00.001+09:002010-04-15T15:24:05.420+09:00Error 4201: The instance name passed was not recognized as valid by a WMI data provider<p align="justify"><font color="#000000">I was unable to start the Windows Event Log service on Local Computer. When i tried to start the windows event log service was getting  “Windows could not start the Windows Event Log service on Local Computer.    Error 4201: The instance name passed was not recognized as valid by a WMI data provider.”</font></p> <p align="justify"><font color="#000000">This happened at the time of installing MOSS 2007 in my Windows Server 2008 R2 Server machine. Totally i was gone mad coz MOSS 2007 uninstallation crashes due to some reason and was unable to find out the error due to Eventlog crash (what a hell).</font></p> <p align="justify"><font color="#000000">Finally figured it out it was due to some permission problem and i had to apply the  SYSTEM user with full control on the folder c:\windows\system32\logfiles\wmi\RTbackup. This solved my problem and the lovely event log was working fine as usual.</font></p> <p align="justify"><font color="#000000"><a href="http://social.msdn.microsoft.com/forums/en-US/windowscompatibility/thread/c75ae899-d05b-411d-a7f2-00fdd33b8589/" target="_blank">more details</a></font></p> <p align="justify"><font color="#000000">Another alternative way is there to renaming the RTBackup file. I didnt try that method hence i have to start the machine in safe mode. It will be a headache at all. so for anyone needs to know about that solution please refer this <a href="http://social.answers.microsoft.com/Forums/en/w7performance/thread/e2c218ad-8637-49ee-8023-50eae0e4ddcb" target="_blank">link</a>.</font></p> Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-9632347806110246912010-04-14T15:28:00.001+09:002010-04-14T15:54:09.564+09:00System.IO.FileNotFoundException on "SPSite = new SPSite(url/IP)"<p align="justify">The below code snippet describes the way to insert user profile data into the SharePoint user profile store. At the time of running the code i came across the above said error. I was googling nearly for 1 1/2 days to figure out the problem. I was trying so many options to solve this problem and nothing worked fine. So finally figured it out its due to some permission problem with the application pool. The application pool identity account should be a domain administrator account which has full access (in other words it should be the same identity like the identity account of the MOSS application pool). <a href="http://paulgalvin.spaces.live.com/blog/cns!1CC1EDB3DAA9B8AA!687.entry?wa=wsignin1.0&sa=423558072" target="_blank">details</a></p> <p align="justify">that account should have following permissions:</p> <ol> <li>The account should be a server farm administrator. </li> <li>The account has permissions to access the content database. </li> <li>The account is a site collection administrator. </li> <li>The account  should have permission to access the Windows SharePoint Services site or the SharePoint Server 2007 site through which the code iterates. </li> </ol> <p align="justify">by the way when i was reading through some of other <a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/12/01/error-system-io-filenotfoundexception-the-web-application-at-lt-servername-gt-could-not-be-found-console-applications-with-sp2010.aspx" target="_blank">blogs</a> they have mentioned its due to 32/64 bit version. i tried that solution too and it didn't work for me. you can read more about this via this <a href="http://techdhaan.wordpress.com/2008/08/22/systemiofilenotfoundexception-when-creating-spsite-objects-using-the-sharepoint-object-model/" target="_blank">link</a>.</p> <p>string strSharePointSite = @"<a href="http://NQ02WBIZWS1";">http://NQ02WBIZWS1";</a> <br />using (SPSite site = new SPSite(strSharePointSite)) <br />{ <br />    Microsoft.Office.Server.ServerContext context = ServerContext.GetContext(site); <br />    UserProfileManager profileManager = new UserProfileManager(context); <br />    UserProfile newUserprofile = null; <br />    string sAccount = @"domainname\username"; <br />    if (!profileManager.UserExists(sAccount)) <br />    { <br />        UserProfile profile = profileManager.CreateUserProfile(sAccount); <br />        if (null == profile) <br />            textBox1.Text = "Failed to Create User with account :" + sAccount.ToString(); <br />        else <br />            textBox1.Text = "UserProfileHandler.CalltotheWebService ... User profile created. ..."; <br />    } <br />    else <br />    { <br />        textBox1.Text = "UserProfileHandler.CalltotheWebService ... User profile already exists..."; <br />    } <br />    newUserprofile = profileManager.GetUserProfile(sAccount); <br />    newUserprofile[PropertyConstants.Title].Value = "Mr."; <br />    newUserprofile[PropertyConstants.FirstName].Value = "First Name"; <br />    newUserprofile[PropertyConstants.LastName].Value = "Last Name"; <br />    newUserprofile[PropertyConstants.Department].Value = "IT"; <br />    newUserprofile.Commit(); <br />}</p> <p>please refer something about <a href="http://blogs.msdn.com/sharepoint/archive/2007/03/06/what-every-sharepoint-administrator-needs-to-know-about-alternate-access-mappings-part-1.aspx" target="_blank">access mappings</a> because it will help in some way.</p> Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-12659143725461112372010-04-05T19:23:00.001+09:002010-04-05T19:23:18.668+09:00Value cannot be null. Parameter name: serverContext<p align="justify">If you are getting the error “Value cannot be null. Parameter name: serverContext”, as the first step please make sure that you have configured your Shared Services properly and its running.</p> Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-91837592676287309502010-04-01T14:38:00.001+09:002010-04-01T14:38:59.983+09:00New look for MSDN<p>Seems Microsoft has changed the MSDN look and now it looks nice and loads faster compared to the old one.</p> <p><a href="http://lh4.ggpht.com/_kuiwboickPM/S7QxbO8jCuI/AAAAAAAAAbI/Nnb_W8TcYCE/s1600-h/image%5B3%5D.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_kuiwboickPM/S7Qxch6Q9WI/AAAAAAAAAbM/bwvtczbt1as/image_thumb%5B1%5D.png?imgmax=800" width="323" height="194" /></a></p> Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-42817804060013085062010-03-18T18:19:00.002+09:002010-03-19T11:52:31.883+09:00Enterprise Library 5.0 Beta1<p align="justify">I would like to share the way to configure the logging application block with a sample web application to log the errors to the Event Listener and to a log file.</p> <p align="justify">Once you have installed the Enterprise Library 5.0 Beta1 into your machine make sure to make it as strong named it by applying a key using the Visual Studio.</p> <p align="justify">After that add a reference to the logging application block assembly Microsoft.Practices.EnterpriseLibrary.Logging.dll in your project.</p> <p align="justify">the next step is to configure the Logging Application Block using the Enterprise Library tool located under Program Files => Microsoft patterns & practices => Enterprise Library 5.0 Beta 1 - February 2010 => Enterprise Library Configuration. </p> <p align="center"><a href="http://lh3.ggpht.com/_kuiwboickPM/S6HvxeG8RdI/AAAAAAAAAZg/_mtOeAmJodU/s1600-h/image%5B5%5D.png"><img style="border: 0px none; display: inline;" title="image" alt="image" src="http://lh5.ggpht.com/_kuiwboickPM/S6HvyZ-CWMI/AAAAAAAAAZk/6YlNQtqorNo/image_thumb%5B1%5D.png?imgmax=800" border="0" height="244" width="200" /></a> </p> <p></p> <p align="left">so the Configuration tool open like below :</p> <p align="center"><a href="http://lh5.ggpht.com/_kuiwboickPM/S6HvzHXPHYI/AAAAAAAAAZo/3WyuDWdI6eo/s1600-h/image%5B11%5D.png"><img style="border: 0px none; display: inline;" title="image" alt="image" src="http://lh3.ggpht.com/_kuiwboickPM/S6Hvzy-qrEI/AAAAAAAAAZs/FTV-ItFU9ek/image_thumb%5B3%5D.png?imgmax=800" border="0" height="143" width="244" /></a> </p> <p align="left">Open your web.conf or app.conf file using the above tool as below:</p> <p></p> <p><a href="http://lh5.ggpht.com/_kuiwboickPM/S6Hv0vXlVBI/AAAAAAAAAZw/8FbR9l4F8gM/s1600-h/image%5B14%5D.png"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="image" alt="image" src="http://lh3.ggpht.com/_kuiwboickPM/S6Hv1eg410I/AAAAAAAAAZ0/MBybxtY8yco/image_thumb%5B4%5D.png?imgmax=800" border="0" height="180" width="244" /></a></p> <p align="justify">by default it will list you the Application Settings and the Database settings and it does not contain anything and if you need to configure something on that feel free to add those values.</p> <p align="center"><a href="http://lh3.ggpht.com/_kuiwboickPM/S6Hv2BVtWuI/AAAAAAAAAZ4/wxX9lREF2HM/s1600-h/image%5B20%5D.png"><img style="border: 0px none; display: inline;" title="image" alt="image" src="http://lh3.ggpht.com/_kuiwboickPM/S6Hv2sOvu7I/AAAAAAAAAZ8/IF6DyieaeEE/image_thumb%5B6%5D.png?imgmax=800" border="0" height="188" width="244" /></a> </p> <p align="justify">As we need to test the logging application blocks, please add the Logging Application Blocks by clicking Blocks => Add Logging Settings as below.</p> <p align="center"><a href="http://lh4.ggpht.com/_kuiwboickPM/S6Hv3tugEKI/AAAAAAAAAaA/j6boqvxPaFo/s1600-h/image%5B26%5D.png"><img style="border: 0px none; display: inline;" title="image" alt="image" src="http://lh4.ggpht.com/_kuiwboickPM/S6Hv4upQOeI/AAAAAAAAAaE/x5Y39uXbQ7c/image_thumb%5B8%5D.png?imgmax=800" border="0" height="143" width="244" /></a> </p> <p align="left">so it will lists you the settings as below :</p> <p align="center"><a href="http://lh4.ggpht.com/_kuiwboickPM/S6Hv5XSdyZI/AAAAAAAAAaI/HCu_avvQQac/s1600-h/image%5B29%5D.png"><img style="border: 0px none; display: inline;" title="image" alt="image" src="http://lh5.ggpht.com/_kuiwboickPM/S6Hv6dxSxeI/AAAAAAAAAaM/T6BL0rJ7nyg/image_thumb%5B9%5D.png?imgmax=800" border="0" height="143" width="244" /></a> </p> <p align="left">Enter a name for your Event Log listener as below:</p> <p align="center"><a href="http://lh4.ggpht.com/_kuiwboickPM/S6Hv7GO6dcI/AAAAAAAAAaQ/CV0JWdSq4xE/s1600-h/image%5B35%5D.png"><img style="border: 0px none; display: inline;" title="image" alt="image" src="http://lh5.ggpht.com/_kuiwboickPM/S6Hv70TQ0_I/AAAAAAAAAaU/tGa56mR2F0M/image_thumb%5B11%5D.png?imgmax=800" border="0" height="143" width="244" /></a> </p> <p align="justify">Under All Events settings make sure to add your recently created listener into the list as below:</p> <p align="center"><a href="http://lh6.ggpht.com/_kuiwboickPM/S6Hv89YxKFI/AAAAAAAAAaY/lqbLyoeCi_8/s1600-h/image%5B41%5D.png"><img style="border: 0px none; display: inline;" title="image" alt="image" src="http://lh3.ggpht.com/_kuiwboickPM/S6Hv9vgDn_I/AAAAAAAAAac/oBFQkSfFQNY/image_thumb%5B13%5D.png?imgmax=800" border="0" height="143" width="244" /></a> </p> <p align="left">Click the “+” sign next to the Logging Target Listeners and select Add Logging Target Listeners => Add Flat File Trace Listener.</p> <p align="center"><a href="http://lh4.ggpht.com/_kuiwboickPM/S6Hv-lmgiZI/AAAAAAAAAag/4PbLHNdMYfA/s1600-h/image%5B44%5D.png"><img style="border: 0px none; display: inline;" title="image" alt="image" src="http://lh4.ggpht.com/_kuiwboickPM/S6Hv_Axi7bI/AAAAAAAAAak/YXpMljilF88/image_thumb%5B14%5D.png?imgmax=800" border="0" height="140" width="244" /></a> </p> <p align="left">Once you add the Flat File Listener the configuration tool will looks like below:</p> <p align="center"><a href="http://lh3.ggpht.com/_kuiwboickPM/S6Hv_xIum9I/AAAAAAAAAao/CZZej0Zn3n0/s1600-h/image%5B50%5D.png"><img style="border: 0px none; display: inline;" title="image" alt="image" src="http://lh5.ggpht.com/_kuiwboickPM/S6HwAqGZrVI/AAAAAAAAAas/rZc_3cK_bEU/image_thumb%5B16%5D.png?imgmax=800" border="0" height="157" width="244" /></a></p> <p align="left">After that select the log file name to log the events and the Formatter as Text Formatter.</p> <p align="center"><a href="http://lh5.ggpht.com/_kuiwboickPM/S6HwBEZzvbI/AAAAAAAAAaw/ZCjIgij4F64/s1600-h/image%5B62%5D.png"><img style="border: 0px none; display: inline;" title="image" alt="image" src="http://lh4.ggpht.com/_kuiwboickPM/S6HwCGOWyJI/AAAAAAAAAa0/xX49Bidexmg/image_thumb%5B20%5D.png?imgmax=800" border="0" height="237" width="244" /></a> </p> <p align="center"><a href="http://lh4.ggpht.com/_kuiwboickPM/S6HwC10nFsI/AAAAAAAAAa4/UVY3N-2Nop4/s1600-h/image%5B53%5D.png"><img style="border: 0px none; display: inline;" title="image" alt="image" src="http://lh3.ggpht.com/_kuiwboickPM/S6HwDnD_aMI/AAAAAAAAAa8/3MQ6V3R7WAo/image_thumb%5B17%5D.png?imgmax=800" border="0" height="164" width="244" /></a> </p> <p align="left">Upon making the above settings make sure to add the above listener to the All Events settings as below :</p> <p align="center"><a href="http://lh6.ggpht.com/_kuiwboickPM/S6HwERYXB-I/AAAAAAAAAbA/5u3BvJsNLe8/s1600-h/image%5B59%5D.png"><img style="border: 0px none; display: inline;" title="image" alt="image" src="http://lh4.ggpht.com/_kuiwboickPM/S6HwFbJdnZI/AAAAAAAAAbE/X0CIalCcJoU/image_thumb%5B19%5D.png?imgmax=800" border="0" height="244" width="221" /></a> </p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p>Upon following the above steps write the following code in C# and test the solution, you will find the entries written upon in the Event Log and the Log file which you did specified in the above step :</p> <p>try <br /> { <br /> LogEntry logEntry = new LogEntry(); </p> <p> logEntry.Severity = System.Diagnostics.TraceEventType.Information; <br /> logEntry.ProcessName = "Section XYZ from your project"; <br /> logEntry.Title = "Testing"; <br /> logEntry.Categories.Add("General"); <br /> logEntry.Message = string.Format("Your Message"); <br /> logEntry.TimeStamp = DateTime.Now; Logger.Write(logEntry); <br /> } <br /> catch (Exception ex) <br /> { <br /> Response.Write(ex.Message); <br /> }</p>Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-84191232475038782802010-03-17T20:20:00.002+09:002010-03-19T11:53:10.331+09:00Consuming a Web Reference in a class library (C#/.NET) – VS 2008<p align="justify">when you tried to add a web reference to a Class Library in VS 2008, by default it will add a Service Reference (WCF). I have seen this option only in VS 2008 and not in VS 2005. If you need to add a Web Reference then at the time of adding a Service Reference, click the Advanced button as depicted below :</p> <p align="center"><a href="http://lh3.ggpht.com/_kuiwboickPM/S6C688VLKbI/AAAAAAAAAZI/iZjqD314z2Y/s1600-h/image%5B2%5D.png"><img style="border: 0px none; display: inline;" title="image" alt="image" src="http://lh6.ggpht.com/_kuiwboickPM/S6C69k3PL6I/AAAAAAAAAZM/MAzpy9lptvo/image_thumb.png?imgmax=800" border="0" height="200" width="244" /></a> </p> <p align="left">After that click the Add Web Reference as below:</p> <p align="center"><a href="http://lh3.ggpht.com/_kuiwboickPM/S6C6-0in5CI/AAAAAAAAAZQ/z8IapZyJfvY/s1600-h/image%5B5%5D.png"><img style="border: 0px none; display: inline;" title="image" alt="image" src="http://lh5.ggpht.com/_kuiwboickPM/S6C6_l4WNzI/AAAAAAAAAZU/JKHT83HgEfA/image_thumb%5B1%5D.png?imgmax=800" border="0" height="229" width="244" /></a> </p> <p align="left">after that you will be prompted with the usual add web reference dialog. </p> <p align="center"><a href="http://lh5.ggpht.com/_kuiwboickPM/S6C7AnIiFbI/AAAAAAAAAZY/syYJcjpDDcI/s1600-h/image%5B8%5D.png"><img style="border: 0px none; display: inline;" title="image" alt="image" src="http://lh4.ggpht.com/_kuiwboickPM/S6C7BY9ydvI/AAAAAAAAAZc/9ZBFv432SeA/image_thumb%5B2%5D.png?imgmax=800" border="0" height="172" width="244" /></a></p>Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-23450318749645290492010-03-14T23:01:00.002+09:002010-03-19T11:53:42.251+09:00Setup says VS Integrated Shell 2010 ENU installed when uninstalled, Grrrr!!!<p align="justify">I came across a situation where i had to remove the Team Explorer version 2010 Beta1 from my machine. I have uninstalled it via Uninstall option from the Programs and Features. When i tried to install TFS 2010 RC Team Explorer setup it says “VS Integrated Shell 2010 ENU” exists and have to remove. I did the uninstallation and restarted the machine even. Nothing happened and when i ran the installation it prompts me again saying that “VS Integrated Shell 2010 ENU” already exists. I checked the Programs and Features and it was not there. :(</p> <p>I was something like this :</p> <p><a href="http://lh4.ggpht.com/_kuiwboickPM/S5zsQ4UcPBI/AAAAAAAAAZA/2Xn33Dc0Gh4/s1600-h/image%5B2%5D.png"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="image" alt="image" src="http://lh6.ggpht.com/_kuiwboickPM/S5zsRgG7-mI/AAAAAAAAAZE/YYCNtyUaKok/image_thumb.png?imgmax=800" border="0" height="164" width="244" /></a> </p> <p>finally found the solution.</p> <p>simply run this command :</p> <p>msiexec /uninstall {874D5E2B-AACE-303A-B3EC-2563E071473E}</p> <p>lets we dig little bit deeper in to the above command. </p> <p align="justify">Initially you have to to do is to use <a href="http://blogs.msdn.com/astebner/archive/2005/07/01/434814.aspx">msiinv.exe</a> (thanks to Aaron Stebner’s to exposing the tool) tool to see if MSI thinks the integrated shell is installed or not. So from that tool it will lists all the installed programs and under that list you can see this ghost “VS Integrated Shell 2010 shell ENU” still exists in the list.</p> <p>what you have to do is just note down the Product Code and use the same code to execute the above command.</p>Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-49551162079082015372010-03-14T22:52:00.002+09:002010-03-19T11:54:32.573+09:00VS2008 Professional connecting to TFS 2010 RC on Windows Server 2008<p>Assuming that you have already installed VS 2008 professional edition (no problem eventhough you have installed the VS 2008 SP1 because anyhow you are going run it again) in your machine and in your machine TFS 2010 RC is installed and configured successfully.</p> <p>Please follow the following steps as its :</p> <ol> <li>You have to install Team Explorer 2008 over your VS2008 Professional SP1. <br /></li> <li>You need to reinstall VS2008SP1 to update team explorer. <br /></li> <li>After that you have to install Visual Studio Team System 2008 Service Pack 1 Forward Compatibility Update for Team Foundation Server 2010 (Installer) from this <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=cf13ea45-d17b-4edc-8e6c-6c5b208ec54d&displaylang=en">link</a>. <br /></li> <li>When you connect from VS2008, you need to enter the full URL (ex: <a href="https://&%7e%7especial_remove%21/#%7E%7Elt;MyServer&%7E%7ESPECIAL_REMOVE%21#%7E%7Egt;:&%7E%7ESPECIAL_REMOVE%21#%7E%7Elt;port&%7E%7ESPECIAL_REMOVE%21#%7E%7Egt;/tfs">:/tfs">https://<MyServer>:<port>/tfs</a>)</li> </ol> <p><a href="http://lh3.ggpht.com/_kuiwboickPM/S5zqEOR-TDI/AAAAAAAAAY4/zWu4DOW5Cuk/s1600-h/image%5B2%5D.png"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="image" alt="image" src="http://lh6.ggpht.com/_kuiwboickPM/S5zqFE9NtpI/AAAAAAAAAY8/UdRpXRCUYug/image_thumb.png?imgmax=800" border="0" height="171" width="244" /></a></p>Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-7677022160684508972010-03-14T22:27:00.002+09:002010-03-19T11:54:51.236+09:00Team Foundation Server 2010 RC Installation<p align="justify">After a lengthy hard work we were able to install and configure the Team Foundation Server 2010 RC on Windows 2008 R2. Eventhough the installation and the configuration is easy we had some trouble with the DNS naming of the host machine (thanks to Usman – Team Lead to identifying that issue).</p> <p align="justify">kick off the installation by clicking the setup file and follow the screens just clicking the next button.</p> <p><a href="http://lh3.ggpht.com/_kuiwboickPM/S5zkG6qPhII/AAAAAAAAAXQ/mIciPRPugUA/s1600-h/clip_image002%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image002" alt="clip_image002" src="http://lh5.ggpht.com/_kuiwboickPM/S5zkHtTKz9I/AAAAAAAAAXU/X8TovRRfz-0/clip_image002_thumb.jpg?imgmax=800" border="0" height="186" width="244" /></a></p> <p><a href="http://lh6.ggpht.com/_kuiwboickPM/S5zkISzE53I/AAAAAAAAAXY/xlqbMm0YTOI/s1600-h/clip_image004%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image004" alt="clip_image004" src="http://lh6.ggpht.com/_kuiwboickPM/S5zkJd_08FI/AAAAAAAAAXc/B-nN45f3gy4/clip_image004_thumb.jpg?imgmax=800" border="0" height="186" width="244" /></a></p> <p><a href="http://lh4.ggpht.com/_kuiwboickPM/S5zkKTva2FI/AAAAAAAAAXg/O5mZkKw2C0c/s1600-h/clip_image006%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image006" alt="clip_image006" src="http://lh6.ggpht.com/_kuiwboickPM/S5zkLDktXqI/AAAAAAAAAXk/Di7YGPuXg4E/clip_image006_thumb.jpg?imgmax=800" border="0" height="187" width="244" /></a></p> <p>After the completion of the installation its time to configure the TFS 2010.</p> <p><a href="http://lh5.ggpht.com/_kuiwboickPM/S5zm9kDO6PI/AAAAAAAAAXo/i1wLG7DGGos/s1600-h/clip_image00242.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image002[4]" alt="clip_image002[4]" src="http://lh3.ggpht.com/_kuiwboickPM/S5zm-VkduVI/AAAAAAAAAXs/q8sk4Q8wrPE/clip_image0024_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh6.ggpht.com/_kuiwboickPM/S5zm_HvpD2I/AAAAAAAAAXw/EOTQzeWSWeg/s1600-h/clip_image00442.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image004[4]" alt="clip_image004[4]" src="http://lh5.ggpht.com/_kuiwboickPM/S5znAE6EefI/AAAAAAAAAX0/hFMiB6kd8iw/clip_image0044_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p>In this situation you have to enter a authenticated user who has the administrator rights in the domain.</p> <p><a href="http://lh5.ggpht.com/_kuiwboickPM/S5znA1CZT_I/AAAAAAAAAX4/QR6UFP_jdAk/s1600-h/image2.png"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="image" alt="image" src="http://lh4.ggpht.com/_kuiwboickPM/S5znB3dw9DI/AAAAAAAAAX8/g6xAM-p2lbw/image_thumb.png?imgmax=800" border="0" height="184" width="244" /></a> <a href="http://lh4.ggpht.com/_kuiwboickPM/S5znCnWdgZI/AAAAAAAAAYA/P3YPWEb2ito/s1600-h/clip_image0083.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image008" alt="clip_image008" src="http://lh6.ggpht.com/_kuiwboickPM/S5znDdhwO9I/AAAAAAAAAYE/MxIkggW-tWI/clip_image008_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p align="justify">from the following screen you can double check all your entries are valid or not by clicking the Verify button. Its one of the best feature in this configuration wizard rather messing up the things after the completion of the installation.</p> <p><a href="http://lh6.ggpht.com/_kuiwboickPM/S5znEVi0sRI/AAAAAAAAAYI/GSZVQAaCziQ/s1600-h/image5.png"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="image" alt="image" src="http://lh4.ggpht.com/_kuiwboickPM/S5znFFE3gyI/AAAAAAAAAYM/Eg1TX0ABsfA/image_thumb1.png?imgmax=800" border="0" height="184" width="244" /></a> <a href="http://lh5.ggpht.com/_kuiwboickPM/S5znF7IV2SI/AAAAAAAAAYQ/jOubyUqPhlw/s1600-h/clip_image0143.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image014" alt="clip_image014" src="http://lh6.ggpht.com/_kuiwboickPM/S5znGWF8vcI/AAAAAAAAAYU/FpCv3ZrcFOI/clip_image014_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh3.ggpht.com/_kuiwboickPM/S5znHD-6dzI/AAAAAAAAAYY/oQKdwz4aiKI/s1600-h/clip_image0163.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image016" alt="clip_image016" src="http://lh4.ggpht.com/_kuiwboickPM/S5znHtvx9nI/AAAAAAAAAYc/23Foi2neCdQ/clip_image016_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh4.ggpht.com/_kuiwboickPM/S5znIbsy3cI/AAAAAAAAAYg/cq65xwyT1Hg/s1600-h/clip_image0183.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image018" alt="clip_image018" src="http://lh6.ggpht.com/_kuiwboickPM/S5znJF9J5FI/AAAAAAAAAYk/x2dkL4_fCCw/clip_image018_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh5.ggpht.com/_kuiwboickPM/S5znKBrowVI/AAAAAAAAAYo/mNue-X4RsLI/s1600-h/image8.png"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="image" alt="image" src="http://lh5.ggpht.com/_kuiwboickPM/S5znLP1A14I/AAAAAAAAAYs/UrngsvBcIKc/image_thumb2.png?imgmax=800" border="0" height="184" width="244" /></a> </p> <p><a href="http://lh3.ggpht.com/_kuiwboickPM/S5znL-IXbrI/AAAAAAAAAYw/5pUZCNfBrXY/s1600-h/image11.png"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="image" alt="image" src="http://lh4.ggpht.com/_kuiwboickPM/S5znMUV6CLI/AAAAAAAAAY0/J8caqdwTQCw/image_thumb3.png?imgmax=800" border="0" height="164" width="244" /></a></p>Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-17516372190902891462010-03-11T20:44:00.002+09:002010-03-19T11:55:52.462+09:00Missing Application Pools Folder in IIS - Windows Server 2003<p>to get the application pools back to the IIS please follow the steps as mentioned below:</p> <p>1. In IIS Manager, expand the local computer, right-click Web Sites, and then click Properties. <br />2. Click the Service tab, clear the Run WWW service in IIS 5.0 isolation mode check box, and then click OK. <br />3. To start the WWW service, click Yes when asked if you want to restart IIS now.</p>Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-66438961096536547122010-03-11T15:38:00.002+09:002010-03-19T11:56:14.636+09:00WCF and Web service<p></p> <table border="1" cellpadding="2" cellspacing="0" width="400"><tbody> <tr> <td valign="top" width="116"><strong>Features</strong></td> <td valign="top" width="141"><strong>Web Service</strong></td> <td valign="top" width="141"><strong>WCF</strong></td> </tr> <tr> <td valign="top" width="110">Hosting</td> <td valign="top" width="144"> <p>It can be hosted in IIS</p> </td> <td valign="top" width="144">It can be hosted in IIS, windows activation service, Self-hosting, Windows service</td> </tr> <tr> <td valign="top" width="108">Programming</td> <td valign="top" width="145"> <p>[WebService] attribute has to be added to the class</p> </td> <td valign="top" width="145"> <p>[ServiceContract] attribute has to be added to the class</p> </td> </tr> <tr> <td valign="top" width="107">Model</td> <td valign="top" width="145">[WebMethod] attribute represents the method exposed to client</td> <td valign="top" width="145">[OperationContract] attribute represents the method exposed to client</td> </tr> <tr> <td valign="top" width="107">Operation</td> <td valign="top" width="145">One-way, Request- Response are the different operations supported in web service</td> <td valign="top" width="145">One-Way, Request-Response, Duplex are different type of operations supported in WCF</td> </tr> <tr> <td valign="top" width="107">XML</td> <td valign="top" width="145">System.Xml.serialization name space is used for serialization</td> <td valign="top" width="144">System.Runtime.Serialization namespace is used for serialization</td> </tr> <tr> <td valign="top" width="92">Encoding</td> <td valign="top" width="152">XML 1.0, MTOM(Message Transmission Optimization Mechanism), DIME, Custom</td> <td valign="top" width="154"> <p>XML 1.0, MTOM, Binary, Custom</p> </td> </tr> <tr> <td valign="top" width="91">Transports</td> <td valign="top" width="153">Can be accessed through HTTP, TCP, Custom</td> <td valign="top" width="155">Can be accessed through HTTP, TCP, Named pipes, MSMQ,P2P, Custom</td> </tr> <tr> <td valign="top" width="90">Protocols</td> <td valign="top" width="153"> <p>Security</p> </td> <td valign="top" width="155"> <p>Security, Reliable messaging, Transactions</p> </td> </tr> <tr> <td valign="top" width="90">State</td> <td valign="top" width="153">state less </td> <td valign="top" width="155"> <p>can manage states</p> </td> </tr> </tbody></table>Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-44370930499309159162010-03-11T14:55:00.002+09:002010-03-19T11:57:17.302+09:00Installing a SQL Server 2008 named instance – Windows Server 2008 R2<p>Run the setup from your SQL Server 2008 CD</p> <p><a href="http://lh3.ggpht.com/_kuiwboickPM/S5iE9RXFRFI/AAAAAAAAAUc/K56s6vFipJ0/s1600-h/clip_image002%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image002" alt="clip_image002" src="http://lh3.ggpht.com/_kuiwboickPM/S5iE-UJ5vFI/AAAAAAAAAUg/gaM1D0JjWDg/clip_image002_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh4.ggpht.com/_kuiwboickPM/S5iE_Ie7aRI/AAAAAAAAAUk/TLHXR055vqA/s1600-h/clip_image004%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image004" alt="clip_image004" src="http://lh6.ggpht.com/_kuiwboickPM/S5iFAQJs71I/AAAAAAAAAUo/KsQQnZsaPi4/clip_image004_thumb.jpg?imgmax=800" border="0" height="65" width="244" /></a></p> <p align="justify">Click Installation tab and click New SQL Server Stand Alone installation or add features to an existing installation.</p> <p><a href="http://lh6.ggpht.com/_kuiwboickPM/S5iFBN2FxCI/AAAAAAAAAUs/itmZMDLPZ2U/s1600-h/clip_image006%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image006" alt="clip_image006" src="http://lh5.ggpht.com/_kuiwboickPM/S5iFB8uRukI/AAAAAAAAAUw/5rWSDygDlSs/clip_image006_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh5.ggpht.com/_kuiwboickPM/S5iFDHRwI1I/AAAAAAAAAU0/hKiGFSdMtAY/s1600-h/clip_image008%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image008" alt="clip_image008" src="http://lh3.ggpht.com/_kuiwboickPM/S5iFEGu6c2I/AAAAAAAAAU4/3DTq_IqehhI/clip_image008_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh3.ggpht.com/_kuiwboickPM/S5iFEzTD8uI/AAAAAAAAAU8/m7tnLT1eeCc/s1600-h/clip_image010%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image010" alt="clip_image010" src="http://lh4.ggpht.com/_kuiwboickPM/S5iFF7HMfmI/AAAAAAAAAVA/HyK-XXO5hZU/clip_image010_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh6.ggpht.com/_kuiwboickPM/S5iFGlOLxhI/AAAAAAAAAVE/umWY5-yXR24/s1600-h/clip_image012%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image012" alt="clip_image012" src="http://lh5.ggpht.com/_kuiwboickPM/S5iFHp2ylxI/AAAAAAAAAVI/BOcDoZFNA7w/clip_image012_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh5.ggpht.com/_kuiwboickPM/S5iFIvaOSsI/AAAAAAAAAVM/hCyf_0S5mCg/s1600-h/clip_image014%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image014" alt="clip_image014" src="http://lh3.ggpht.com/_kuiwboickPM/S5iFJXJpt0I/AAAAAAAAAVQ/eN245jnh4t0/clip_image014_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh5.ggpht.com/_kuiwboickPM/S5iFKUt_MaI/AAAAAAAAAVU/lslPq92P3F8/s1600-h/clip_image016%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image016" alt="clip_image016" src="http://lh4.ggpht.com/_kuiwboickPM/S5iFLVTmdTI/AAAAAAAAAVY/uk7PKOBh1FA/clip_image016_thumb.jpg?imgmax=800" border="0" height="183" width="244" /></a></p> <p>Accept the licensing terms.</p> <p><a href="http://lh3.ggpht.com/_kuiwboickPM/S5iFMFnOeAI/AAAAAAAAAVc/lO9Gp0ezqjk/s1600-h/clip_image020%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image020" alt="clip_image020" src="http://lh3.ggpht.com/_kuiwboickPM/S5iFNIbOrMI/AAAAAAAAAVg/9Kjdfp1j7w4/clip_image020_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh4.ggpht.com/_kuiwboickPM/S5iFN1BQRyI/AAAAAAAAAVk/lhhbng0WPWk/s1600-h/clip_image022%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image022" alt="clip_image022" src="http://lh3.ggpht.com/_kuiwboickPM/S5iFPIxm5cI/AAAAAAAAAVo/cSaxPYyVxQE/clip_image022_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p>Give a name to the SQL Server instance.</p> <p><a href="http://lh4.ggpht.com/_kuiwboickPM/S5iFQM2bxwI/AAAAAAAAAVs/T7YUmi3nkog/s1600-h/clip_image024%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image024" alt="clip_image024" src="http://lh6.ggpht.com/_kuiwboickPM/S5iFRA69d9I/AAAAAAAAAVw/4NJBpZ945B8/clip_image024_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh5.ggpht.com/_kuiwboickPM/S5iFSHVMuyI/AAAAAAAAAV0/iFcQYPxT9hU/s1600-h/clip_image026%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image026" alt="clip_image026" src="http://lh5.ggpht.com/_kuiwboickPM/S5iFTFz41xI/AAAAAAAAAV4/HbjKcYzSnu0/clip_image026_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh3.ggpht.com/_kuiwboickPM/S5iFUO22BGI/AAAAAAAAAV8/2tHzGO4X-2Q/s1600-h/clip_image028%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image028" alt="clip_image028" src="http://lh5.ggpht.com/_kuiwboickPM/S5iFVUuHrVI/AAAAAAAAAWA/X-krd67bVZk/clip_image028_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p align="justify">i am not going to install this particular instance in mixed mode hence i have selected the windows authentication mode. Setup wont allow you to go to next step unless if you didn't specify a administrator account. I have added the current user credential as one of the administrator account for the SQL Server.</p> <p><a href="http://lh5.ggpht.com/_kuiwboickPM/S5iFWXZTtKI/AAAAAAAAAWE/CS0pP2Ql_fU/s1600-h/clip_image032%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image032" alt="clip_image032" src="http://lh3.ggpht.com/_kuiwboickPM/S5iFXFdCs2I/AAAAAAAAAWM/p59QlSSp2nI/clip_image032_thumb.jpg?imgmax=800" border="0" height="185" width="244" /></a></p> <p><a href="http://lh4.ggpht.com/_kuiwboickPM/S5iFYBv7SEI/AAAAAAAAAWQ/ShDIy9dn5rs/s1600-h/clip_image036%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image036" alt="clip_image036" src="http://lh5.ggpht.com/_kuiwboickPM/S5iFZMvQf-I/AAAAAAAAAWU/GxJkSCOqk3U/clip_image036_thumb.jpg?imgmax=800" border="0" height="185" width="244" /></a></p> <p><a href="http://lh6.ggpht.com/_kuiwboickPM/S5iFaS149JI/AAAAAAAAAWY/YiVsO_JPMNY/s1600-h/clip_image038%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image038" alt="clip_image038" src="http://lh4.ggpht.com/_kuiwboickPM/S5iFbB_P4kI/AAAAAAAAAWc/fcz3FNgWRmE/clip_image038_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh6.ggpht.com/_kuiwboickPM/S5iFcAbxxvI/AAAAAAAAAWg/Komx7zEjpe8/s1600-h/clip_image040%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image040" alt="clip_image040" src="http://lh4.ggpht.com/_kuiwboickPM/S5iFdJq7PyI/AAAAAAAAAWk/tbq_DtD24e4/clip_image040_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh3.ggpht.com/_kuiwboickPM/S5iFeIAaPLI/AAAAAAAAAWo/sQsxmKs7ZZI/s1600-h/clip_image042%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image042" alt="clip_image042" src="http://lh3.ggpht.com/_kuiwboickPM/S5iFfITuHII/AAAAAAAAAWs/Y38oYDYsO64/clip_image042_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh3.ggpht.com/_kuiwboickPM/S5iFuQBRvSI/AAAAAAAAAWw/GjlnLxF2q2c/s1600-h/clip_image044%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image044" alt="clip_image044" src="http://lh3.ggpht.com/_kuiwboickPM/S5iFvGEmZCI/AAAAAAAAAW0/DFunKiorxVE/clip_image044_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh5.ggpht.com/_kuiwboickPM/S5iFwAO0hoI/AAAAAAAAAW4/ZDStgJZFU00/s1600-h/clip_image046%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image046" alt="clip_image046" src="http://lh5.ggpht.com/_kuiwboickPM/S5iFxGmAWvI/AAAAAAAAAW8/wE60_VyXgM0/clip_image046_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh4.ggpht.com/_kuiwboickPM/S5iFyE7XLbI/AAAAAAAAAXA/ZUPe6NxZ6LE/s1600-h/clip_image048%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image048" alt="clip_image048" src="http://lh5.ggpht.com/_kuiwboickPM/S5iFyy4l5rI/AAAAAAAAAXE/JsKUqyA9vkM/clip_image048_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh4.ggpht.com/_kuiwboickPM/S5iFzohBz1I/AAAAAAAAAXI/JOG5YgaA30E/s1600-h/clip_image050%5B3%5D.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image050" alt="clip_image050" src="http://lh3.ggpht.com/_kuiwboickPM/S5iF0Y7Z3HI/AAAAAAAAAXM/Clm8yxScLxs/clip_image050_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://support.microsoft.com/kb/955499">http://support.microsoft.com/kb/955499</a></p> <p><a href="http://support.microsoft.com/kb/956173">http://support.microsoft.com/kb/956173</a></p>Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-13517233768555566902010-03-10T22:36:00.002+09:002010-03-19T11:58:35.403+09:00Uninstalling SQL Server 2008 Instance<p>please follow the steps mentioned below to uninstall a named instance of a SQL Server 2008. For the reference of others I have published the screen shots to help you guys in some way. Please make sure before uninstalling that none of the SQL services are not used by other applications.</p> <p>Go to the control panel => Programs => Programs and Features</p> <p><a href="http://lh6.ggpht.com/_kuiwboickPM/S5egM7jLZlI/AAAAAAAAATE/Mt4OlZyrtlM/s1600-h/clip_image002%5B3%5D.jpg"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image002" alt="clip_image002" src="http://lh4.ggpht.com/_kuiwboickPM/S5egNvCOvoI/AAAAAAAAATI/4MQJAJ8Gqh4/clip_image002_thumb.jpg?imgmax=800" border="0" height="144" width="244" /></a></p> <p>Browse to SQL Server 2008 and click the Uninstall/Change button above.</p> <p><a href="http://lh3.ggpht.com/_kuiwboickPM/S5egOUqiDBI/AAAAAAAAATM/AqcdyoIPfdA/s1600-h/clip_image004%5B3%5D.jpg"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image004" alt="clip_image004" src="http://lh4.ggpht.com/_kuiwboickPM/S5egPDDEaAI/AAAAAAAAATQ/90gohmCz9h4/clip_image004_thumb.jpg?imgmax=800" border="0" height="119" width="244" /></a></p> <p>Click continue when a prompts comes and make sure that no one is logged into the server.</p> <p>Click Remove and please follow the screen shots as mentioned below.</p> <p><a href="http://lh4.ggpht.com/_kuiwboickPM/S5egQe-3PRI/AAAAAAAAATU/O5xc2W9ZkKM/s1600-h/clip_image006%5B3%5D.jpg"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image006" alt="clip_image006" src="http://lh4.ggpht.com/_kuiwboickPM/S5egQyy9FkI/AAAAAAAAATY/8qZvuA-NQIE/clip_image006_thumb.jpg?imgmax=800" border="0" height="203" width="244" /></a></p> <p><a href="http://lh5.ggpht.com/_kuiwboickPM/S5egRhBHfgI/AAAAAAAAATc/yS3Nv1SFhY0/s1600-h/clip_image008%5B3%5D.jpg"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image008" alt="clip_image008" src="http://lh3.ggpht.com/_kuiwboickPM/S5egSK7vR9I/AAAAAAAAATg/JR1zbfW2SB0/clip_image008_thumb.jpg?imgmax=800" border="0" height="65" width="244" /></a></p> <p><a href="http://lh3.ggpht.com/_kuiwboickPM/S5egS1WsKKI/AAAAAAAAATk/ocv1fejEzQ4/s1600-h/clip_image010%5B3%5D.jpg"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image010" alt="clip_image010" src="http://lh5.ggpht.com/_kuiwboickPM/S5egULP1IuI/AAAAAAAAATo/jtIIj7958-E/clip_image010_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p>Select the SQL Server 2008 instance to uninstall.</p> <p><a href="http://lh5.ggpht.com/_kuiwboickPM/S5egUqxbV8I/AAAAAAAAATs/_p0s395Vl9U/s1600-h/clip_image012%5B3%5D.jpg"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image012" alt="clip_image012" src="http://lh3.ggpht.com/_kuiwboickPM/S5egVc4W7FI/AAAAAAAAATw/57VznzWIbH4/clip_image012_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p>Select the features belonging to the instance that you are going to uninstall and keep the shared features.</p> <p><a href="http://lh4.ggpht.com/_kuiwboickPM/S5egWEYob5I/AAAAAAAAAT0/_BOMBNpiOII/s1600-h/clip_image014%5B3%5D.jpg"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image014" alt="clip_image014" src="http://lh4.ggpht.com/_kuiwboickPM/S5egWkESySI/AAAAAAAAAT4/uLj0_Exc1xc/clip_image014_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh4.ggpht.com/_kuiwboickPM/S5egXR_HyJI/AAAAAAAAAT8/S1-24Zj2pd4/s1600-h/clip_image016%5B3%5D.jpg"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image016" alt="clip_image016" src="http://lh4.ggpht.com/_kuiwboickPM/S5egX-dlkVI/AAAAAAAAAUA/lKYVB3CI7qU/clip_image016_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh4.ggpht.com/_kuiwboickPM/S5egYmiCrpI/AAAAAAAAAUE/vDnP82gfkOU/s1600-h/clip_image018%5B3%5D.jpg"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image018" alt="clip_image018" src="http://lh3.ggpht.com/_kuiwboickPM/S5egZaeiqbI/AAAAAAAAAUI/XNeb6lK3i2Q/clip_image018_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh4.ggpht.com/_kuiwboickPM/S5egaOcMakI/AAAAAAAAAUM/ab5WHZb6Vuk/s1600-h/clip_image020%5B3%5D.jpg"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image020" alt="clip_image020" src="http://lh3.ggpht.com/_kuiwboickPM/S5egalQRcmI/AAAAAAAAAUQ/gJaNM8fZMV0/clip_image020_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p><a href="http://lh5.ggpht.com/_kuiwboickPM/S5egbd7kpVI/AAAAAAAAAUU/mVBcVqeg2UI/s1600-h/clip_image022%5B3%5D.jpg"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image022" alt="clip_image022" src="http://lh5.ggpht.com/_kuiwboickPM/S5egb0zajhI/AAAAAAAAAUY/3J60c-yS12s/clip_image022_thumb.jpg?imgmax=800" border="0" height="184" width="244" /></a></p> <p>At the time of uninstallation process I had problem with uninstalling the reporting services and the error was:</p> <p><b>"An error has occurred: Access to the path '<Path of perf-ReportServer-rsctr.dll>' is denied" </b></p> <p>Please refer this link to resolve the error: </p> <p>To resolve this issue, close or stop any process or application that may be using the Report Server performance counter, and then try to uninstall Report Server.</p> <p><a href="http://support.microsoft.com/kb/956173">http://support.microsoft.com/kb/956173</a></p>Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-34372404206701505962010-03-03T15:18:00.004+09:002010-03-03T15:23:13.723+09:00VS 2008 SP1 ISO image<div style="text-align: justify;"><span style="font-size:100%;"><span style="font-family:trebuchet ms;">when we are installing VS 2008 SP1, initially we can download a .exe from the microsoft site and upon executing that file we should have the internet connection as it fetches all the latest patches online.</span></span><br /><br /><span style="font-size:100%;"><span style="font-family:trebuchet ms;">if we need to apply the same SP1 to multiple machines then it will be really a headache, so rather doing like that from the following link we can download the ISO image file.</span></span><br /><br /><span style="font-size:100%;"><a style="font-family: trebuchet ms;" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=27673C47-B3B5-4C67-BD99-84E525B5CE61&displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=27673C47-B3B5-4C67-BD99-84E525B5CE61&displaylang=en</a></span><br /></div>Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-14483108914812904822010-03-03T14:19:00.007+09:002010-03-03T23:28:05.187+09:00You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5.When you are trying to install Visual Studio 2008 professional edition on a Windows 2008 R2 suddenly you will be prompted to an error saying "You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5."<br /><div style="text-align: justify;font-family:trebuchet ms;"><span style="font-size:100%;"><br /></span><span style="font-size:100%;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_kuiwboickPM/S43xljBM2GI/AAAAAAAAASs/vedE_pKQzJ0/s1600-h/1.jpg"><img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 320px; height: 164px;" src="http://2.bp.blogspot.com/_kuiwboickPM/S43xljBM2GI/AAAAAAAAASs/vedE_pKQzJ0/s320/1.jpg" alt="" id="BLOGGER_PHOTO_ID_5444273151918528610" border="0" /></a><br /></span><span style="font-size:100%;">In this case what you have to do is, from the Service Manager install the .NET Framework 3.5.1 Feature as Windows 2008 R2 is integrated with .NET Framework 3.5.<br /><br /></span><span style="font-size:100%;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_kuiwboickPM/S43xp6L6VmI/AAAAAAAAAS0/Itnrcjhqchg/s1600-h/2.jpg"><img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 320px; height: 152px;" src="http://1.bp.blogspot.com/_kuiwboickPM/S43xp6L6VmI/AAAAAAAAAS0/Itnrcjhqchg/s320/2.jpg" alt="" id="BLOGGER_PHOTO_ID_5444273226856945250" border="0" /></a><br /></span><span style="font-size:100%;">so before installing VS 2008 make sure that you are enabling this feature <strong>.NET Framework 3.5.1 Features</strong> via the <strong>Add Features Wizard</strong> in <strong>Server Manager</strong>.<br /><br /></span><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_kuiwboickPM/S45x4ktyUtI/AAAAAAAAAS8/W-q8Jji8UIA/s1600-h/33.JPG"><img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 320px; height: 198px;" src="http://1.bp.blogspot.com/_kuiwboickPM/S45x4ktyUtI/AAAAAAAAAS8/W-q8Jji8UIA/s320/33.JPG" alt="" id="BLOGGER_PHOTO_ID_5444414216279839442" border="0" /></a><br /></div>Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-19739377646949787482010-02-24T17:35:00.002+09:002010-03-19T11:58:00.705+09:00Deploying BizTalk 2009 Applications<p align="justify">After long time i had to refresh my knowledge about deploying a BizTalk application. I did all these things some time back and totally forgot the things what i did. Anyhow after developing a small orchestration sample in VS 2008, i tried deploying the application. It successfully deploys but i couldn't see the Application in the Biz Talk Administration Console. totally confused and was searching for the deployed Application name after restarting the service for one, two, three times. I had to make sure is that the schema, map were deployed or not. When i checked in the All Artifacts node, so i was able to find my schema, map were deployed successfully. </p> <p align="justify">So after that i had to check the properties of the BizTalk project what i did developed in VS. When i checked the properties so the Application Name was empty. </p> <p align="justify"><a href="http://lh4.ggpht.com/_kuiwboickPM/S4Tkz1_QoiI/AAAAAAAAASU/6jnqhXXgXy8/s1600-h/image%5B8%5D.png"><img title="image" style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" alt="image" src="http://lh6.ggpht.com/_kuiwboickPM/S4Tk1MvVYVI/AAAAAAAAASY/h2My0pJnfBk/image_thumb%5B2%5D.png?imgmax=800" border="0" height="168" width="244" /></a></p> <p align="justify">In this case at the time of deploying, VS automatically deploys the application as “BizTalk Application 1” and when i checked the maps, schema folders, all my files were deployed there. </p> <p><a href="http://lh4.ggpht.com/_kuiwboickPM/S4Tk2WKW6qI/AAAAAAAAASc/xW0XdAqWHHo/s1600-h/image%5B11%5D.png"><img title="image" style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" alt="image" src="http://lh5.ggpht.com/_kuiwboickPM/S4Tk3Q7_8sI/AAAAAAAAASg/QusUsEnPK0U/image_thumb%5B3%5D.png?imgmax=800" border="0" height="172" width="244" /></a> </p> <p align="justify">so i had to insert a name for the Application Name in VS 2008 and had to redeploy it again. At the time of deploying VS prompts you saying that the DLL is already deployed. What you have to do is remove the assembly from the GAC (C:\Windows\Assembly) and as well as the orchestration, map and schema files from the BizTalk Administrator Console. Once its done try to deploy it again and finally it was deployed successfully. :)</p> <p><a href="http://lh5.ggpht.com/_kuiwboickPM/S4Tk4_rNj_I/AAAAAAAAASk/Pfb7ujXxyUU/s1600-h/image%5B14%5D.png"><img title="image" style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" alt="image" src="http://lh5.ggpht.com/_kuiwboickPM/S4Tk5-LNb-I/AAAAAAAAASo/kaOLhADrpw4/image_thumb%5B4%5D.png?imgmax=800" border="0" height="172" width="244" /></a></p>Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-29015734344416746632010-02-14T20:32:00.002+09:002010-03-19T11:59:24.303+09:00Nintex Context menu doesn't appear in IE8<p align="justify">Once we have configured the Nintex workflow 2007 in our development server, I was unable to see the context menu which should appear in the Nintex workflow controls.</p> <p align="justify">so the reason was when the IEs Enhanced Security Configuration (ESC) settings are turned on then have to add the <strong>about:blank </strong>to the trusted site list.</p>Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-89100250559517032222010-01-26T20:55:00.002+09:002010-03-19T11:59:54.236+09:00Uploading a InfoPath form which is an Administrator Approved Template for SharePoint 2007<p align="justify">As i described in my previous post once we finished saving a InfoPath form which prompted us “Administrator must approve this form template before it can be filled out by using a browse” at the time when we followed the normal usual way to publish a InfoPath form in SharePoint library, as the next step we have to upload this template to the SharePoint via Central Administration.</p> <p align="justify">Browse to the <strong>Central Administration</strong> home page and go to <strong>Application Management</strong>, Under <strong>InfoPath Form Services </strong>Click on <strong>Upload Form Template</strong>. </p> <p align="center"><a href="http://lh4.ggpht.com/_kuiwboickPM/S17YB-KWh2I/AAAAAAAAASA/8VYlfbTYfN8/s1600-h/image%5B3%5D.png"><img title="image" style="border: 0px none; display: inline;" alt="image" src="http://lh3.ggpht.com/_kuiwboickPM/S17YDixCo_I/AAAAAAAAASE/kp5uVKHYX0I/image_thumb%5B1%5D.png?imgmax=800" border="0" height="173" width="277" /></a> </p> <p align="justify">Find the location of the template and browse to it. (If you saved it to SharePoint you'll need to save a local copy on your computer and upload from there.)</p> <p align="center"><a href="http://lh6.ggpht.com/_kuiwboickPM/S17YHbsqRhI/AAAAAAAAASI/jtm0z3y7Xcs/s1600-h/image%5B7%5D.png"><img title="image" style="border: 0px none; display: inline;" alt="image" src="http://lh5.ggpht.com/_kuiwboickPM/S17YI7FL4MI/AAAAAAAAASM/sR-UZA4zBr0/image_thumb%5B3%5D.png?imgmax=800" border="0" height="165" width="263" /></a> </p> <p></p> <p>to be continued…</p>Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0tag:blogger.com,1999:blog-22815162.post-64277736113912664132010-01-26T20:40:00.002+09:002010-03-19T12:00:15.286+09:00An Administrator must approve this form template before it can be filled out by using a browser.<p align="justify">Currently i was working with InfoPath forms for me to design some form templates and later which will be published in SharePoint to enable nintex workflow. Most of time we were used to develop InfoPath forms which is compatible with browser. In other words browser compatible InfoPath forms.</p> <p align="justify">I came across a situation where we need to get the current IP address of the logged in user to the InfoPath form. So at that time i had to write some C# codes in InfoPath form. Upon finished with the codes when i tried to publish the form, mid of the publishing wizard it didn't allow me to publish the InfoPath template directly to the SharePoint library, instead it forced me save it in locally informing “Administrator must approve this form template before it can be filled out by using a browser”.</p> <p align="center"><a href="http://lh3.ggpht.com/_kuiwboickPM/S17UuIjk9-I/AAAAAAAAAR4/mrd1ZJAvK2c/s1600-h/image%5B3%5D.png"><img title="image" style="border: 0px none; display: inline;" alt="image" src="http://lh4.ggpht.com/_kuiwboickPM/S17UvyuaK-I/AAAAAAAAAR8/EP4kWXeUq2c/image_thumb%5B1%5D.png?imgmax=800" border="0" height="194" width="259" /></a> </p> <p align="justify">the reason was :</p> <p align="justify">This behavior occurs because a Microsoft Visual Studio 2005 Tools for the Microsoft Office System form contains managed code by default. </p> <p align="justify"><strong>Note:</strong> If a form template contains managed code, the Publishing Wizard lets you click only the Administrator-approved form template (advanced) option.</p> <p align="justify">the only way in this situation is to save the InfoPath template locally and to upload the same template via the Central Administration.</p>Ammarhttp://www.blogger.com/profile/05886925592513642151noreply@blogger.com0