General Forum - Forums about everything!




Server Side Web Coding For those who like to keep their code hidden, discuss server side coding in here including PHP, ASP, CGI, Cold Fusion, etc.

Go Back   GeneralForum.com > General > Technology > Scripting and Programming > Server Side Web Coding

Waterproof
Hearing Aid
Your Ad Here! Online Colleges
& Degrees
WOW Gold Buy WOW Gold

» Sponsored Ads
 



  
You are currently viewing our forums as a guest which gives you limited access to view most discussions, articles and access our other features.

By joining our free community you will have access to post threads, communicate privately with other members (PM), respond to polls, take part in contests, and access many other special "members only" features.

Registration is fast, simple and absolutely FREE so please, join our community today!

If you have any problems with the registration process or your account login, please contact support.

Reply
 
LinkBack Thread Tools
Old 04-29-2008, 02:37 AM   #1 (permalink)
Boredie
In need of Entertainment
Boredie's Avatar
Posts: 1,613
My Mood:
Free ASP webhost?

I've been looking all over the web for a reasonable free ASP web host service. There are some available but those I found cause the same error with the database connection string. Which is really frustrating and annoying, especially as they have no support whatsoever and in their own FAQ they have the supposed connection string to use - which of course doesn't.
The error it shows is simple - but not one I can fix I don't think.

Grrr.. Just getting my frustration out, since I doubt I will be able to solve it.

Bored out of my mind.
Boredie is offline Add to Boredie's Reputation   Reply With Quote
Old 04-29-2008, 02:46 AM   #2 (permalink)
Hybrix
Through the Looking Glass
Hybrix's Avatar
Posts: 20,442
My Mood:
What's your problem? I run Microsoft Windows 2003 myself which fully supports ASP obviously. I might be able to help answer any questions if you can describe the errors.

I may end up weighing 500lbs but I'll still find a way to pull it off sexily at the nudist colony. ~ysabel

GF Official MySpace Page.

One of the key problems today is that politics is such a disgrace, good people don't go into government.
~Donald Trump


Counting down to New Year's Day: 39 days 19 hours 5 minutes
Hybrix is offline Add to Hybrix's Reputation   Reply With Quote
Old 04-29-2008, 03:12 AM   #3 (permalink)
Boredie
In need of Entertainment
Boredie's Avatar
Posts: 1,613
My Mood:
Yeah I can describe it.
I put in the connection string to the access DB according to what the host says:
Dim Conn
Set Conn = Server.CreateObject("ADODB.Connection")
strConnection = "DRIVER=Microsoft Access Driver(*.mdb);DBQ=" & Server.MapPath("/username/db/mydb.mdb")
Conn.Open(strConnection)
Conn.Close

And the error I get is:


Microsoft OLE DB Provider for ODBC Driverserror '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified /ofriedma/index.asp, line 14

I understand the error but I'm not sure how to fix it. And this is after I made sure I put the db in the right place and the username is correct.

Bored out of my mind.
Boredie is offline Add to Boredie's Reputation   Reply With Quote
Old 04-29-2008, 06:22 AM   #4 (permalink)
Blueyes
Blueyes's Avatar
Posts: 1,370
My Mood:
Just in case you wanted to try on a free host with no adverts here are a couple I use to test some databases out first. Windows is annoying with all their errors which is why I do it on a test server so I don't eff up my own lol

Free Web Hosting Service, 100M free site space
Free Web Hosting Service, 100M free site space, FTP, ASP Hosting

http://brecksnfl.com/forum/index.php

Counting down to When Bush gets the hail out of office.: 59 days 7 hours 5 minutes
Blueyes is offline Add to Blueyes's Reputation   Reply With Quote
Old 04-30-2008, 12:43 AM   #5 (permalink)
Boredie
In need of Entertainment
Boredie's Avatar
Posts: 1,613
My Mood:
Quote:
Originally Posted by Blueyes View Post
Just in case you wanted to try on a free host with no adverts here are a couple I use to test some databases out first. Windows is annoying with all their errors which is why I do it on a test server so I don't eff up my own lol

Free Web Hosting Service, 100M free site space
Free Web Hosting Service, 100M free site space, FTP, ASP Hosting
At the moment the database is in NoFeeHost (second link) and I know that was useless. I hope your first link will be of some use.
Ta Blueyes!
------
The first link is just like the second - All hosts that I've tried out have the same format with the exact same FAQ and the exact same connection string for the database, written in the exact same way, so my guess is it won't work in this one either..

Bored out of my mind.

Last edited by Boredie; 04-30-2008 at 12:43 AM. Reason: Automerged Doublepost
Boredie is offline Add to Boredie's Reputation   Reply With Quote
Old 04-30-2008, 12:56 AM   #6 (permalink)
Hybrix
Through the Looking Glass
Hybrix's Avatar
Posts: 20,442
My Mood:
Have these files worked on any other server? Sounds like it COULD be a problem with your files. Either that or the ODBC database connections weren't entered properly? I'm not sure if you have access to play around with those though.

I may end up weighing 500lbs but I'll still find a way to pull it off sexily at the nudist colony. ~ysabel

GF Official MySpace Page.

One of the key problems today is that politics is such a disgrace, good people don't go into government.
~Donald Trump


Counting down to New Year's Day: 39 days 19 hours 5 minutes
Hybrix is offline Add to Hybrix's Reputation   Reply With Quote
Old 04-30-2008, 01:28 AM   #7 (permalink)
Boredie
In need of Entertainment
Boredie's Avatar
Posts: 1,613
My Mood:
I checked and double checked the connection string - I don't think it's a mistake.
Code:
"DRIVER=Microsoft Access Driver(*.mdb);DBQ=" & Server.MapPath("/USERNAME/db/mydb.mdb")
I kept the file as simple as possible all it has is the code for the connection string and that's it. The error tells me that the problem is on the server and I don't have access to the server.

Bored out of my mind.
Boredie is offline Add to Boredie's Reputation   Reply With Quote


Reply

  GeneralForum.com > General > Technology > Scripting and Programming > Server Side Web Coding

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Favorite verse/quote Italiano Music 63 09-06-2008 06:51 AM




All times are GMT -6. The time now is 05:54 AM.

Your Ad Here

Powered by: vBulletin | Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Site designed and maintained by NURV® Original Concepts, Graphics, and Design Copyright © NURV® 2008
All user submitted content, threads and posts becomes the copyright-protected property of GeneralForum.com unless previously copyrighted.
The views and opinions expressed on this site are not necessarily the views of the staff or administration.
We are not responsible, nor can we be held liable for information posted on this site, or what it influences you to do.
Rules & Privacy Policy

Waterproof Hearing Aid | Poker Design | Web Design | Game Forum | Pop Culture News | Money Forum | Money Complex | Stephen King