惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
GbyAI
GbyAI
阮一峰的网络日志
阮一峰的网络日志
Cloudbric
Cloudbric
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
宝玉的分享
宝玉的分享
I
Intezer
Simon Willison's Weblog
Simon Willison's Weblog
博客园_首页
The Cloudflare Blog
C
Cisco Blogs
AWS News Blog
AWS News Blog
IT之家
IT之家
Cyberwarzone
Cyberwarzone
罗磊的独立博客
美团技术团队
V
V2EX
Project Zero
Project Zero
A
Arctic Wolf
C
Cyber Attacks, Cyber Crime and Cyber Security
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
月光博客
月光博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 聂微东
有赞技术团队
有赞技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
雷峰网
雷峰网
S
Schneier on Security
P
Privacy International News Feed
V
Visual Studio Blog
量子位
T
Tor Project blog
S
Securelist
腾讯CDC
A
About on SuperTechFans
T
Threat Research - Cisco Blogs
G
GRAHAM CLULEY
B
Blog RSS Feed
D
DataBreaches.Net
博客园 - 三生石上(FineUI控件)
B
Blog
NISL@THU
NISL@THU
L
Lohrmann on Cybersecurity
V
Vulnerabilities – Threatpost
人人都是产品经理
人人都是产品经理
博客园 - 【当耐特】
L
LINUX DO - 热门话题
Recorded Future
Recorded Future

博客园 - yier

ZZ:修改sharepoint文档库文件类型显示图标(PDF,WinRAR) ZZ: How to remove 'Open in Windows Explorer' from the 'Actions Menu' zz: 如何查询SQL Server数据库的版本 zz: 关闭WIN2003关机事件跟踪程序 zz:MOSS內容資料庫的分配與管理 zz:CAML簡介 zz:全局化定制MOSS樣式 zz:貼幾個常用的MOSS樣式選擇器 ZZ:SharePoint常用目录介绍 ZZ:如何修改默认的site template大小 ZZ:JMeter使用指南 zz: 如何移動已存在的SQL Server 2005中的user database Search settings - Authentication failed because the remote party has closed the transport stream - yier zz: Calculated Columns - Displaying Images from oscar zz:如何更改列表项前的New标记的天数设置(days-to-show-new-icon ) from Jianyi ZZ: Uploads with SharePoint 2007 - Antivirus From Eric Cherng zz: SharePoint 2007 Folders from Eric Cherng [原创] 在dos命令行里面取当天是“星期几" ZZ: 如何禁止掉SharePoint页面个性化?(续) from kaneboy
ZZ: Moving or Renaming the WSS Central Administration Content Database
yier · 2009-09-08 · via 博客园 - yier

For most content databases in WSS v3, you can follow these steps to rename the content
database

  1. Go to Central Administration > Application Management > Content Databases to
    find the name of the content database your web application is using
  2. On your SQL Server, backup this database, then restore it with the new name.
  3. In Central Administration > Application Management > Content Databases select
    the web app you want to change then select the content database. Delete the content
    database from the details page.
  4. Add a content database from the Content Databases page pointing to the new database
    you created.

I ran into a problem trying this with the Central Administration web application.
I kind of expected this problem, but I think MS should do a better job of warning
you when you go to remove the content database for the Central administration web
site. The problem is that if you use the GUI to remove the content database, you no
longer have access to the gui. To fix this, you must use STSADM from a command line
to add the new content database. Beyond that,I had to run the command line using alternate
credentials because using my credentials, I got an Access Denied error.

Here are the steps I took to rename the Central Administration Web Application

  1. Go to Central Administration > Application Management > Content Databases to
    find the name of the content database your web application is using
  2. On your SQL Server, backup this database, then restore it with the new name.
  3. In Central Administration > Application Management > Content Databases select
    the web app you want to change then select the content database. Delete the content
    database from the details page.
  4. After step 3, you will get an error message on the Central Administration GUI and
    you will not be able to get back into it. If you are not logged into the WSS server
    using the credentials you used for database access, then you will need to run your
    command prompt using the correct database credentials. (I don’t know if this is a
    bug, I know there are parameters to pass a databaseuser and databasepassword to the
    STSADM Command, but they don’t work). In my case I ran
    1. runas /user:domain~Sharepoint2007 cmd.exe
  5. Change to the directory c:program filescommon filesMicrosoft Sharedweb server
    extensions12bin directory and run the command: stsadm -o addcontentdb -url http://servername:42000 -databasename
    Sharepoint_AdminContent -databaseserver databaseservername