在SharePoint Farm中,根据需要执行了PowerShell,使用SQL Alias Mount了一个content database到SharePoint。但是在执行完成后,访问site时弹出404 error “the web page cannot be found.”
经过排查主要是因为,执行CliConfg.exe完成只是表示更新DNS Alias可以找到对应的SQL Server,但是不代表就在SharePoint端也进行更新。
对于此问题,可以通过下面方法解决:
1. 使用Farm Admin登录到所有的SharePoint Servers;
2. 在Run中输入CMD打开Command;
3. 执行“ipconfig /flushdns”在SharePoint Server中更新系统修改;
4. 修改完成后重新访问site collection,可以正常打开,问题解决。
感谢阅读。