试图让ASP表单显示在Access数据库中 [英] Trying to get ASP form to show up in Access Database

查看:91
本文介绍了试图让ASP表单显示在Access数据库中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我是这个论坛的新手,但已阅读了几篇帖子,感谢您的大力帮助。我现在很难过。我在asp中有一个用户注册表单,设置为form method = registration.asp页面。我将在下面发布我的registration.asp页面。


我希望这个asp页面将连接到我的访问数据库,名为registration.mdb,并带有一个名为registration的表。但是,每次我提交注册信息时,都会出现一个错误页面,上面写着编程错误。我有SAMS教自己ASP 3.0的书,并遵循这一点,但我没有运气。有谁知道为什么这不起作用。我在下面列出的当前页面正在尝试使用无dsn连接。我也尝试过dsn连接,但也失败了。任何帮助将不胜感激。在此先感谢 - 杰里

__________________________________________________ _____________

展开 | 选择 | Wrap < span class =codeDivider> | 行号

解决方案

< blockquote>另一个问题与我以前的帖子一起去。我目前正在尝试使用html / asp / microsoft访问。使用php / mysql会更容易吗?我在godaddy有一个托管帐户,他们允许我相信。我已经读过php / mysql更容易,但到目前为止我已经在asp / access中设置了所有内容。只是好奇,因为我是网页设计的新手,但非常适合它。我的网页非常基本。只是一个供用户注册的页面,然后检查他们的积分余额,并在必要时编辑他们的注册信息。如果我能弄清楚如何将他们的用户信息输入数据库,我觉得我几乎就在那里。


对正确的脚本语言的任何指导都会非常有益。


提前感谢 - 杰里


嗨Jerry,


首先,欢迎来到Bytes.com !我希望你发现这个网站很有用。


其次,请不要忘记将代码包装在CODE标签中 - 这样可以让你的帖子更容易阅读 - 请阅读< a href =http://bytes.com/forum/faq.phptarget =_ blank>发布指南如果您还没有这样做。


你能打印一下你在页面上得到的错误吗?确保在浏览器选项中关闭了友好HTTP错误消息,以便您可以看到正在返回的实际错误。


谢谢,


博士B


感谢您的快速回复Dr. B.以下是我收到的错误消息。我与互联网的连接很好,所以我不确定发生了什么。有任何想法吗?


__________________________________________________ ____________


Internet Explorer无法显示网页


最有可能原因:

您未连接到Internet。

网站遇到问题。

地址中可能存在输入错误。


您可以尝试:

诊断连接问题


更多信息


此问题可能由多种问题引起,包括:


互联网连接已丢失。

该网站暂时无法使用。

无法访问域名服务器(DNS)。

域名服务器(DNS)没有该网站域名的列表。

如果这是HTTPS(安全)地址,请单击工具,单击Internet选项,单击高级,然后检查以确保在安全性部分下启用了SSL和TLS协议。


对于离线用户


您仍然可以查看已订阅的供稿和一些最近查看过的网页。

查看订阅提要


单击收藏夹中心按钮,单击源,然后单击要查看的源。


查看最近访问过的网页(可能无法在所有网页上使用)


单击工具,然后单击脱机工作。

单击收藏夹中心按钮,单击历史记录,然后单击要查看的页面。


Hello, I am new to this forum but have read several posts and I thank you for your great assistance. I am stumped right now. I have a user registration form in asp that is set to a form method=registration.asp page. i will post my registration.asp page below.

I am hoping this asp page will connect to my access database called registration.mdb with a table called registration. however, everytime i submit my registration information, I get an error page that says there is a programming error. I have the SAMS teach yourself ASP 3.0 book and have followed this but am having no luck. Does anyone know why this isn''t working. The current page I have listed below is trying to use the dsn-less connection. I also tried the dsn connection but failed there too. Any help would be greatly appreciated. Thanks in advance - Jerry
__________________________________________________ _____________

Expand|Select|Wrap|Line Numbers

解决方案

one other question to go with my previous post. i am currently trying to use html/asp/microsoft access. would it be easier to use php/mysql? i have a hosting account at godaddy and they allow both i believe. i have read that php/mysql is easier but i have set everything up in asp/access thus far. just curious because i am new to web design but very facinated by it. my webpage is pretty basic. just a page for users to register, then check their points earned balances and edit their registration info if necessary. if i can figure out how to get their user info into a database, i feel i am almost there.

any guidance to the correct scripting languages would be very beneficial.

thanks in advance - Jerry


Hi Jerry,

Firstly, welcome to Bytes.com! I hope you find the site useful.

Secondly, please don''t forget to wrap your code in CODE tags - it makes your posts much easier to read - and please read the Posting Guidelines if you have not done so already.

Could you print the error that you are getting on your page please. Make sure that you have Friendly HTTP Error Messages turned off in your browser options so you can see the actual error that is being returned.

Thanks,

Dr B


Thank you for your quick response Dr. B. Below is the error message I am getting. My connection to the internet is fine so I am not sure what is going on. Any ideas?

__________________________________________________ ____________

Internet Explorer cannot display the webpage

Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.

What you can try:
Diagnose Connection Problems

More information

This problem can be caused by a variety of issues, including:

Internet connectivity has been lost.
The website is temporarily unavailable.
The Domain Name Server (DNS) is not reachable.
The Domain Name Server (DNS) does not have a listing for the website''s domain.
If this is an HTTPS (secure) address, click Tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.

For offline users

You can still view subscribed feeds and some recently viewed webpages.
To view subscribed feeds

Click the Favorites Center button , click Feeds, and then click the feed you want to view.

To view recently visited webpages (might not work on all pages)

Click Tools , and then click Work Offline.
Click the Favorites Center button , click History, and then click the page you want to view.


这篇关于试图让ASP表单显示在Access数据库中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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