Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
asp recordset makes web page crash?
Old 03-17-2006, 02:38 PM asp recordset makes web page crash?
redgeordieboy99's Avatar
Skilled Talker

Posts: 61
Trades: 0
i am trying to learn the basics of asp with dreamweaver by following a tutorial on a different site but it has problems, sometimes the pages load and other times they wont and i wont have changed anything about either the web page, the connections or the database.

any ideas - this is the link to the tutorial

http://www.webthang.co.uk/tuts/tuts_...f_2/dmx2_1.asp
redgeordieboy99 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-17-2006, 06:08 PM Re: asp recordset makes web page crash?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
As stupid as this sounds, did you create a system DSN on your server? (Or for that matter, did your host?) This is the object that provides the original connection to the database.

Since you're obviously an ASP newcomer (and there's nothing wrong with that...we all were once), you're going to learn three very important lessons within the next few months:

1) Most ASP tutorials are c-r-a-p, crap. Flat-out, dyed-in-the-wool crap.

2) It's better to use a DSNless connection for a database. Much, MUCH better. Major performance upgrade. But...that's a future lesson. Google the term "DSNless Connection", and you'll see lots of information and performance results on the subject.

3) Dr*amw*av*r, much as it does for HTML, generates abominable ASP code. This is just one of many examples of it. Hand-code ASP, and really study it, and you'll be much better off. The learning curve is HELL, but it's worth it.

To help yourself out, get a text editor like Notepad ++ that colour-codes things. It will make your life a lot easier.

If you really want some good basic tutorials, check out this site: http://www.haneng.com . This one's been around for 6 years in pretty much the state you see it, and it's a great site for learning from at first.

When you're done there, here are some other good ASP-type resources:

http://www.asp101.com
http://www.4guysfromrolla.com <--- these guys have some way-cool advanced stuff, but it's not really for the newbie.

Anyway, I know it's not the answer you wanted to hear, but it really is the best answer. There isn't a good code generator for optimized ASP. Ya gotsta get your hands dirty, son.

I am Jeremiah Dixon...I am a Geordie Boy...a glass of wine with you, sir, and the ladies, I'll enjoy...
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to asp recordset makes web page crash?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.55156 seconds with 12 queries