Results 1 to 6 of 6

Thread: ASP Database considerations

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 1999
    Location
    Californ-I- A
    Posts
    207

    ASP Database considerations

    I'm new to ASP and databases, however, I'm experienced with HTML and VB. I've built a website for my friends which is similar to friendster.com or myspace.com. Creates profiles, bulletin, chat, calander, login, etc. I read a little about the databases and chose not to use ODBC with a DSN as I read it would be faster to use a connection string.

    I am using code like...

    Set DB = Server.CreateObject ("ADODB.Connection")
    DB.Open ("Provider=Microsoft.Jet.OLEDB.4.0; DATA SOURCE=" + server.mappath(fName))


    Everything was going fine until I woke up one morning and none of my pages can access the database. I copied all files to my hard drive and it works fine. I copied all files to a friends host, works fine, but my hosting seems to not support it all of the sudden.

    In looking for support I found my host does not offer support unless you are using ODBC. They really are pushing that. I can't change hosts as this one was donated to me a pre-paid a year in advance...

    Here's my question...

    What is the ideal database connectivity to use (access DB) with consideration on speed/performance and error handling? It's all very confusing... ODBC, OLE DB, DAO, ADO, etc.

    Thank you for your time.
    Micah Carrick
    Visual Basic 6 SP5
    Visual Basic.NET
    Quixotix Software
    [email protected]
    Download QCM 1.0 - Intelligent ActiveX Control Management

  2. #2
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Earth
    Posts
    762

    Cool

    I think the provider is faster then the ODBC..

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Perhaps your host has certain specifications regarding the location of the database. A previous host of mine had told me that I had to place my Access database in a certain folder, where they had set permissions to.

    It could be that your host suddenly changed permissions and what not. Also, find out from them whether they support only DSNs now!

  4. #4
    New Member
    Join Date
    Nov 2003
    Location
    Egypt , Alex
    Posts
    6
    These Reply Not Here,
    I'm Very Sorry
    Last edited by Alastaz; Nov 8th, 2003 at 09:20 AM.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    May 1999
    Location
    Californ-I- A
    Posts
    207
    Thanks everyone.

    I've ended up putting my entire site on a new server until I figure it out, however, it does look as if there have been permissions set on the folder I was previously using to store the database. I don't know why they changed it and they're slow at getting back to me. They are free though so who's complaining...

    Again, thanks for your help.
    Micah Carrick
    Visual Basic 6 SP5
    Visual Basic.NET
    Quixotix Software
    [email protected]
    Download QCM 1.0 - Intelligent ActiveX Control Management

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    It was probably like that for security reasons.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width