Tuesday, March 26, 2013

Add users to Remote Desktop Connection

Start --> Control panel --> System and Security --> System --> Left hand side Remote settings
--> Remote Tab

--> the Advanced button and that Remote Assistance group must be in disable mode,

--> And in Remote desktop group
... go for 2nd or 3rd.( Allow connections).
...Click Select Users button


Remote Desktop Users Window will open.
If you want to add users click Add button
-->
Enter User name If you remember into that text box and click Check Names button.

 if you forger Click Locations button, so that you can find where all users are located.
-->
After that entering users at text box , click OK,
Again Click OK
Click OK.

That's It.

Add computers and Users to Domain (Active Directory )



Go

To add Computers

Start --> Administrative tools --> Active Directory Users and Computers

You will see Domain.com --> Expand that , there you can see Computers.

Right on Computers -->  New --> Computer

Give, Computer Name (It is better to give same Client system name )

Click OK.




To add Users

Start --> Administrative tools --> Active Directory Users and Computers

You will see Domain.com --> Expand that , there you can see Users.

Right on Computers and New --> Users

Give 

Name,
User Logon Name :- give some name (This is just like user ID )

-->  NEXT

Give
 Password   ....

Warning :- Once read the check boxes and tick.

--> NEXT

--> FINISH


NOTE:- No need to change any other properties. 


After AX installation


After AX 2012 installation and after activating Developer Work Space we are able to see all system tables. But If you want to run your system as a Demo machine, you must import Demo Data (.bak) of AX 2012 to SQL server. This all demo data will be store as separate Data Base at SQL Server. But your AX 2012 is by default connected with another Data base.

Note :- Import the data from demo data database to another data base is NOT POSSIBLE

For that you have to create New Configuration to demo data Database at server config utility tool. 

Please go through the Screen shots.

1) Initially your AX server configuration utility window is like below.



2) Click Manage --> Create Configuration



3) You will get this window , Give some proper name, I have given AX2012




4) Give new Database name , Demo data Database.





5) Click OK.


Monday, March 25, 2013

AX 2012 – Data Migration Framework:Installation Step-by-step setup


After having downloaded the Data Migration Framework, the next step is to extract the contents of the Zip file. 

At this point you will want to launch the Setup for the Data Migration Framework. 
Moving from here a decision must be made on what is to be installed.



When clicking on the finish button, the installation log file opens up for you. It’s worth scanning through to see if there are any errors. 


Now that we have completed the install, we need to double check that we have the Data Migration Framework bits ready for our use. Do this by browsing to the location in which you had chosen previously. In doing so, you should see a folder with similar contents as shown below.






Specifically there is a warning, that states: “Because the staging environment is highly normalized and may require significant processing bandwidth, we recommend that you increase the Maximum buffer size setting for your environment while you migrate data. Use the Server configuration utility to set the value.” Lets take the advice of Microsoft and do just that. 

This means you need to launch the server configuration utility, go to the database tuning tab, and change the buffer size from 24, to say 48. 






You will notice that in making such a change Microsoft warns of doing so. Since we are doing this on purpose, we can ignore this warning. However it’s valid to point out that after your done with the data migration framework, it’s best to change this setting back to 24Further, you might find that 48 is still not big enough and you will need to increase further. 

After doing this, and clicking apply you should take the option of allowing the configuration utility to restart the Microsoft Dynamics AX 2012 AOS instance. 




Now we have to move to importing the model file that came as part of the install bits for this offering. We perform this install either by using the PowerShell command console, or theAXUtil application. I’ve made the choice of using the AXUtil application. 




Finally after a successful install of the model file, to your target instance of  Microsoft Dynamics AX 2012   you should launch AX. In doing so, it will detect a new model as been installed, and ask how you wish proceed. For this, we want to make the choice of ‘Compile and synchronize’ and then click ok. 



