<?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-1858443630398169358</id><updated>2011-07-12T19:16:18.276+06:00</updated><title type='text'>Microsoft EPM &amp; CRM from novice point of view</title><subtitle type='html'>So....I am writing a blog myself. This blog is not for the guys who consider themselves as expert on both the topics. this is for folks like myself (specially myself, coz i forget everything after i have completed it..) who are more like starters. Who know nothing but dares to know everything....</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1858443630398169358.post-7913357211494508044</id><published>2011-07-12T18:56:00.003+06:00</published><updated>2011-07-12T19:12:20.638+06:00</updated><title type='text'>CRM 2011 custom workflow: Cancelling an Activity and Adding Note to it</title><content type='html'>After a lot of hardship i have come up with workflow which does a very straight forward thing. it looks for an activity with a certain subject line. when it finds the activity in question, if the activity has not been cancelled, it cancels it after adding a note to it. i have done it for all the activity types. to avoid duplication i am just sticking with the first two (task and email). Since i'm copy-pasting, there is a chance that there will be unmatched parenthesis. &lt;div&gt;
&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div style="text-align: justify;"&gt;using System;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;using System.Collections.Generic;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;using System.Linq;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;using System.Text;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;//my usings&lt;/div&gt;&lt;div style="text-align: justify;"&gt;using System.Activities;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;using Microsoft.Xrm.Sdk;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;using Microsoft.Xrm.Sdk.Workflow;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;using Microsoft.Xrm.Sdk.Messages;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;using Microsoft.Xrm.Sdk.Query;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;using System.Collections.ObjectModel;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;using Microsoft.Crm.Sdk.Messages;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;using Microsoft.Xrm.Sdk.Client;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;using Microsoft.Xrm.Sdk.Deployment;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;using Microsoft.Xrm.Sdk.XmlNamespaces;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;using System.Activities.Debugger;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;using Microsoft.IdentityModel.Protocols.WSTrust;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;namespace Don_Det_onUpdate&lt;/div&gt;&lt;div style="text-align: justify;"&gt;{&lt;/div&gt;&lt;div style="text-align: justify;"&gt;    public sealed class DonarDetailsOnApproved : CodeActivity&lt;/div&gt;&lt;div style="text-align: justify;"&gt;    {   &lt;/div&gt;&lt;div style="text-align: justify;"&gt;        [Input("Type of Activity")]&lt;/div&gt;&lt;div style="text-align: justify;"&gt;        [RequiredArgument]&lt;/div&gt;&lt;div style="text-align: justify;"&gt;        [Default("4212")]&lt;/div&gt;&lt;div style="text-align: justify;"&gt;        [AttributeTarget("activitypointer","activitytypecode")]&lt;/div&gt;&lt;div style="text-align: justify;"&gt;        public InArgument&lt;optionsetvalue&gt; TypeOfActivity { get; set; }&lt;/optionsetvalue&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;        &lt;/div&gt;&lt;div style="text-align: justify;"&gt;        [Input("Subject Line")]&lt;/div&gt;&lt;div style="text-align: justify;"&gt;        [RequiredArgument]&lt;/div&gt;&lt;div style="text-align: justify;"&gt;        public InArgument&lt;string&gt; SubjectLine { get; set; }&lt;/string&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;        &lt;/div&gt;&lt;div style="text-align: justify;"&gt;        &lt;/div&gt;&lt;div style="text-align: justify;"&gt;        protected override void Execute(CodeActivityContext context)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;        {&lt;/div&gt;&lt;div style="text-align: justify;"&gt;            IWorkflowContext con = context.GetExtension&lt;iworkflowcontext&gt;();&lt;/iworkflowcontext&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;            IOrganizationServiceFactory objIOrganizationServiceFactory = context.GetExtension&lt;iorganizationservicefactory&gt;();&lt;/iorganizationservicefactory&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;            IOrganizationService service = objIOrganizationServiceFactory.CreateOrganizationService(con.UserId);&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;            OptionSetValue ActType = TypeOfActivity.Get(context);&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;            try&lt;/div&gt;&lt;div style="text-align: justify;"&gt;            {&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                var crm = new XrmServiceContext(service);&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                Int16? ActivityId = Convert.ToInt16(ActType.Value);&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                // 07 july by imran&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                &lt;/div&gt;&lt;div style="text-align: justify;"&gt;                if (ActivityId.HasValue)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                {&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                    switch (ActivityId)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                    {&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                        // this is a task...&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                        case 4212:&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                            var TaskList = crm.TaskSet.Where(t =&amp;gt; t.Subject == SubjectLine.Get(context).ToString() &amp;amp;&amp;amp; t.StateCode != TaskState.Canceled);&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                            foreach (Task tsk in TaskList)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                            {&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                var note = new Annotation&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                {&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                    Subject = "System generated note",&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                    NoteText = "This activity is cancelled and no longer required.",&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                    ObjectId = new EntityReference(tsk.LogicalName, tsk.Id),&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                    ObjectTypeCode = tsk.GetType().ToString().ToLower()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                };&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                crm.AddObject(note);&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                crm.UpdateObject(tsk);&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                crm.SaveChanges();&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                var k = new SetStateRequest&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                {&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                    EntityMoniker = new EntityReference(tsk.LogicalName, tsk.Id),&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                    State = new OptionSetValue(2),&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                    Status = new OptionSetValue(-1)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                };&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                crm.Execute(k);&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                break;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                            }&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                            break;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                        case 4202:          // email&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                            var EmailList = crm.EmailSet.Where(t =&amp;gt; t.Subject == SubjectLine.Get(context).ToString() &amp;amp;&amp;amp; t.StateCode != EmailState.Canceled);&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                            foreach (Email eml in EmailList)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                            {&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                var note = new Annotation&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                {&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                    Subject = "System generated note",&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                    NoteText = "This activity is cancelled and no longer required.",&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                    ObjectId = new EntityReference(eml.LogicalName, eml.Id),&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                    ObjectTypeCode = eml.GetType().ToString().ToLower()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                };&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                crm.AddObject(note);&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                crm.UpdateObject(eml);&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                crm.SaveChanges();&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                var k = new SetStateRequest&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                {&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                    EntityMoniker = new EntityReference(eml.LogicalName, eml.Id),&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                    State = new OptionSetValue(2),&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                    Status = new OptionSetValue(-1)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                };&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                crm.Execute(k);&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                                break;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                            }&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;    break;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;default:&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                            break;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                    }&lt;/div&gt;&lt;div style="text-align: justify;"&gt;                }&lt;/div&gt;&lt;div style="text-align: justify;"&gt;            }&lt;/div&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;            catch (Exception ex)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;            { &lt;/div&gt;&lt;div style="text-align: justify;"&gt;               &lt;/div&gt;&lt;div style="text-align: justify;"&gt;            }&lt;/div&gt;&lt;div style="text-align: justify;"&gt;        }    &lt;/div&gt;&lt;div style="text-align: justify;"&gt;    }&lt;/div&gt;&lt;div style="text-align: justify;"&gt;}&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;&lt;div&gt;the question that pops up as soon as you come across to the code. that how the hell you come across to the activitytype (which i used in switch). i am damn sure there are lots of smart ways to find them. but i debugged and looked for the value. (silly me...)&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;/blockquote&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/1858443630398169358-7913357211494508044?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/7913357211494508044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=7913357211494508044' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/7913357211494508044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/7913357211494508044'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2011/07/crm-2011-custom-workflow-cancelling.html' title='CRM 2011 custom workflow: Cancelling an Activity and Adding Note to it'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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-1858443630398169358.post-3215627595348037976</id><published>2011-07-11T02:52:00.003+06:00</published><updated>2011-07-11T03:41:02.437+06:00</updated><title type='text'>System.Configuration.ConfigurationSettings.AppSettings’ is obsolete: ‘This method is obsolete, it has been replaced by System.Configuration!System.Con</title><content type='html'>&lt;blockquote&gt;&lt;/blockquote&gt;one of the great ways to save machine/server specific info into application is to save it in app.config or web.config file. these config files traditionally stores connection informations to the database. But how about if you want to store some other things like, the location of input and output folder for files.&lt;div&gt;
&lt;/div&gt;&lt;div&gt;below is a code snippet of two file locations that i am storing into app.config file&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;code&gt;&lt;div&gt;&lt;configuration&gt;&lt;/configuration&gt;&lt;/div&gt;&lt;div&gt;  &lt;appsettings&gt;&lt;/appsettings&gt;&lt;/div&gt;&lt;div&gt;    &lt;add key="Source" value="C:\"&gt;&lt;/add&gt;&lt;/div&gt;&lt;div&gt;    &lt;add key="Assembly" value="C:\mp3\"&gt;&lt;/add&gt;&lt;/div&gt;&lt;div&gt;  &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/code&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;div&gt;as you can probably understand i have created two key value pairs named "Source" and "Assembly" which stores a file location of my computer. now question is how to get them in your .cs file? answer is, use "ConfigurationSettings" class under system. so if you want to the value "source" in .cs just type in this &lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;string k = ConfigurationSettings.AppSettings["Source"].ToString();  &lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;but as soon as you type that in, if you are using .net 4.0 you are going to encounter the second problem. the line will be underlined in green which will say some thing like,&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: Arial, Verdana; font-size: 14px; line-height: 20px; "&gt;&lt;strong style="font-weight: bold; "&gt;&lt;blockquote&gt;System.Configuration.ConfigurationSettings.AppSettings’ is obsolete: ‘This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings&lt;/blockquote&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;div&gt;so then you will likely be using "ConfigurationManager" instead. now you face the third problem. it will say, "ConfigurationManager does not exists in current context" [i do not have clue why this sentence cannot be some thing like this "We cannot find the damn thing. check your references"]&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;div&gt;Since "ConfigurationSettings" came under intelli-sense without referencing anything, logical deduction was i will see "ConfigurationManager" in the same list since both of them belong to System.Configuration. i googled it a lot and found out that you have to manually reference System.ConfigurationManager into the application. "why on earth you have to do this for Manager and do not have to do it for settings" is something i yet to discover.&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;div&gt;So once you reference "System.ConfigurationManager" all will become cake walk to you. and the final code for getting the value of "Source" will be,&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;source = ConfigurationManager.AppSettings["Source"].ToString();&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;div&gt;&lt;div&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/1858443630398169358-3215627595348037976?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/3215627595348037976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=3215627595348037976' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/3215627595348037976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/3215627595348037976'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2011/07/systemconfigurationconfigurationsetting.html' title='System.Configuration.ConfigurationSettings.AppSettings’ is obsolete: ‘This method is obsolete, it has been replaced by System.Configuration!System.Con'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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-1858443630398169358.post-7748978480125969057</id><published>2011-07-11T02:23:00.003+06:00</published><updated>2011-07-12T19:16:18.290+06:00</updated><title type='text'>When you laugh at the irony...sometime it turns around and laughs at you....</title><content type='html'>ok here's the thing...i have moved back to dynamics CRM again....the reason, i got a new job which deals with CRM development, the version of course is 2011. it gives me great pleasure to find out dynamics CRM has not been changed much from what it used to be two lives back. it still remains baffling and there are not much code example on the net. having said that,  &lt;a href="http://msdn.microsoft.com/en-us/dynamics/crm"&gt;MSDN - CRM Community&lt;/a&gt; remains the great saviour for a novice programmer like me.&lt;div&gt;
&lt;/div&gt;&lt;div&gt;enough said. i don't want to provide a full proof article about my ignorance on CRM or any techs for that matter. i have done so many things on .NET lately. I'm sure if I don't safe keep the codings that i have done so far, they will soon be perished in the hard drive and i won't be finding them just when i need them.&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;div&gt;so here's the plan. for the next few posts i will be providing some .net code which i have used over and over again. I will be spicing the posts with some small code snippets/thoughts/curses on dynamics CRM from my "novice point of view".&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;div&gt;advisory statement: the codes may not seem very intriguing for all you smart asses. but these codes saved my life many a occasions. and obviously this is my post and i am writing it.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1858443630398169358-7748978480125969057?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/7748978480125969057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=7748978480125969057' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/7748978480125969057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/7748978480125969057'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2011/07/when-you-laugh-at-ironysometime-it.html' title='When you laugh at the irony...sometime it turns around and laughs at you....'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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-1858443630398169358.post-7574487686194513004</id><published>2010-02-04T03:56:00.004+06:00</published><updated>2010-09-08T14:20:25.817+06:00</updated><title type='text'>iron speed: upload a file to file system and save the location in database...solved</title><content type='html'>This is the first time when a product documentation has come to my rescue. The iron speed code documentation has done the trick for me. I am trying to figure out a way to provide the code snippet a format other than image so that it can be in a ‘copy and paste’ format for later purposes. This is the image of the product documentation that had helped me for this particular problem.

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_F_ZFeIZ-eHo/S2n4I9KsFtI/AAAAAAAAAC4/vA1mMoGV9qM/s1600-h/CallingHierarchyRecordControlSavingData.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 123px;" src="http://3.bp.blogspot.com/_F_ZFeIZ-eHo/S2n4I9KsFtI/AAAAAAAAAC4/vA1mMoGV9qM/s320/CallingHierarchyRecordControlSavingData.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5434147258141251282" /&gt;&lt;/a&gt;



