An investment in knowledge
pays the best interest.
-Benjamin Franklin
Home   News   Courses   Seminars   Templates   Help   TechHelp   Forums   Order   Contact   Logon  
Home > Forums > ASP
Active Server Pages Forum

Welcome to the ASP Forum. I love Classic ASP. My whole web site is built with that, Javascript, and of course HTML from scratch. Post your questions here. Feel free to ask about ASP.NET too. I'm not an expert (yet) but I can make my way around it, and yes, I'm brushing up my skills to I can prepare some ASP.NET lessons soon.

This forum is for everyone to read but only students (paid customers) can post here. If you'd like to become a student, you can watch ASP Beginner Level 1 for free, and then purchase Level 2 for just $1.00 here. After you create a logon, you will have full access to the Forums.

Subscribe to this forum and receive an email update whenever new posts are added. You will also be notified by email if any conversations you are involved in receieve new comments. Yes, even non-students can subscribe to update notifications.

Click Here to Post a comment and start a new discussion!

Connect to Access Database Link 
Kevin Robertson     
2 months ago
I am attempting to connect to my database using ASP.Net in Expression Web. I am using the following code:

dim conn
dim rs
conn = server.createobject("ADODB.Connection") ("StoreDSN")

When I navigate to the page I get the following result:

Repeating for every record in the database. Any ideas?
Richard Rost    
2 months ago
I've never liked using DSNs. Try this instead:

DatabasePath = "/full/path/to/your/database/whatever.mdb"
set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open Server.MapPath(DatabasePath)

You shouldn't need the rs.ActiveConnection line.

And remember you don't need parentheses around statements that aren't functions and don't return a value. For example:

response.write rs("ProductName")

You don't need parens around that because you aren't returning a value from it.
Kevin Robertson    
2 months ago
Thank Richard, finally got it working. Initially ran into the same problem until I made the followong change:

response.write (rs("ProductName").Value)

Set is apparently no longer supported, so had to leave it off.
Tried without the parentheses and got on error message.
Compiler Error Message: BC30800: Method arguments must be enclosed in parentheses.

Thank you once again and keep up the great work you are doing.
Add a Reply
When will ASP.NET be available? Link 
Gerard Gates   
3 months ago
When will be available? I hope you eye gets better soon..

Richard Rost    
3 months ago
This is a difficult question to answer. I've got a lot of projects in the works right now, mostly Access-related. I still have to update my Office lessons for 2019 (Word, Excel, PowerPoint, etc.) I really love ASP and I use it every day. My site is built mostly with Classic ASP, and I've been teaching myself ASP.NET slowly. So it's something I really want to dive into for my own enrichment too. If I had to GUESS, I'd say this fall.

And thanks for the concern. Still blind, but I'm seeing a specialist next week.
Add a Reply
SQL Server Anyone? Link 
Richard Rost     
4 months ago
I just realized while looking over my old ASP courses that I used an Access back-end for the database source in those classes. Is anyone here interested in learning how to connect ASP to an SQL Server backend?
Ray White    
4 months ago
Yes Please
Mubeezi Micah    
4 months ago
Yes sure.
i am familiar with this connection string.
'declare the variable that will hold the connection string
Dim ConnectionString
'define connection string, specify database driver and location of the database
ConnectionString="Driver={SQLServer};Server=your_server_name;" &_

but am curious to know how this one works

'OLE DB and OleDbConnection (.NET framework) Connection Strings

Standard Security:
'declare the variable that will hold the connection string
Dim ConnectionString
'define connection string, specify database driver and location of the database
ConnectionString="Provider=SQLOLEDB;Data Source=your_server_name;"
Add a Reply
My First ASP Video since 2008 Link 
Richard Rost     
4 months ago
Prove you're human! A quick way to foil spam bots. This is my first ASP video since 2008. It's been a little while. In this Active Server Pages tutorial, I'll teach you a quick way to foil spam bots on your web site with a simple math question. We'll look at using text and images to make sure you have a human entering information.
Add a Reply
What Replaced Classic ASP VBScript? Link 
Mubeezi Micah     
4 months ago
Hello Rick,
I am now coming to terms that i have to let go of classic ASP. Which alternatives do i have? I would be good that you recommend something where the learning curve from Classic ASP will be easy. Thanx
Alex Hedley   
4 months ago
Hi Micah,

Classic ASP was replaced with ASP.NET.
So you have a couple of options, one is to learn VB.NET and the other is C#.
Alex Hedley   
4 months ago
The other thing to think about is how do you want to build it?
Originally there was WebForms but I wouldnt use that.
MVC (Model View Controller) is an option.
You can then split your projects out into FE (Front End) and BE (Back End), make a separate API that you can call to get data etc.

SPA (Single Page Application) this could be done in Angular or Vue etc.
Blazor is new (Web Assembly)

Sorry for a lot of options but it might be worth doing a little reading.
Add a Reply

Show Older Comments...
View in Table Format

Post a New Comment or Question
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Account Login
Online Theater
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Waiting List
Production Schedule
Collapse Menus
Live Chat
Customer Support
WalkThru Tutorials
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
MYOLP Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Live Chat
General Info
Support Policy
Contact Form
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

YouTube Channel    LinkedIn

Blog RSS Feed   
Keywords: asp forum active server pages  PermaLink