Sunday, December 27, 2015

PASSING SUMMARIZED VALUES FROM SUB-REPORT TO MAIN-REPORT IN CRYSTAL REPORTS

Dear All, this time what I am going to share with you is passing summarized variables from sub-reports to main-reports in crystal reports. Here, we have different ways to pass summarized fields from sub-report to main-report and vice-versa but what I am going to share with you is quite simple and easy as well.

Below I am describing the steps through which you can perform this task.
  1. Just create a new Crystal report and call it “mainpage.rpt”.
  2. Now add formula field and name it what you like. I am giving it name “mainTotal”
  3. Edit “mainTotal” formula field and write in it shared numbervar x; [note:  you can take any type like Boolean , etc.]
  4. Now, add a sub-report in main report and also create a formula fields.[Repeat step 2 and 3]
  5. Now switch to main report again.
  6. Right click on sub-report. You will see in menu option “Change Subreport Links. Click on it.
  7. Bring that “mainTotal” field in “fields to link”  and uncheck checkbox having “Select data in subrport based on field”.
  8. Press OK Button.

Hey All………. Congrates. You have created your first report that is able to share values between main report and sub-report.

Kindly see below image where to keep sub-report and summarized variable so that if you are receiving value of previous section not current section then you can make necessary changes and get the correct one report.




If above post help you then please leave a comment.


Sunday, October 4, 2015

ENABLE ROOT USER IN LINUX

Root user is super user in linux operating system. In ubuntu, it is not enabled by default. To Enable "root" user in linux, follow below commands.

First Change the password of root by executing below command

sudo passwd root
 
This will ask you enter password. After configuring the password, unlock root user by following command.

sudo passwd -u root 
 
In case if above solution works for you then kindly leave a comment for ensuring the credibility of the solution.

Thanks.



Configuring Java Delopment Kit in LINUX

One of the important topic for beginners in linux operation system is the steps of configuring JDK (Java Development Kit). Below are the steps which helped me and I hope that they will do the same in your case also.

Execute below commands by replacing the statements in bold format. Run these commands after logging in super user.

update-alternatives --install /usr/bin/java java /home/zeeshan/Downloads/jdk1.8.0_60/bin/java 100

update-alternatives --install /usr/bin/javac javac /home/zeeshan/Downloads/jdk1.8.0_60/bin/javac 100


To Remove Configuration of JDK use following commands

 sudo update-alternatives --remove java home/zeeshan/Downloads/jdk1.8.0_60/bin/java

 sudo update-alternatives --remove javac home/zeeshan/Downloads/jdk1.8.0_60/bin/javac

In case if above solution help you then please leave a comment for maximizing credibility of defined solution.

Thanks.

Tuesday, October 7, 2014

i recieve sorry the process android.process.acore has stopped unexpectedly please try again when i try to access my contacts list?

Try to find out which application or update you install before you get this error on your smart phone. Remove that application and you will get rid out of it. In my case, I have installed Viber application after which I receive this error. After uninstalling it, now I can access my contact list.


Wish you all the best.... If this solution works for you then write comment so that its authenticity will increase.


Thanks.

Sunday, May 11, 2014

You don't have permission to access / on this server on wamp

After WAMP server installation, when I tried to access it using URL

http://localhost:8080

it through me below message

"You don't have permission to access / on this server on wamp"

This message is appeared when you have an Operating System (Windows  8, Window 7, etc.) which is IPv6 compatible. This is because Apache server assumes that it will receive messages from ::1 port while we are only sending it from 127.0.0.1. To resolve the issue, you need to make changes in httpd.conf file (C:\wamp\bin\apache\apache2.2.22\conf\httpd.conf)  and in phpmyadmin.conf (C:\wamp\alias\phpmyadmin.conf). First you need to replace below line in httpd.conf file

Allow from 127.0.0.1

to

Allow from 127.0.0.1 ::1

Similarly, in phpmyadmin.conf file you need to replace the same line

    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
Deny from all
Allow from 127.0.0.1

to

    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
Deny from all
Allow from 127.0.0.1 ::1

After saving the changes in both files, restart the wamp server and now try to access the link "http://localhost:8080" .

