如何从 MDF 中提取 aspx 文件?
最近我的 Windows Sharepoint Services 3.0 服务器出现故障,我只有 mdf 和 ldf。我假设 aspx 文件嵌入在这些数据库文件中是否正确?我已将数据库附加到本地 SQL,并且可以访问它。但是,我需要访问在 sharepoint 中创建的一些 aspx 文件。我该如何提取这些文件?我一直在使用 MS SQL Manager Studio Express 来筛选数据。然而,需要具有真实内容(而不是SP的结构)的ASPX页面。
谢谢
Recently my Windows Sharepoint Services 3.0 server went down, and all I have is the mdf and ldf. Am I correct in assuming that the aspx files are embedded in these database files? I have attached the db to a local sql, and have access to it. However, I need to access some of the aspx files that were created in sharepoint. How do I go about extracting these files? I've been using MS SQL Manager Studio Express to sift through the data. However, the ASPX pages that have the real content (not the structure of SP) is needed.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,您的所有内容都在内容数据库中。不必费心尝试分解数据库结构 - 有一种更简单的方法:
您将需要一个 WSS 3.0 场,也许是在新机器上进行全新安装。然后在 SQL Server 中附加您的 mdf/ldf 文件(使用 Management Studio 或 T_SQL)。然后在 WSS 中创建一个 Web 应用程序,并将数据库附加到 SharePoint 管理中心中的 Web 应用程序。您可能还需要在管理中心更改站点管理员。然后您可以返回您的站点并获取您的 aspx 文件。
Yes, all your content is in the content database. Don't bother trying to pick apart the database structure - there is an easier way:
You will need a WSS 3.0 farm, perhaps a clean install on a new machine. Then attach your mdf/ldf files in SQL Server (use Management Studio or T_SQL). Then create a web app in WSS and attach the database to the web app in SharePoint Central Administration. You will probably also need to change the site admin in Central Administration. You can then go back into your site and get at your aspx files.
您需要从数据库恢复您的站点。无需从数据库中提取文件。设置网站后,所有内容都会再次显示。
我已经很多年没有这样做了,但是像 KB 833797 这样的文章向您展示了基础知识,
它也是实际上与 SQL Server 迁移相同,因此 这也是
以及一些 Google 链接
You need to restore your site from the database. There is no need to extract files from the database. Once you set up a site, all content will appear again.
I haven't done this for some years, but articles like KB 833797 show you the basics
It's also effectively the same as a SQL Server migration so this too
And some Google links