Okey first thing’s first. How I got around the problem? As I have discussed in phase one that I want upload a file into the filesystem using the fileInput control. At the same time I wanted to save that virtual address to the DB location. My approach was I will designate the savelocation value to the url Textbox and ask iron speed to take data from the url Textbox. Another approach may be to declare a hidden asp label. Then assign the savelocation value to the label. Iron speed will pull the data from the label. A normal procedure could have been taking the value from the input file directly. The reason I did not take the approach is because InputFile is an html control. I did not want to get in another hassle of converting html variable into aspx data. Rest is fairly easy.    





&lt;blockquote&gt;

public void try1_Click(object sender, EventArgs args)
            {
                bool shouldRedirect = true;
                try1_Click_Base(sender, args);
                
                //searching the html control called inputFile
                System.Web.UI.HtmlControls.HtmlInputFile inputFile;
                inputFile = ((System.Web.UI.HtmlControls.HtmlInputFile)(this.Page.FindControl("inputFile")));

                if ((!(inputFile.PostedFile == null) &amp;&amp; (inputFile.PostedFile.ContentLength &gt; 0)))
                {
                    // getting the filename
                    // getting the savelocation 
                    string fileName = System.IO.Path.GetFileName(inputFile.PostedFile.FileName);
                    string saveLocation = (this.Page.Server.MapPath("..\\Data") + ("\\" + fileName));


                    try 
                    {
                        // start transaction to store the file location to DB
                        DbUtils.StartTransaction();    

                        // saving file to file system
                        inputFile.PostedFile.SaveAs(saveLocation);

                        // setting the control value  = saveLocation
                        this.ImageRecordControl.url.Text = saveLocation;

                        // saving data to DB
                        this.ImageRecordControl.SaveData();
                        this.CommitTransaction(sender);

                    }
                    
                    
                    catch (Exception ex)
                    {
                        this.Page.Response.Write(("Error: " + ex.Message));
                        shouldRedirect = false;
                        BaseClasses.Utils.MiscUtils.RegisterJScriptAlert(this, "BUTTON_CLICK_MESSAGE", ex.Message);
                        this.RollBackTransaction(sender);
                    }

                    finally
                    {
                        DbUtils.EndTransaction();
                    }

                    if (shouldRedirect)
                    {
                        this.ShouldSaveControlsToSession = true;
                    }

                }
                else 
                {
                    this.Page.Response.Write("Please select a file to upload.");
                }
        }


