如何从 MDF 中提取 aspx 文件?

发布于 2024-10-10 18:29:10 字数 247 浏览 0 评论 0原文

最近我的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

盗梦空间 2024-10-17 18:29:10

是的,您的所有内容都在内容数据库中。不必费心尝试分解数据库结构 - 有一种更简单的方法:

您将需要一个 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.

从来不烧饼 2024-10-17 18:29:10

您需要从数据库恢复您的站点。无需从数据库中提取文件。设置网站后,所有内容都会再次显示。

我已经很多年没有这样做了,但是像 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文