Posts

export configuration of Internet Information Server

Hello, You can use following commands for export configuration, just open command prompt and type; %windir%\system32\inetsrv\appcmd list apppool /config /xml > c:\apppools.xml in order to export all Application pools under IIS to the apppools.xml in C drive %windir%\system32\inetsrv\appcmd list site /config /xml > c:\sites.xml in order to export all Application sites under IIS to the sites.xml in C drive %windir%\system32\inetsrv\appcmd list config -section:system.webServer/rewrite/globalRules  /xml > c:\rewrite.xml in order to export all global rules of IIS to the rewrite.xml in C drive. good luck,

how to paste text with CR into one row

Sometimes you may suffer from copy from word (html table or any other text resource) and paste to the excel which results distribute single rows into consecutive sheet sequence. Use Microsoft Word 2010 or never version in order to replace unprinted character like carriage return etc. Here is the instruction; copy all texts from source paste to empty word document click ctrl+h replace menu will be displayed click "Find what:" find "Manual Line Break" through "Special" button bottom of the window type one space to the "Replace with:"  click "Replace All" It is now ready to copy and paste to the excel. good luck...

upgrade RHEL from 7.2 to 7.4 - offline

Hello, I would like to share my RHEL offline upgrade adventure  after realising that no internet connection in the server. First of all, I was lucky to have RHEL 7.4 iso file which was compressed with .zip in the RHEL 7.2 server. Logic is simple; - unzip RHEL 7.4 file to reveal .iso - mount it to the server - configure YUM for upgrade - upgrade server. I could not be succeed at my first attempt due to "command not found" message while unpackaging archieve file ;  unzip rhel-server-7.4-x86_64-dvd.zip then I found unzip-6.0-1.el6.x86_64.rpm in internet and copied to server after that I run following command in order to install unzip RPM yum install unzip-6.0-1.el6.x86_64.rpm System is now ready to execute;  unzip rhel-server-7.4-x86_64-dvd.zip. I eventually handle ISO file. It was good time to mount ISO file to start upgrade process: 1- make directory which will host ISO file as a new drive mkdir /media/rhel74 2- mount iso file to the newly cre

"the requested formId is not a valid form to display for this user" in Dynamics CRM 2016

Image
Error Number: 0x80040216 Error Message: the requested formId is not a valid form to display for this user Error Details: the requested formId is not a valid form to display for this user ------ verify if the active forms of the entity, have proper security rights for the user's role. Go to "Forms" for the entity then select problematic "form" and click "Enable Security Roles". A windows pops up , select user's role from the windows then clck "Ok" to granting access to the user. Here is screenshots that maybe helpfull to you .

how to backup a database from clients via Windows PowerShell

You may need to backup a database remotely via Windows Power Shell. First of all, you have to install SQL Server PowerShell applet to local machines. to verify if Applet exists: 1 - Open Windows PowerShell (It is highly recommended to open it with Administrator) 2 - Enter sqlps, if you get an error about unrecognized command. You have to install SQL Client tools or any other feature from SQL Server Installation Disc. (Feature based installation covers necessary Power Shell Scripts) Second, execute below commands over Windows PowerShell to backup a database; PS C:\Users\[....]> sqlps Microsoft (R) SQL Server (R) PowerShell Version 12.0.2000.8 Copyright (c) 2014 Microsoft. All rights reserved. PS SQLSERVER:\>; Backup-SqlDatabase -ServerInstance dbaseServer050 -Database CrmOrganization_MSCRM -BackupFile \\ShareMap\BackupTemp\CrmOrganization_MSCRM.bak PS SQLSERVER:\> Good Luck...

you face "ISV code aborted the operation" when you change status of the any record in Dynamics CRM 2013

Hi,    You may get an error as "ISV code aborted the operation" when you set "activate" or "deactivate" of any record. it seems that because we’re not actually performing the status/state change action directly on the record . The event itself does “bubble up”, though, so stopping the status change also rolls back the entire transaction and none of the fields on the records being the targets of the operation change in the dirty form  ( .getDirty() -> true).  That’s the important part, after all.

TimeoutException: The request channel timed out while waiting for a reply after 00:00:59.7350618. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.

Hi, You need to set Timeout property of OrganizationServiceProxy class as below; OrganizationServiceProxy proxy = (OrganizationServiceProxy) ...; proxy.Timeout = new TimeSpan(0, 20, 0); //20 minutes good luck,