&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1858443630398169358-7574487686194513004?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/7574487686194513004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=7574487686194513004' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/7574487686194513004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/7574487686194513004'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2010/02/iron-speed-upload-file-to-file-system_4670.html' title='iron speed: upload a file to file system and save the location in database...solved'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_F_ZFeIZ-eHo/S2n4I9KsFtI/AAAAAAAAAC4/vA1mMoGV9qM/s72-c/CallingHierarchyRecordControlSavingData.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1858443630398169358.post-264643912188183844</id><published>2010-02-04T01:04:00.002+06:00</published><updated>2010-02-04T01:09:39.336+06:00</updated><title type='text'>iron speed: upload a file to file system and save the location in database...[phase two] cont...</title><content type='html'>i'm having no luck with the problem. it should have been a piece of cake. it has turned up to be a very hard nut to crack. the only update of my situation here is, i just accidentally clicked on &lt;b&gt;code documentation&lt;/b&gt; instead of &lt;b&gt;code customization&lt;/b&gt; which was just next to it. I was just having a look then i came across to this image of the class hierarchy...may be it will help..... 

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_F_ZFeIZ-eHo/S2nJ1da2FHI/AAAAAAAAACw/GTON-fqF0RU/s1600-h/CallingHierarchyRecordControlSavingData.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 239px;" src="http://3.bp.blogspot.com/_F_ZFeIZ-eHo/S2nJ1da2FHI/AAAAAAAAACw/GTON-fqF0RU/s320/CallingHierarchyRecordControlSavingData.gif" border="0" alt="" id="BLOGGER_PHOTO_ID_5434096345666688114" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1858443630398169358-264643912188183844?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/264643912188183844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=264643912188183844' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/264643912188183844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/264643912188183844'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2010/02/iron-speed-upload-file-to-file-system_04.html' title='iron speed: upload a file to file system and save the location in database...[phase two] cont...'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_F_ZFeIZ-eHo/S2nJ1da2FHI/AAAAAAAAACw/GTON-fqF0RU/s72-c/CallingHierarchyRecordControlSavingData.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1858443630398169358.post-3054891379829846779</id><published>2010-02-02T23:18:00.004+06:00</published><updated>2010-02-02T23:38:26.472+06:00</updated><title type='text'>iron speed: upload a file to file system and save the location in database...[phase two]</title><content type='html'>Now let us talk a bit about save button. As I was checking the code behind I saw the onclick event handler for save is calling a method named SaveButton_Click_Base(). This is the method from where the data is posted into the DB. The first thing that I noticed is the method is in a section called &lt;b&gt;Do not modify the Section&lt;/b&gt;. Here I go again, falling in place where I have to do a prohibited  thing with small calibre of knowledge I got.....

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_F_ZFeIZ-eHo/S2hhBvB0NjI/AAAAAAAAACg/fadK5QB1nM8/s1600-h/img+one.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 199px;" src="http://1.bp.blogspot.com/_F_ZFeIZ-eHo/S2hhBvB0NjI/AAAAAAAAACg/fadK5QB1nM8/s320/img+one.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5433699632854349362" /&gt;&lt;/a&gt;