After the successful completion of the full compile and synchronization of the database, next action to take is a full CIL compile. This should take roughly 15 +/- minutes to complete. After completing this step, your instance of AX 2012 has the newly released Data Migration Framework deployed and setup. You should see the something similar to the following when done.






Error: AX 2012 After Installation I am unable to see Modules , & Load license file..

Problem :- My screen is just like below. There is no Companies and Verticals.

My Question :- Even though  it is a license issue , How can I activate with out having System Administrator Module.




Solution :- ....Certainly you will be laugh.

                    The solution is Just press (Ctrl+ W).

Note :- But from window you can't open work space, By short-cut keys only you can.


How to load License File for Developer Work space  :-

Navigation :- System Administration --> Setup --> Licencing --> License Information --> Click Load license file button just after File



                                 You will get this window







Browse the file and Click OK.

You will get one infolog Window.
---------------------------------------------------

After that open Developer Work space Window...

AOT --> DataDictionary -->Right click --> Synchronize .

------------------------------------------------------

Just wait for few minutes, your AOT will be ready to use.

Microsoft Dynamics AX 2012 Excel Add-in

With the release of Microsoft Dynamics AX 2012, the lines between the Rich Client, the Portal as well as Microsoft Office are going to be blurred. This is out-of-the-box ability, that replaces a lot of older ways for doing things. 

One such topic, is the old Microsoft Excel Export / Import Wizard for Microsoft Dynamics AX. You can see this, in the Microsoft Dynamics AX 2009 menu system, here.:






With the release of Microsoft Dynamics AX 2012, this no longer exists! For some, I'm sure this will be a little shock, however this is a good thing.

The older Excel Import, honestly was very slow and if you had any records of any size, then you just really would rather create X++ scripts to import data. 

Now, with Microsoft Dynamics AX 2012, and the new Excel Add-in for Microsoft Dynamics AX, scripts are a thing of the past. Let me say, this new process is very fast, and is designed so that a developer or architect is really not needed to import a lot of data, into AX. 

To help show this process, I have created the following walk through that shoudl give an idea of what it takes to work with the new Dynamics AX Add-in for Excel, and get data into Microsoft Dynamics AX 2012 using this new, and great tool!

First, you have to launch Microsoft Office Excel 2010, and of course have the Excel Add-in installed. I'm going to assume this is already in place, and lets say, for the sake of keeping this simple, that I need to add some Delivery Mode data. 

This data, lives in the DlvMode table within the Microsoft Dynamics AX AOT. So to get started, lets click on the Connection button, from the ribbon, and make sure we are in the company account and instance we care about.



We see, that we have the ability to override here, and point to what AOS instance we want to connect too, as well as within that what company entity. 

Now moving forward from here, lets go and add the DlvMode table, by clicking on the add data, then add table. 



Once we select to Add tables, then we can select the DlvMode table, and actually use the Filter field at the bottom, so we only see that table to select. Also notice the fact, that the process created a new worksheet, in this workbook, just for our DlvMode AX table.




Here we can add and remove fields, using the Field Chooser, on the ribbon. Here I've added a few fields, just to give you an idea. 


Now moving forward, I will only have the key field Mode of Delivery as it is required, and then Description field. 


I then took and added new rows, which gave me three records within the table, of the Excel worksheet. From here, I added my three new DlvModes. 

At this point, we now have the data we need, and want to get this into Microsoft Dynamics AX 2012 instance. With this, we simply take and Publish Data, then Publish All. In doing this, we could have selected only one record to publish, but for now lets just publish all of them. 

With doing this, we see the following worksheet that was generated, that shows the status of the process.





Having this, we can see that everything went great, and was able to upload the data. Also, we now see, on the DlvMode worksheet, that our new data, and the existing data that was already in the DlvMode table, now appears. 


Going into Microsoft Dynamics AX 2012, we can still hit Ctrl+D, and it will open the new Developer workspace. Here we can expand the AOT, and go to our DlvMode table. Right click, and table browse, and see that our data we just created, exists within Microsoft Dynamics AX 2012.





