I have a portal running in my office environment. 1 WFE + 1 SQLServer + 1 Domain Controller..I've created the same environment ditto even the domain name is same in my home virtual environment where ive created 3 machines on HYPER-V..
I've created the same user id's in my domain controller..then I've taken the backup of Content DB from my office environment...restore it back to SQLServer..and under Security i've added the same accounts which we have in our office environment. Then created a web application (same name) ..set alternate access mapping...went inside Central Administration->Manage Content database...removed the database ..checked in SQLServer if database is there..and came back to central admin->manage content database..and added my office content database.
When I try to access my site it gives me Object reference not set to an instance of an object. can it be a SID related issue of master page? if yes then how can I take the ownership with new accounts and make the site up and running.