As you can see there are four string type variables. They are&lt;div&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;TargetKey&lt;/li&gt;&lt;li&gt;DFKA&lt;/li&gt;&lt;li&gt;Id&lt;/li&gt;&lt;li&gt;value&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_F_ZFeIZ-eHo/S2hh6FDlt4I/AAAAAAAAACo/9wUrNxNhifc/s1600-h/img+one.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 278px; height: 124px;" src="http://4.bp.blogspot.com/_F_ZFeIZ-eHo/S2hh6FDlt4I/AAAAAAAAACo/9wUrNxNhifc/s320/img+one.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5433700600840042370" /&gt;&lt;/a&gt;

A Response.Redirect command will unfold what values each of them hold.


&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1858443630398169358-3054891379829846779?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/3054891379829846779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=3054891379829846779' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/3054891379829846779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/3054891379829846779'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2010/02/iron-speed-upload-file-to-file-system_03.html' title='iron speed: upload a file to file system and save the location in database...[phase two]'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_F_ZFeIZ-eHo/S2hhBvB0NjI/AAAAAAAAACg/fadK5QB1nM8/s72-c/img+one.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1858443630398169358.post-2912024574797230635</id><published>2010-02-02T22:33:00.007+06:00</published><updated>2010-02-02T23:15:06.910+06:00</updated><title type='text'>iron speed: upload a file to file system and save the location in database...[phase one]</title><content type='html'>The image below show the page I am working in. When the save button is clicked the system stores what is in the url and id field. When the try1 button is clicked, the file in inputfile is stored in the DB. My approach as I have told you before is try to save the location in the db so that later on that location will be retrieved.

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_F_ZFeIZ-eHo/S2haMaIIarI/AAAAAAAAACI/oZ0ND-Y2YHQ/s1600-h/Picture1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 246px;" src="http://4.bp.blogspot.com/_F_ZFeIZ-eHo/S2haMaIIarI/AAAAAAAAACI/oZ0ND-Y2YHQ/s320/Picture1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5433692119640861362" /&gt;&lt;/a&gt;

As I ran through the codebehind class I saw that it creates customized function for onclick event for try1. The code snippet is given bellow,

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_F_ZFeIZ-eHo/S2hbwMI_SqI/AAAAAAAAACY/plw24xKT_ok/s1600-h/img+one.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 211px;" src="http://2.bp.blogspot.com/_F_ZFeIZ-eHo/S2hbwMI_SqI/AAAAAAAAACY/plw24xKT_ok/s320/img+one.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5433693833873279650" /&gt;&lt;/a&gt;

As you can see variable saveLocation stores the file in the virtual directory named ‘data’. So if I rephrase my problem statement then it would become like this, “I want the file to be stored in saveLocation and the value of id and savelocation should be stored in the database.

so what i did is, i copied all the content of the codebehind separate file generate a new codebehind for the page.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1858443630398169358-2912024574797230635?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/2912024574797230635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=2912024574797230635' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/2912024574797230635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/2912024574797230635'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2010/02/iron-speed-upload-file-to-file-system_02.html' title='iron speed: upload a file to file system and save the location in database...[phase one]'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_F_ZFeIZ-eHo/S2haMaIIarI/AAAAAAAAACI/oZ0ND-Y2YHQ/s72-c/Picture1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1858443630398169358.post-3234449959203163843</id><published>2010-02-02T21:46:00.003+06:00</published><updated>2010-02-02T22:32:50.698+06:00</updated><title type='text'>iron speed: upload a file to file system and save the location in database...</title><content type='html'>I have come across to iron speed designer in my previous organization. I think it very handy when it comes to development content manager like website. It has support for AJAX and new .net framework 3.X. The choices of design options are limited when it comes develop a new kind of websites. 

