This is a discussion on "[SOLVED] Need Helping Linking Database" within the Classic ASP section. This forum, and the thread "[SOLVED] Need Helping Linking Database are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] Need Helping Linking Database
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
[SOLVED] Need Helping Linking Database
Well for starters, I have Dreamweaver MX, Windows Vista, MS Access 2007, and IIS7. I am attempting to create a website that requires you to register for a member name, and login. I have followed several tutorials to accomplish this but it never works. I am new to this field and would like to know if anyone has any pointers or advice. I'm not so sure I have my IIS set up correctly either. My biggest problem is getting my ASP form to query the database. I have yet to get my database to show up in the server I made for testing. Like I said before I dont know much about this subject, so any help is greatly appreciated. Thanks
|
|
|
|
|||
|
Re: Need Helping Linking Database
Well, I can help you if you could just post your asp/html page so that I could look at it and perhaps point to you the error.
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: Need Helping Linking Database
In IIS you need to set your ODBD connection and define where your site are (wwwroot).
But I suggess that you leave the ODBC connection and use this connection:
Quote:
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: Need Helping Linking Database
The only thing that you need to do in IIS is this:
Define your site directory where all your page reside, and set the main page:
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: Need Helping Linking Database
Here is a sample full working coding in asp-ccess (add, login, edit, delete) that you will fine quiet interesting to learn from.
Take a look.
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: Need Helping Linking Database
Ill be sure to get that posted for you tomorrow. I didnt have a chance today, im at work..nightshift
|
|
|||
|
Re: Need Helping Linking Database
Quote:
where do i use this connection code...i dont know where to paste that..also how do you set up the dsn?...every time i try it says im using an invalid format or incorrect database type... |
|
|||
|
Re: Need Helping Linking Database
btw...thanks for all of your help monie...i know i may be asking some rookie ?'s but ive never done anything like this..its completely new to me..
|
|
|||
|
Re: Need Helping Linking Database
Quote:
anyway, I am waiting for your asp/html...
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: Need Helping Linking Database
sorry monie bout getting back to so late...ive been busy w/ school...any way here is my code....
Dreamweaver seems to access my database, bc it shows up under my connection and shows me the input columns and what not...but when i go to insert data using my website i get this error message from my web browser "An error occurred on the server when processing the URL. Please contact the system administrator" i thought this error might be in my user privileges but its not...bc i changed those to give my self full control...any ideas are greatly appreciated..thanks Last edited by karinne; Oct 29th, 2007 at 17:26. |
|
|||
|
Re: Need Helping Linking Database
sorry monie...im not sure how to paste my code where it is in the actual format on here...sorry
|
|
||||
|
Re: Need Helping Linking Database
Put it between the [ html][/html ] tags (remove the space
|
|
||||
|
Re: Need Helping Linking Database
[html] CODE HERE [/html]
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
|||
|
Re: Need Helping Linking Database
Quote:
Visit my sticky thread: ASP Learning Resources for Beginners here I have posted some of the basic ASP tutorial such as making a database connection, update, edit and delete function.
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: Need Helping Linking Database
thanks for the help monie...come to find out my code wasnt the prob...it was IIS 7...i had to change some of the settings and now its working...btw thanks for the shortened code..thats much more simple..im new at this, im tryin to learn it as i go..so any help is much appreciated..
|
|
|||
|
Re: [SOLVED] Need Helping Linking Database
If you would like me to guide you in using the simple short code that I have gave you, just PM me..
Glad to know you sorted it out
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Linking php code to a form & mysql database | longstand | PHP Forum | 21 | Oct 9th, 2007 16:40 |
| helping with portfolio | munkytron | Flash & Multimedia Forum | 3 | Jul 6th, 2007 16:39 |
| Auto generate links for database linking | yazer | Classic ASP | 1 | Oct 10th, 2005 12:33 |
| A little helping hand | Crystal_Meth | Introduce Yourself | 5 | Oct 22nd, 2004 08:39 |