Yeah, I know I said I wasn't going to post any admin related stuff but I came across something that I felt was post worthy.
I wanted to rename my vm, a Windows Server 2003 machine. First thing I did was right-clicked on 'My Computer' and clicked properties. I then went to the 'Computer Name' tab, clicked the 'Change' button and changed the name and workgroup.
Once I did this, I restarted my machine and tried to bring the site up. The site didn't load, which I expected. (The url was http://ServerName:Port)
I then opened a command prompt and looked through the stsadm commands. I saw one for renameserver so I gave that a shot. This command has 2 properties: -oldservername and -newservername. I ran this command with the old and new name and ran an iisreset and my site started running again.
I started to work on what was supposed to be my next post and I needed to check something in central admin. That site came up just fine until I clicked on the Operations and the Application Management tabs. When I tried going to these pages, an error message came up that said "Some or all identity references could not be translated."
I went back to stsadm and found updatefarmcredentials. The parameters required for this command are -userlogin which is the username with the new domain name and -password. Ran an iisreset /noforce and gave central admin a try again. Central admin was fine but I noticed that the deployed applications in Solution Management were pointing to my old server name. I clicked the Operations tab and clicked on the Alternate Access Mappings link. I renamed the internal url and everything now everything seems to be normal. My solutions are deploying with no problems.Labels: Administrator