Thursday, April 26, 2012

cannot find server name for address non-existent domain

To resolve this problem, perform the following steps:
  1. From DNS Manager, open your forward zone.
  2. Right-click on the "A" record for your DNS server, and then click Delete Record.
  3. Click Yes to confirm the deletion of the "A" record.
  4. Right-click on the forward zone, and then click New Host.
  5. Type the host name of your DNS server and the IP address.
  6. Select the Create Associated PTR Record check box.
  7. Click Add Host, and then click Done.
If you receive an error when you click Add Host, then you may be having a problem with your reverse lookup zone. 
http://support.microsoft.com/kb/171789

Tuesday, April 24, 2012

To remove a user account from Lync Server


  1. From a user account that is assigned to the CsUserAdministrator role or the CsAdministrator role, log on to any computer in your internal deployment.
  2. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools.
  3. In the left navigation bar, click Users.
  4. In the Search users box, type all or the first portion of the display name, first name, last name, Security Accounts Manager (SAM) account name, SIP address, or line Uniform Resource Identifier (URI) of the user account that you want to disable or re-enable, and then click Find.
  5. In the table, click the user account that you want to remove.
    noteNote:
    If you want to select multiple user accounts, press and hold down Ctrl, and then click each user account in the list that you want to remove. To select a range of user accounts, press and hold the Ctrl key, click the first user account in the range, press and hold down Shift+Ctrl, and then click the last user account in the range.
  6. On the Action menu, click Remove from Lync Server.

    http://technet.microsoft.com/en-us/library/gg195816.aspx

Could not install the custom actions. The object could not be found." Error Starting Outlook

Delete the frmcache.dat file and start Outlook
  1. Exit Outlook.
  2. In Windows Explorer, open the following folder (depending on your version of Windows):

    Windows XP

    C:\Documents and Settings\username\Local Settings\Application Data\Microsoft\Forms

    Windows Server 2003, Windows Vista, or Windows 7

    C:\Users\username\AppData\Local\Microsoft\Forms
  3. Delete the Frmcache.dat file.
  4. Start Outlook.
Method 3: Repair your Office installation.
For detailed instructions on installing and repairing Office, see the following Knowledge Base Article:
How to install the individual 2007 Office features or to repair the installed 2007 Office programs
http://support.microsoft.com/kb/924611

Monday, April 23, 2012

DSGetSiteName failed: Status = 1919 0x77f ERROR_NO_SITENAME

To resolve this issue, associate a subnet with Default-First-Site-Name, and then manually set the site membership. To do so, follow these steps.

Associate a Subnet with Default-First-Site-Name

  1. Click Start, click Programs, point to Administrative Tools, and then click Active Directory Sites and Services.
  2. Double-click the Sites node that corresponds to the Site where the Exchange Server resides, and then right-click Subnets.
  3. Click New Subnet on the shortcut menu.
  4. Type the IP address, and the subnet mask of the subnet, and then click Default-First-Site-Name on the Site Name list. Click OK to close the New Object-Subnet dialog box.

Exchange Setup does not work because of Domain Name System settings on the domain controller

To resolve this issue, make sure that the DNS settings on the schema master domain controller and the member server are pointed to valid internal DNS servers. If the schema master is the DNS server, make sure that the schema master uses its own Internet Protocol (IP) address and is the preferred DNS server.

To change the DNS settings:
  1. Right-click My Network Places, and then click Properties in the shortcut menu to open the Network and Dial-up Connections dialog box.
  2. Right-click Local Area Connection, and then click Properties in the shortcut menu.
  3. Click Internet Protocol (TCP/IP), and then click Properties.
  4. Change the preferred DNS server.

topology builder encountered an issue and cannot publish this topology standard edition

Remove-CsConfigurationStoreLocation

run the above cmd from lyncserver management shell. this worked for me. 

Thursday, April 12, 2012

registry unable to save permission changes windows 7

 problem solved by using psexec.exe to get system priviliges, and able to delete the keys. The command is: psexec.exe -i -d -s regedit.exe. download the software from below location.

 http://technet.microsoft.com/en-us/sysinternals/bb897553

copy pstools software to c drive.

 start cmd prompt in elevation mode .






Monday, April 9, 2012

howto install SVN (Subversion) server on Fedora 16/15/14/13, CentOS 6/5.7, Red Hat (RHEL) 6.1/6/5.7.



What is SVN (Subversion)?

Subversion is a free/open-source version control system. Subversion manages files and directories, and the changes made to them, over time. This allows you to recover older versions of your data, or examine the history of how your data changed. In this regard, many people think of a version control system as a sort of “time machine”.

Install SVN (Subversion) Server on Fedora 16/15/14/13, CentOS 6/5.7, Red Hat (RHEL) 6.1/6/5.7

1. Change root user

su -
## OR ##
sudo -i

2. Install needed packages (mod_dav_svn and subversion)

yum install mod_dav_svn subversion
Note: If you don’t have Apache installed already, this command installs it also. Read more about installing Apache and PHP >>

3. Modify Subversion config file /etc/httpd/conf.d/subversion.conf

Add following config to /etc/httpd/conf.d/subversion.conf file:
LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so
 
<Location /svn>
   DAV svn
   SVNParentPath /var/www/svn
   AuthType Basic
   AuthName "Subversion repositories"
   AuthUserFile /etc/svn-auth-users
   Require valid-user
Location>

4. Add SVN (Subversion) users

Use following command:
## Create testuser ##
htpasswd -cm /etc/svn-auth-users testuser
New password: 
Re-type new password: 
Adding password for user testuser
 
## Create testuser2 ##
htpasswd -m /etc/svn-auth-users testuser2
New password: 
Re-type new password: 
Adding password for user testuser2
Note: Use exactly same file and path name as used on subversion.conf file. This example use /etc/svn-auth-usersfile.

5. Create and configure SVN repository

mkdir /var/www/svn
cd /var/www/svn
 
svnadmin create testrepo
chown -R apache.apache testrepo
 
chcon -R -t httpd_sys_content_t /var/www/svn/testrepo
 
## Following enables commits over http ##
chcon -R -t httpd_sys_rw_content_t /var/www/svn/testrepo
Restart Apache:
/etc/init.d/httpd restart
## OR ##
service httpd restart
Goto http://localhost/svn/testrepo address and you should see something like following, write username and password:
SVN testrepo revision 0:

6. Configure repository

To disable anonymous access and enable access control add following rows to testrepo/conf/svnserve.conffile:
## Disable anonymous access ##
anon-access = none
 
## Enable access control ##
authz-db = authz

7. Create trunkbranches and tags structure under testrepo

Create “template” directories with following command:
mkdir -p /tmp/svn-structure-template/{trunk,branches,tags}
Then import template to project repository using “svn import” command:
svn import -m 'Initial import' /tmp/svn-structure-template/ http://localhost/svn/testrepo/
Adding         /tmp/svn-structure-template/trunk
Adding         /tmp/svn-structure-template/branches
Adding         /tmp/svn-structure-template/tags
 
Committed revision 1.
Check results on browser and see testrepo revision 1: