Monday, February 13, 2012

How to check IIS process in Windows Task Manager

If there are many websites deployed on the same IIS using different pools. There processes will be shown in Windows Task Manager with the same name w3wp.exe


There is a way to recognize those processes.
1. Open cmd window.
2. Go to windows system32 folder.
    <code>cd C:\WINDOWS\system32</code>

3. Run this line
    <code>cscript iisapp.vbs</code>

Monday, August 1, 2011

Test autocomplete function with Selenium

Command "type" doesn't trigger the autocomplete box.

Solution:
To trigger the autocomplete box, use "typeKeys" after "type" command.

type           id=txtTicker SS
typeKeys   id=txtTicker I

Saturday, July 16, 2011

Config bugzilla to send mails with gmail account in windows

1. Download Glob's sendmail program for windows at http://glob.com.au/sendmail/, and unzip it.
2. Copy all items in unzip folder to \usr\lib on the drive where Bugzilla is installed. So if Bugzilla is installed at C:\Bugzilla or any folder on C: drive, create a 'usr' folder at the root level of the C: drive, with a 'lib' folder within that.
3. Open sendmail.ini to edit these values in this file.
    If you are using google apps

    smtp_server=smtp.gmail.com
    smtp_port=587
    smtp_ssl=tls
    default_domain=yourdomain.com
    auth_username=email@yourdomain.com
    auth_password=yourpassword
    force_sender=email@yourdomain.com


    If you are using gmail

    smtp_server=smtp.gmail.com
    smtp_port=587
    smtp_ssl=tls
    auth_username=youremail without @gmail.com
    auth_password=yourpassword
    force_sender=youremail@gmail.com

4. Go to the Administration tab in Bugzilla, and select Parameters link.
5. Choose Email link at the sidebar on the left.
6. At mail_delivery_method combo box, select Sendmail.
7. And you can send mail using gmail account.

Saturday, May 7, 2011

Beautiful - Bosson




I do believe in fate cause that's how we met
It was raining and we were soaking wet
You took the last of cabs on an empty street
Then you smiled at me and said "take a seat..."
I said "Do you believe in love at first sight?"
You said "If you give me a reason I might..."
Ok, well your hair is wet and your clothes are a mess
And your makeup is all over your face...
And still you're so...

[Chorus]

Beautiful, so, sweet and just adorable
You are a miracle, simply irresistable
You are so beautiful, so, sweet and just adorable
You are the finest thing that I've seen in my life
You're everything that I've ever dreamed of

Now it's been seven years 1 month and a day
Since we met and I'm so happy to say
Today we'll be man and wife and dedicate
Our lives to the precious thing we have called Love
So now I'm standing here well dressed and prepared
In a black suit that you told me to wear
And when you're walking in, you amazing thing,
You take my breath away...
Cause you are so.....

[Chorus]

Beautiful, so, sweet and just adorable
You are a miracle, simply irresistable
You are so beautiful, so, sweet and just adorable
You are the finest thing that I've seen in my life
You're everything that I've ever dreamed of

***For richer and poorer till death do us part
In sickness, in health you are always in my heart
Till the day when we're old and grey
I will cherish and love you in every kind of way
Cause you are so....
Beautiful, so, sweet and just adorable
You are a miracle, simply irresistable
You are so beautiful, so, sweet and just adorable
You are the finest thing that I've seen in my life
You're everything that I've ever dreamed of

Monday, January 24, 2011

Config Bugzilla to send mail to gmail

This guidelines is for Bugzilla and James on the same server. (I have not tested with different servers yet.)
1.       Install Bugzilla.
2.       Download Apache James Server 3.0-M2 and unzip to your server.
3.      Config James Server
    Open file mailetcontainer.xml in conf folder.
    Add these lines before <mailet match="All" class="RemoteDelivery">
    <mailet match="HostIs=gmail.com" class="RemoteDelivery">
          <outgoingQueue>outgoing</outgoingQueue>
          <delayTime>5 minutes</delayTime>
          <debug>true</debug>
          <maxRetries>25</maxRetries>
          <maxDnsProblemRetries>0</maxDnsProblemRetries>
          <deliveryThreads>10</deliveryThreads>
          <sendpartial>true</sendpartial>
          <bounceProcessor>bounces</bounceProcessor>
         <gateway>smtp.gmail.com</gateway>
          <gatewayPort>587</gatewayPort>
         <gatewayusername>your gmail</gatewayusername>
          <gatewayPassword>your password</gatewayPassword>
          <!-- enable starttls -->
          <mail.smtp.starttls.enable>true</mail.smtp.starttls.enable>
     </mailet>
4.      Start James Server
5.      Config Bugzilla
    Log in Bugzilla with administrator account.
    Click Parameters -> Email
    Update smtpserver to IP address of your James Server
     Save changes.

Permission error when running "Power Platform Backup Environment" in Azure DevOps

 When we run action "Power Platform Backup Environment" in Azure Devops with an App Registration account, we get the error "P...