Hope that issue is resolved now.

In case if above post resolve your problem then kindly comment to increase the credibility of the post.

Saturday, October 19, 2013

Setting Sharepoint 2013 in Visual Studio 2012

Dear Readers,

I have started to learn sharepoint 2013 and while doing so, first hurdle was that Visual Studio 2012 was not displaying me sharepoint 2013 controls. So, I have to setup that manually and for that I follow below steps.

clip_image002
In order to get the templates into VS, you need to install Microsoft Office Developer Tools for Visual Studio 2012 which can be found here: http://www.microsoft.com/visualstudio/eng/office-dev-tools-for-visual-studio (direct install : http://aka.ms/OfficeDevToolsForVS2012).
Unfortunately, this leverages the Microsoft Web Platform Installer which does not play well in closed environments. The Microsoft Web Platform Installer will install the following items:
Microsoft Identity Extensions
Workflow Manager Client 1.0
Microsoft Exchange Web Services 2.0
Microsoft Windows Identity Foundation SDK 4.0
Microsoft SharePoint Client Components
Microsoft Workflow Manger Tools
Cumulative Update 1.0 for Microsoft Workflow Manager Tools

Open XML SDK 2.5
Microsoft Visual Studio Tools for Office Runtime
Microsoft Office Developer Tools for Visual Studio 2012 - RTM

Once these items have been downloaded and installed on your development machine and double-click to install them, you will see that there is the option to create Apps and other items for Office and SharePoint 2013.
clip_image004
Unfortunately, if you try to create a project for any of these new fun items, you will get the following error:
An error occurred whilst trying to load some required components, Please ensure the following prerequisite components are installed.
Microsoft Web Developer Tools
Microsoft Exchange Web Services"
The problem is that the Microsoft Web Platform Installer adds parameters when installing the Microsoft Exchange Web Services that must be used in order to get around the error. If you have already installed the Microsoft Exchange Web Services, uninstall it from Control Panel and then open up a command prompt. Navigate to the location of EwsManagedApi32.msi. In the command prompt, run
EwsManagedApi32.msi addlocal="ExchangeWebServicesApi_Feature,ExchangeWebServicesApi_Gac"
clip_image006
Once that has finished installing, open up Visual Studio 2012 and enjoy creating apps for Microsoft SharePoint Server 2013.
Kindly provide your valuable comments in case if the above solution works for you too.
Please note that the content was copied from below URL 

Monday, September 23, 2013

The sign-in method you're trying to use isn't allowed. For more info, contact your network administrator

Above problem occur when you have not added a group (of which User try to login)  in your local policy login. To resolve the issue, follow the steps,

Log in as the administrator on the server, then start the Group Policy Management Editor by running the  gpmc.msc command from PowerShell or the Command Line window.
1. In the Group Policy Management window on the left hand side, select Group Policy Management.
Pic1
2. Click to expand the  Forest tree node.
3. Click Domains.
4. Select your domain name.
5. Click Group Policy Objects.
Pic2
6. In the right-hand window, double-click Default Domain Controllers Policy.
7. Right-click Default Domain Controllers Policy and Select Edit.
8. In the Group Policy Management Editor window, click Default Domain Controllers Policy.
9. Click Computer Configuration, and then click Policies.
10. Click Windows Settings, and then click Security Settings.
Pic3
11. Click Local Policies and then click User Rights Assignments.
12. In the right pane, click Allow log on locally.
Pic4
12. Click the Add User or Group button.
13. In the Add User or Group dialog,  enter the name to be added or click Browse.. to search for a name.
Pic5
14. Click OK .
15. Repeat steps 12-14 if you want to add more users.
16. Click OK to Close the Allow log on locally Properties dialog, and then click Close several times to Close the remaining open Windows.
17. Run the following command in the Command Window to activate the policy changes:
gpupdate /force.
Kindly note that above content is originally copied from http://www.sharepointviking.com/the-signin-method-youre-trying-to-use-isnt-allowed-windows-server-2012/

In case if above solution resolve your problem then please comment on it to increase its credibility.

Docker Tutorial

 I have listed all the necessary commands of Docker below. In case if any is missing or if any improvement required, please share in comment...