I am building a website for a collage now. The site will hold almost all kind of student information, some staff information and some specific reports. In this website I intend to save images in the file system of the website and store the location of image to the database. Iron speed has a customization support for uploading a file in file system in this &lt;a href="http://www.ironspeed.com/Designer/6.2.1/Code%20Customizations/ShowCodeCustomization.aspx?codeCustomizationName=/Designer/6.2.1/Code%20Customizations/cs/Attachments/Upload%20a%20File%20to%20the%20File%20System&amp;displayType=description"&gt;article &lt;/a&gt;  but next phase of my problem has not yet been considered. Let us see if I can manage to solve the issue.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1858443630398169358-3234449959203163843?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/3234449959203163843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=3234449959203163843' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/3234449959203163843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/3234449959203163843'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2010/02/iron-speed-upload-file-to-file-system.html' title='iron speed: upload a file to file system and save the location in database...'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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-1858443630398169358.post-4324961917815709348</id><published>2010-02-02T21:27:00.002+06:00</published><updated>2010-02-02T21:44:06.776+06:00</updated><title type='text'>From a place miles away from my destination</title><content type='html'>This is year 2010....&lt;div&gt;
&lt;/div&gt;&lt;div&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The last time I have blogged is almost exactly three and half years ago. Although I have uploaded this blog with few of my researches every now and then, I haven’t been able to ‘blog’ in real sense if you know what I mean. If someone asks ‘What happened?’ I do not think that I have an appropriate answer for it. I have come across to many life changing events in these three years. Some have given me new prospective of life, and some were even worse than the horrific nightmares I see. Rest assured, I have left my dream of becoming youngest ever MSCRM and MSEPM professional miles away. I have started my life new as a rookie again. The blogs that I’ll post here after will be of the problems and issues that I come across to my day to day activities. It will not deal with EPM or CRM. Not anymore...... &lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1858443630398169358-4324961917815709348?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/4324961917815709348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=4324961917815709348' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/4324961917815709348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/4324961917815709348'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2010/02/from-place-miles-away-from-my.html' title='From a place miles away from my destination'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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-1858443630398169358.post-8384358931767116240</id><published>2008-01-14T11:14:00.000+06:00</published><updated>2008-01-14T11:30:53.660+06:00</updated><title type='text'>EPM 2003 : Unexpected Server Response - when try to connect to the project server  from Project Professional</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_F_ZFeIZ-eHo/R4rw2xsTwoI/AAAAAAAAABM/7HTgZTVbuaY/s1600-h/unexpected.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_F_ZFeIZ-eHo/R4rw2xsTwoI/AAAAAAAAABM/7HTgZTVbuaY/s400/unexpected.JPG" alt="" id="BLOGGER_PHOTO_ID_5155197547321737858" border="0" /&gt;&lt;/a&gt;
this is one of the most common error of EPM 2003. there are number of things that need to be checked to get rid of of the error.

&lt;ul&gt;&lt;li&gt;check whether the project server 2003 database is enlisted to the trusted sites list in the internet explorer. use fully qualified server name rather  than  just local computer name.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;see whenther Authentication in security setting is set to , Automatic Logon with Current User Name and Password. if not make it.&lt;/li&gt;&lt;/ul&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_F_ZFeIZ-eHo/R4ryoRsTwpI/AAAAAAAAABU/vNyoqrQCyUM/s1600-h/autometic.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_F_ZFeIZ-eHo/R4ryoRsTwpI/AAAAAAAAABU/vNyoqrQCyUM/s400/autometic.JPG" alt="" id="BLOGGER_PHOTO_ID_5155199497236890258" border="0" /&gt;&lt;/a&gt;
&lt;ul&gt;&lt;li&gt;Check the ActiveX settings for the internet explorer. what i did in my IE is that i put all enabled in any option related with ActiveX. works real good when you are intranet environment.&lt;/li&gt;&lt;/ul&gt;that's about it for today.............&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1858443630398169358-8384358931767116240?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/8384358931767116240/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=8384358931767116240' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/8384358931767116240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/8384358931767116240'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2008/01/epm-2003-unexpected-server-response.html' title='EPM 2003 : Unexpected Server Response - when try to connect to the project server  from Project Professional'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_F_ZFeIZ-eHo/R4rw2xsTwoI/AAAAAAAAABM/7HTgZTVbuaY/s72-c/unexpected.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1858443630398169358.post-6873115691395347182</id><published>2008-01-14T11:09:00.000+06:00</published><updated>2008-01-14T11:13:44.981+06:00</updated><title type='text'>EPM 2003: Adding Resource to Enterprise Resource Pool Problem - Part 2</title><content type='html'>well i have resolved the problem. the problem lies with the resource name. here the resource name has to be same as the user account in project server. the default is set to be the windows user account name (the name written specified in Active Directory). when i changed the name according to the project server then the i can easily add the resources to the pool.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1858443630398169358-6873115691395347182?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/6873115691395347182/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=6873115691395347182' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/6873115691395347182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/6873115691395347182'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2008/01/epm-2003-adding-resource-to-enterprise.html' title='EPM 2003: Adding Resource to Enterprise Resource Pool Problem - Part 2'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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-1858443630398169358.post-9149413235045296893</id><published>2008-01-10T11:44:00.000+06:00</published><updated>2008-01-14T10:59:53.533+06:00</updated><title type='text'>EPM 2003: Adding Resource to Enterprise Resource Pool Problem - Part 1</title><content type='html'>&lt;span style="font-weight: bold;font-size:130%;" &gt;The Highlighted enterprise resources either have invalid data or there is additional information about that resources displayed bellow. Edit any invalid values highlighted bellow to save and check in resources.&lt;/span&gt;

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_F_ZFeIZ-eHo/R4WyGhsTwlI/AAAAAAAAAA0/9xjRO1IA5n4/s1600-h/untitled.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_F_ZFeIZ-eHo/R4WyGhsTwlI/AAAAAAAAAA0/9xjRO1IA5n4/s400/untitled.JPG" alt="" id="BLOGGER_PHOTO_ID_5153721173788574290" border="0" /&gt;&lt;/a&gt;when i click on the resource for more information then the following box appears.

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_F_ZFeIZ-eHo/R4XELRsTwmI/AAAAAAAAAA8/8nL7OvApdLM/s1600-h/windows+user+account+confirmation.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_F_ZFeIZ-eHo/R4XELRsTwmI/AAAAAAAAAA8/8nL7OvApdLM/s400/windows+user+account+confirmation.JPG" alt="" id="BLOGGER_PHOTO_ID_5153741046602252898" border="0" /&gt;&lt;/a&gt;in the screen when i click &lt;span style="font-weight: bold;"&gt;windows user account &lt;/span&gt;then the following box appears

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_F_ZFeIZ-eHo/R4XFSxsTwnI/AAAAAAAAABE/jwcyaVgg1L8/s1600-h/windows+user+account+confirmation+2.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_F_ZFeIZ-eHo/R4XFSxsTwnI/AAAAAAAAABE/jwcyaVgg1L8/s400/windows+user+account+confirmation+2.JPG" alt="" id="BLOGGER_PHOTO_ID_5153742274962899570" border="0" /&gt;&lt;/a&gt;