Wednesday, March 20, 2013

Uninstall or Removing Active Directory from Windows 2008 server


I want to remove Active Directory from Windows 2008 R2 Server.
How do I uninstall Active directory in Windows 2008 server? 
To uninstall Active Directory, go to run and type in dcpromo



You will get Active Directory Domain Services Installation Wizard.  This computer is already an Active Directory domain controller. You can use this wizard to uninstall active Directory Domain Services on this server.



Delete the domain. 
The domain will no longer exist after you uninstall Active Directory Domain Services from the last domain controller n the domain. Before you continue be aware that all users and computer accounts will be deleted.



Application Directory Partitions 
Applications create these directory partitions to store and replicate data



Confirm Deletion 
Removing Active Directory Domain Services will delete all application partitions from this active directory domain controller. 
Confirm that you want the wiard to delete all applicaiton directory partitions on this active directory domain controller. The partitions will be deleted when the wizard completed.



Removing DNS Delegation 
This server is also a DNS server and contains Active Directory integrated zones.  These zones will be deleted during the removal of Active Directory Domain Services on this server. 
Confirm that you want the wizard to delete the DNS delegations pointing to this server.









Remove Active Directory Domain Services from this computer.
You have indicated that this Active Directory domain controller is the last domain controller in the domain "vwin2008.com".
When the process is complete, this domain will no longer exist.
All application directory partitions on this Active Directory domain controller will be removed.
This domain controller holds the last replica of one or more application directory partitions. When the removal operation is complete, those partitions will no longer exist.
Remove DNS Delegation: Yes



This wizard is configuring Active Directory Domain Services. This process can take from a few minutes to several hours, depending on your environment and the options that you selected.



Restart your computer to complete active directory uninstallation process from Windows 2008 Server.




How to Install Active Directory On Windows Server 2008 R2


Active Directory is essential to any Microsoft network built on the client-server network model–it allows you to have a central sever called a Domain Controller (DC) that does authentication for your entire network. Instead of people logging on to the local machines they authenticate against your DC. Lets take a look at how to install Microsoft’s Active Directory.

Installation


Open Server Manager and click on roles, this will bring up the Roles Summary on the right hand side where you can click on the Add Roles link.


This will bring up the Add Roles Wizard where you can click on next to see a list of available Roles. Select Active Directory Domain Services from the list, you will be told that you need to add some features, click on the Add Required Features button and click next to move on.

A brief introduction to Active Directory will be displayed as well as a few links to additional resources, you can just click next to skip past here and click install to start installing the binaries for Active Directory.

When the installation is finished you will be shown a success message, just click close.


Configuration

Open up Server Manager, expand Roles and click on Active Directory Domain Services. On the right hand side click on the Run the Active Directory Domain Services Installation Wizard (dcpromo.exe) link.

This will kick off another wizard, this time to configure the settings for you domain, click next to continue.

The message that is shown now relates to older clients that do not support the new cryptographic algorithms supported by Server 2008 R2, these are used by default in Server 2008 R2, click next to move on.


Choose to create a new domain in a new forest.


Now you can name your domain, we will be using a .local domain the reason why will be explained in an upcoming article.


Since this is the first DC in our domain we can change our forest functional level to Server 2008 R2.


We want to include DNS in our installation as this will allow us to have an AD Integrated DNS Zone, when you click next you will be prompted with a message just click yes to continue.



You will need to choose a place to store log files, it is a best practice to store the database and SYSVOL folder on one drive and the log files on a separate drive, but since this is in a lab environment I will just leave them all on the same drive.


Choose a STRONG Active Directory Restore Mode Password and click next twice to kick off the configuration.


You will be able to see what components are being installed by looking in the following box.


When its done you will be notified and required to reboot your PC.

That’s all  there is to it guys, now you have a working installation of Active Directory.