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

AI Hentai Generator
Generate AI Hentai for free.

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

Windows Sandbox is a feature built into the Windows 11 and Windows 10 operating systems that allows users to install and test unverified applications or visit websites in a lightweight virtual environment while protecting the main system from potential threats. Overall, this system provides a safe and isolated testing environment, similar to a virtual machine, but easier to use. Next, this article will introduce the detailed steps to install, configure and use the Windows Sandbox feature on Windows 11. Introduction to Windows Sandbox Features Windows Sandbox (also known as Windows Sandbox) is essentially a lightweight virtualization solution focused on providing efficient and secure virtual environments. compared to traditional

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

If you encounter error code 0x80070003 when using Hyper-V to create or start a virtual machine, it may be caused by permission issues, file corruption, or configuration errors. Solutions include checking file permissions, repairing damaged files, ensuring correct configuration, and more. This problem can be solved by ruling out the different possibilities one by one. The entire error message looks like this: The server encountered an error while creating [virtual machine name]. Unable to create new virtual machine. Unable to access configuration store: The system cannot find the path specified. (0x80070003). Some possible causes of this error include: The virtual machine file is corrupted. This can happen due to malware, virus or adware attacks. Although the likelihood of this happening is low, you can't completely

Converting a virtual machine (VM) to a physical machine is the process of migrating a virtual instance and associated application software to a physical hardware platform. This conversion helps optimize operating system performance and hardware resource utilization. This article aims to provide an in-depth look at how to make this conversion. How to implement migration from virtual machine to physical machine? Typically, the conversion process between a virtual machine and a physical machine is performed outside the virtual machine by third-party software. This process consists of multiple stages involving the configuration of virtual machines and the transfer of resources. Prepare the physical machine: The first step is to ensure that the physical machine meets the hardware requirements for Windows. We need to back up the data on a physical machine as the conversion process will overwrite the existing data. *Username and password for an administrator account with administrator rights to create system images. will be virtual

In win11, many friends want to use other operating systems through virtual machines, but they don’t know where the win11 virtual machine is. In fact, we only need to download a virtual machine software. Where is the win11 virtual machine: 1. Virtual machine platform 1. If we want to enable the virtual machine platform function, just click on the "Start Menu" first 2. Then search above and open "Turn on or off Windows features" 3. After turning it on, check Select "Hyper-V" and click "OK" to save. 2. Virtual machine 1. If we want to use a virtual machine similar to an emulator. 2. Then just download a "VMware" virtual machine software. If we want to use VMware, we also need to enable the above virtual machine

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.

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