i don't know what is going wrong......

searching for resolution....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1858443630398169358-9149413235045296893?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/9149413235045296893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=9149413235045296893' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/9149413235045296893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/9149413235045296893'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2008/01/epm-2003-adding-enterprise-resource.html' title='EPM 2003: Adding Resource to Enterprise Resource Pool Problem - Part 1'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_F_ZFeIZ-eHo/R4WyGhsTwlI/AAAAAAAAAA0/9xjRO1IA5n4/s72-c/untitled.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1858443630398169358.post-649978681010186623</id><published>2008-01-06T15:20:00.000+06:00</published><updated>2008-01-06T15:28:57.860+06:00</updated><title type='text'>Mircrosoft EPM 2003: the user could not be created...another stupid problem</title><content type='html'>well today i received a new error while creating a new user in EPM server. the error goes like this....

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_F_ZFeIZ-eHo/R4CenRsTwkI/AAAAAAAAAAs/MZepoie3uMA/s1600-h/cannot+create+user.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_F_ZFeIZ-eHo/R4CenRsTwkI/AAAAAAAAAAs/MZepoie3uMA/s400/cannot+create+user.JPG" alt="" id="BLOGGER_PHOTO_ID_5152292371313181250" border="0" /&gt;&lt;/a&gt;i some how realized that my project server has lost its connection with the DNS. the computers object in AD does not show the project server computer name...so i added the project server into the domain....and that's it....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1858443630398169358-649978681010186623?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/649978681010186623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=649978681010186623' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/649978681010186623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/649978681010186623'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2008/01/mircrosoft-epm-2003-user-could-not-be.html' title='Mircrosoft EPM 2003: the user could not be created...another stupid problem'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_F_ZFeIZ-eHo/R4CenRsTwkI/AAAAAAAAAAs/MZepoie3uMA/s72-c/cannot+create+user.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1858443630398169358.post-5215316660795382318</id><published>2007-12-30T12:40:00.000+06:00</published><updated>2007-12-30T13:00:23.260+06:00</updated><title type='text'>Microsoft EPM 2003: SQL Server service does not start successfully because of a logon failure</title><content type='html'>Well this is one of the the errors that i faced when i went to my last visited organization to give EPM 2003 consultation.

their EPM 2003 installation is very much straight forward. all the server and services are created by the user who has some Admin privileges. by some admin privileges i mean, the admin can do every thing except creating new  Active Directory objects (i.e users, computers ..so forth).

the symptom of the problem is, some of the time when the EPM server needs to be restarted, the  SQL service does not start automatically. when i try to start the service manually then the error mentioned is the topic shows up. there are two links which came handy to me. they are,
&lt;ol&gt;&lt;li&gt;&lt;a href="http://support.microsoft.com/kb/282254"&gt;Microsoft KB article&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://dotnet.org.za/thea/archive/2004/06/09/2069.aspx"&gt;Thea Burger's Blog&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;i specially liked the second link because that contains simple process which is easier to remember.

if some one asks me to briefly describe how to resolve the problem then i will simply say, change the SQL server log on to Domain Admin user's account and password.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1858443630398169358-5215316660795382318?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/5215316660795382318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=5215316660795382318' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/5215316660795382318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/5215316660795382318'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2007/12/microsoft-epm-2003-sql-server-service.html' title='Microsoft EPM 2003: SQL Server service does not start successfully because of a logon failure'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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-1858443630398169358.post-5898745326570925568</id><published>2007-12-30T12:21:00.000+06:00</published><updated>2007-12-30T12:34:50.027+06:00</updated><title type='text'>CRM 3.0 redeployment: setup has detected a version mismatch between specified database and the current product</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Problem is solved
&lt;span style="font-weight: bold;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.microsoft.com/Businesssolutions/Community/NewsGroups/dgbrowser/en-us/default.mspx?dg=microsoft.public.crm.deployment&amp;amp;tid=926faaf1-d8e7-4420-85d6-c5a45d5ba193&amp;amp;cat=&amp;amp;lang=en&amp;amp;cr=US&amp;amp;sloc=en-us&amp;amp;m=1&amp;amp;p=1"&gt;Microsoft Business Solution Group&lt;/a&gt; has done the trick for me. in the post # 11 there is a query to update the buildversion table. i don't know yet why am i updating the buildversion table? nevertheless, my problem has been solved using the query. well the query goes here......

&lt;span style=";font-family:Verdana,Arial,Helvetica;font-size:85%;"  &gt;&lt;blockquote&gt;Update   BuildVersion set Revision = 9 where BuildNumber = 5300&lt;/blockquote&gt;
&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-size:100%;"&gt;
&lt;/span&gt;&lt;span style="font-family: georgia;font-family:Verdana,Arial,Helvetica;font-size:100%;"  &gt;though the pre CRM setup assessment shows some warnings but the CRM server gets installed without any errors. i am testing the current CRM server now. so far no problem found.  &lt;/span&gt;
&lt;/div&gt;




