访问网站中的数据源 [英] Access Data Source in a Website

查看:55
本文介绍了访问网站中的数据源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是表达式网站的新手,并且是先前的FP用户。  我在同一网站www.lcsc.edu下的两个不同的网络文件夹中创建了两个相同的页面。  一个工作,一个不工作。  是否有特殊的文件夹权限让我能够
使用aspx控件?  以下是链接到同一数据库的两个站点(在我制作副本的各自文件夹中)。  我把两个都放在fpdb文件夹中进行测试,它们是2003 Access数据库。  由于自定义的web.config文件,我无法读取pp / test.aspx
中的错误,并且不够聪明,无法找到如何查看错误。  任何和所有的帮助将不胜感激,因为我已经连续几个月尝试。

I am new to expressions web and was a prior FP user.  I have created two identical pages on two different web folders under the same site www.lcsc.edu.  One works and one does not.  Are there special folder permissions for me to be able to use the aspx controls?  Here are the two sites that link to the same database (within their respective folders as I made a copy).  I put both in the fpdb folders to test and they are a 2003 Access Database.  I cannot read the error in the pp/test.aspx due to the custom web.config file and am not smart enough to find out how to see the error.  Any and all help will be appreciated as I have been trying for a few months off and on.

http://www.lcsc.edu/pp/test.aspx - Not工作

http://www.lcsc.edu/pp/test.aspx - Not working

http://www.lcsc.edu/pdt/test.aspx - 工作

http://www.lcsc.edu/pdt/test.aspx - Working

推荐答案

您看到非工作页面的错误的方式是按照该页面上显示的说明进行操作。 您不需要自定义错误页面。 那个Note只是说
可以这样做,而不是你必须这样做。 按照明确说明"详细信息: 的说明,按照说明进行操作,这些说明位于顶部,以启用此详细信息特定的
错误消息是可见的..."

The way you see the errors for the non-working page is to follow the instructions that appear on that page.  You don't need a custom error page.  That Note just says you can do that, not that you have to.  Follow the instructions for what you must do, which are at the top, introduced by the clear instructions that "Details: To enable the details of this specific error message to be viewable ..."

此外,您没有提到使用浏览器预览在EW中查看页面时会发生什么,在发布之前。 它在本地工作吗?

Also, you didn't mention what happens when you view the page in EW, using browser preview, before you publish it.  Does it work locally?


这篇关于访问网站中的数据源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