Hyper V虚拟机断电,IIS站点无法访问,SharePoint 配置数据库无
昨天Hyper V虚拟机断电了,重新启动之后,发现无法登陆SharePoint,检查IIS,发现所有的站点都打不开了,显示错误信息“applicationhost.config is not well-formed xml”,applicationhost.config文件是在的一个配置文件,断电造成了文件损坏,解决办法是到
昨天Hyper V虚拟机断电了,重新启动之后,发现无法登陆SharePoint,检查IIS,发现所有的站点都打不开了,显示错误信息“applicationhost.config is not well-formed xml”,applicationhost.config文件是在的一个配置文件,断电造成了文件损坏,解决办法是到“C:\windows\system32\inetsvr\backup\”文件夹下恢复此文件(参见)。然后重新启动两个service:1
Windows Process Activation Service, 2 World Wide Web Publishing Service。
解决了IIS的问题之后,还是无法登陆SharePoint,显示错误信息“Connot connect to the configuration database”。到数据库中查看,发现无法打开数据库“SharePoint_config”和“SharePoint_AdminContent”数据库,显示错误信息“The database is not accessible.” 。然后使用如下SQL查询检查数据库的状态:
select state_desc from sys.databases where name='SharePoint_Config'
发现数据库的状态是“Recovery_Pending”,解决办法是执行如下SQL(参见):
ALTER DATABASE [DB_Name] SET SINGLE_USER WITH NO_WAIT ALTER DATABASE [DB_Name] SET EMERGENCY; DBCC checkdb ([DB_Name], REPAIR_ALLOW_DATA_LOSS ) ALTER DATABASE [DB_Name] SET online; ALTER DATABASE [DB_Name] SET Multi_USER WITH NO_WAIT

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











Virtual machines are an affordable way to experience and use multiple operating systems on a single computer. VMWare and VirtualBox are the two major brands in the virtual machine industry. You can easily convert a VMware virtual machine to a VirtualBox virtual machine and vice versa, giving you the flexibility to switch machines between them without having to recreate them. Migrating a virtual machine from VMWare to VirtualBox or vice versa is not complicated. Just follow the instructions below and it's easy to do. How to convert VMware to VirtualBoxVMwareVM is stored in .vmx format and then converted to .ovf, this is VirtualBox and VMWare

How to add trusted sites in Google Chrome? Some users cannot browse the web normally because the page prompts that it is not secure when surfing the Internet. At this time, they can add the website as a trusted site, and we can access it normally and surf the Internet smoothly. The editor below will bring you the steps to add a trusted site in Google Chrome. The steps are simple and easy to operate, and even beginners can easily get started. Friends who need it can learn about it together. How to add a trusted site in Google Chrome: 1. Open Google Chrome and click the three dots in the upper right corner. Click [Settings]. Choose privacy settings and security. (As shown in the picture) 2. Click Website Settings at the bottom of the page. (As shown in the picture) 3. Click on the unsafe content at the bottom of the page. (As shown in the picture) 4. Click the Add button to the right of the Allow option. (As shown in the picture) 5. Lose

To open an application pool in IIS: 1. Open IIS Manager; 2. Navigate to the "Application Pools" node; 3. Right-click the target application pool and select "Manage"; 4. Click "Advanced Settings" Tab; 5. Application pool configuration can be viewed and modified here.

Converting an HTML file to a URL requires a web server, which involves the following steps: Obtain a web server. Set up a web server. Upload HTML file. Create a domain name. Route the request.

Yes, it is possible to delete IIS log files. Removal methods include selecting the website or application pool through IIS Manager and deleting the log file in the Log Files tab. Use a command prompt to go to the log file storage directory (usually %SystemRoot%\System32\LogFiles\W3SVC1) and use the del command to delete the log file. Use third-party tools such as Log Parser to automatically delete log files.

What are the virtualization software? With the continuous development of technology, virtualization technology has become an important concept in the field of modern computer science. The goal of virtualization is to logically divide physical resources such as CPU, memory and storage to form multiple virtual environments so that multiple operating systems and applications can run on the same physical computer at the same time. As a key tool to achieve this goal, virtualization software has received increasing attention and application. This article will introduce some common virtualization software. VMwarevSphere: VMw

When we use Vmware virtual machines, we may encounter situations where we don’t know how to copy files into the virtual machine. In fact, the method is very simple. Below, the editor has brought three methods to users. Interested users can take a closer look. Let’s take a look. Three simple and effective methods to transfer files to VMware virtual machines Method 1: VMWareTools To install VMWaretools, click on the virtual machine above - Install VMwaretools. After the installation is successful, you can copy and paste the file to the virtual machine. After the installation is successful, the following content will be displayed: After the installation is successful, you can drag the file directly, or copy and paste it through ctrl+Cctrl+V. If found unable

The IIS Application Pool Setup Guide provides detailed instructions for configuring application pools directly in IIS Manager: application name, mode, launch type managed mode, authentication, loading user profile 32-bit application enablement, recycling frequency and reason Application path, hosting mode, initial memory allocation virtual directory, initialization module, fault isolation mode