&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1858443630398169358-5898745326570925568?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/5898745326570925568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=5898745326570925568' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/5898745326570925568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/5898745326570925568'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2007/12/crm-30-redeployment-setup-has-detected_29.html' title='CRM 3.0 redeployment: setup has detected a version mismatch between specified database and the current product'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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-1858443630398169358.post-3067017329863814738</id><published>2007-12-30T09:42:00.000+06:00</published><updated>2007-12-30T10:38:30.151+06:00</updated><title type='text'>CRM 3.0 redeployment: setup has detected  a version mismatch between specified database and the current product</title><content type='html'>well....its a new day....let's start from the beginning


i had a CRM 3.0 installation previously....for some reason, i want to redeploy the CRM 3.0 using the older database.

&lt;ol&gt;&lt;li&gt;my Active Directory is new (not back up new...it's just new, new). it has same name and users as in the previous installation.&lt;/li&gt;&lt;li&gt;installed the SQL server and restored the MSCRM and METABASE databases.&lt;/li&gt;&lt;li&gt;i have  installed the CRMRedeployment tool and did exactly what  is written in the redeployment manual. &lt;/li&gt;&lt;li&gt;when try to install in the diagnostic test the setup gives error under Microsoft SQL server. &lt;blockquote style="font-style: italic;"&gt;setup has detected  a version mismatch between specified database and the current product&lt;/blockquote&gt;&lt;/li&gt;&lt;/ol&gt;
i have checked the net for resolution but no good. still i got a number of post in different forums and blogs about the same problem. one of the links is &lt;a href="http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.crm&amp;amp;tid=55f20ffe-82fc-439e-aa2b-78deea9e5e3a&amp;amp;p=1"&gt;Microsoft community&lt;/a&gt;.

one guy here says that he did solved the problem but does not say how. he gives hint though that it has something to do with the build version in SQL server. as usual i've got no clue about what he wants to mean?

another link is &lt;a href="http://www.microsoft.com/Businesssolutions/Community/NewsGroups/dgbrowser/en-us/default.mspx?dg=microsoft.public.crm.deployment&amp;amp;tid=926faaf1-d8e7-4420-85d6-c5a45d5ba193&amp;amp;cat=&amp;amp;lang=en&amp;amp;cr=US&amp;amp;sloc=en-us&amp;amp;m=1&amp;amp;p=1"&gt;Microsoft Dynamics CRM newsgroup&lt;/a&gt;. it has a some sort of resolution. but i cannot say whether it will resolve my problem or not? it is about upgrading from CRM 1.2 to CRM 3.0. let's what happens? 
&lt;blockquote&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1858443630398169358-3067017329863814738?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/3067017329863814738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=3067017329863814738' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/3067017329863814738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/3067017329863814738'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2007/12/crm-30-redeployment-setup-has-detected.html' title='CRM 3.0 redeployment: setup has detected  a version mismatch between specified database and the current product'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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-1858443630398169358.post-9198353422735939759</id><published>2007-12-29T14:22:00.000+06:00</published><updated>2007-12-29T15:27:42.036+06:00</updated><title type='text'>CRM 3.0 redeployment part 3</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Step 5:&lt;/span&gt;
Ok now comes the tricky part of the whole redeployment . i am stuck in this place for two days now. after setting the server and database name a window comes for specifying the organizational unit. i have selected the organizational unit correctly.

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_F_ZFeIZ-eHo/R3YI0BsTwhI/AAAAAAAAAAU/PtHsXfWZAyo/s1600-h/organizational+unit.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 364px; height: 229px;" src="http://bp3.blogger.com/_F_ZFeIZ-eHo/R3YI0BsTwhI/AAAAAAAAAAU/PtHsXfWZAyo/s320/organizational+unit.JPG" alt="" id="BLOGGER_PHOTO_ID_5149312913845240338" border="0" /&gt;&lt;/a&gt;additionally i have stayed with keep existing users.

then if i continue the redeployment wizard by clicking next. the wizard migrates the system without any error.


&lt;span style="font-weight: bold;"&gt;Step 6:&lt;/span&gt;
I am trying to install the CRM server by connecting to the existing database in the &lt;span style="font-style: italic;"&gt;server 1&lt;/span&gt;.....voila.......there are errors but different ones.......

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_F_ZFeIZ-eHo/R3YNpBsTwiI/AAAAAAAAAAc/Xx_fChLBAaA/s1600-h/crm+error.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 435px; height: 329px;" src="http://bp3.blogger.com/_F_ZFeIZ-eHo/R3YNpBsTwiI/AAAAAAAAAAc/Xx_fChLBAaA/s400/crm+error.JPG" alt="" id="BLOGGER_PHOTO_ID_5149318222424818210" border="0" /&gt;&lt;/a&gt;

it has some problems with sql server 2005. it says, setup detected a version mismatch between specified database and the  current product ($#@$##). i don't understand what on earth it is saying. if click for detail it shows this,

&lt;h1 style="font-family: courier new;"&gt;The Version of Your Microsoft CRM Database is Lower Than Expected&lt;/h1&gt; &lt;h2 style="font-family: courier new;"&gt;Cause&lt;/h2&gt; &lt;p style="font-family: courier new;"&gt;Setup has detected that the version of your current Microsoft CRM 1.2  database does not match the version required.&lt;/p&gt; &lt;h2 style="font-family: courier new;"&gt;Solution&lt;/h2&gt; &lt;p style="font-family: courier new;"&gt;To resolve this problem, contact Microsoft Product Support Services. For a  complete list of Microsoft Product Support Services telephone numbers and  information about support costs, visit the following Microsoft Web site:&lt;/p&gt; &lt;p style="font-family: courier new;"&gt;&lt;a href="http://support.microsoft.com/default.aspx?scid=fh;%5BLN%5D;CNTACTMS"&gt;http://support.microsoft.com/default.aspx?scid=fh;[LN];CNTACTMS&lt;/a&gt;&lt;/p&gt;
as i said earlier i don't understand a single thing. i don't know from where CRM 1.2 database comes into play..... let's see if i can find any thing related to this issue on the net.....




&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1858443630398169358-9198353422735939759?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/9198353422735939759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=9198353422735939759' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/9198353422735939759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/9198353422735939759'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2007/12/crm-30-redeployment-part-3.html' title='CRM 3.0 redeployment part 3'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_F_ZFeIZ-eHo/R3YI0BsTwhI/AAAAAAAAAAU/PtHsXfWZAyo/s72-c/organizational+unit.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1858443630398169358.post-5271470448575518047</id><published>2007-12-29T12:19:00.000+06:00</published><updated>2007-12-29T13:14:08.836+06:00</updated><title type='text'>CRM 3.0 redeployment part 2</title><content type='html'>In the redeployment... i have not backed up the AD. rather i created a new AD and created the corresponding users  on it.  reference figure of the installation can be found in the page 1 of the installation guideline journal.

i had 4  users in the previous installation, one user having marketing manager role, two having system administrator role (one is the domain administrator, other is the CRM administrator) and the last one having  a custom created role.  as in the redeployment documentation i have installed the CRM redeployement wizard in server 2.

now let us go through the steps for restoring the server.

&lt;span style="font-weight: bold;"&gt;Step 1:&lt;/span&gt;
our laptops are not specifically used for CRM purposes, so there is no back up for laptop clients necessary.

There is no Great Plains.

No WorkFlows.

Both .mdf and .ldf files for the databases
My_Organization_Name_METABASE
My_Organization_Name_MSCRM
has been backed up.

&lt;span style="font-weight: bold;"&gt;Step 2:&lt;/span&gt;
Not necessary


&lt;span style="font-weight: bold;"&gt;Step 3:&lt;/span&gt;
AD domain controllers
SQL server (with 2005 reporting services)
Exchange 2003 has been installed.....


&lt;span style="font-weight: bold;"&gt;Step 4:&lt;/span&gt;&lt;span&gt;
&lt;span&gt;The CRM metabase and the database has been restored. the problem begins when restoring the  MSCRM database. it shows a warning message (as shown in the figure).  the message says, "one or more full text catalogs are used by this database. do you want to locate the full text database? (click No to skip attaching full text catalogs.)" in this stage i clicked No. and the database got attached with no error message.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;

&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_F_ZFeIZ-eHo/R3XvIxsTwgI/AAAAAAAAAAM/tHw2p6QgMvU/s1600-h/sql+error.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 347px; height: 86px;" src="http://bp1.blogger.com/_F_ZFeIZ-eHo/R3XvIxsTwgI/AAAAAAAAAAM/tHw2p6QgMvU/s320/sql+error.JPG" alt="" id="BLOGGER_PHOTO_ID_5149284683025203714" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1858443630398169358-5271470448575518047?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/5271470448575518047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=5271470448575518047' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/5271470448575518047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/5271470448575518047'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2007/12/crm-30-redeployment-part-2.html' title='CRM 3.0 redeployment part 2'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_F_ZFeIZ-eHo/R3XvIxsTwgI/AAAAAAAAAAM/tHw2p6QgMvU/s72-c/sql+error.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1858443630398169358.post-3274373100863795746</id><published>2007-12-29T10:52:00.001+06:00</published><updated>2007-12-29T13:09:18.472+06:00</updated><title type='text'>CRM 3.0 redeployment part 1</title><content type='html'>Now i am in my office working on redeployment of the CRM 3.0 server. it has been two days i'm stuck on the same point that i am now.

i am following the redeployment guideline described in the redeployment journal of CRM 3.0. at first i found it on a Microsoft site, later i discovered that the same journal is stored in the CRM CD in \RedeploymentTool folder.

before i go in deep into the installation procedures. let me give you an idea about the server layer of my organization.

&lt;span style="font-weight: bold;"&gt;Server 1:
&lt;/span&gt;OS:  Windows 2003 Server (SP1) Enterprise Edition
Services:
1. DNS
2. Active directory
3. IIS (with ASP. net)
4. NNTP and SMTP services from IIS

Installed Servers:
1. Microsoft SQL server 2005 enterprise edition.
2. Microsoft SQL server 2005 reporting services.
3. Microsoft Exchange server 2003.

&lt;span style="font-weight: bold;"&gt;Server 2:
&lt;/span&gt;OS:  Windows 2003 Server (SP1) Enterprise Edition
Services:
1. IIS (with ASP .net)

Installed Server:
1. Microsoft CRM 3.0 server
&lt;span style="font-style: italic;"&gt;2. Microsoft SQL server 2000 Enterprise Edition **&lt;/span&gt;
&lt;span style="font-style: italic;"&gt;3. Microsoft EPM server 2003 **

** these servers will be added later on for EPM 2003 server.

&lt;/span&gt;OK...got to go....there is a recruitment going in my organization. i happen to be a member in recruitment panel. &lt;span style="font-style: italic;"&gt;
&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1858443630398169358-3274373100863795746?l=noviceepmandcrm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noviceepmandcrm.blogspot.com/feeds/3274373100863795746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1858443630398169358&amp;postID=3274373100863795746' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/3274373100863795746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1858443630398169358/posts/default/3274373100863795746'/><link rel='alternate' type='text/html' href='http://noviceepmandcrm.blogspot.com/2007/12/crm-30-redeployment.html' title='CRM 3.0 redeployment part 1'/><author><name>imran chowdhury</name><uri>http://www.blogger.com/profile/07337637940995927834</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>
