473,491 Members | 2,430 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

DNS Less Connection String with ASP

I've been using Dreamweaver MX connecting to an IIS 6 server on
win2003. I've used an MS Access DB (2000 format) If I use server DNS,
I connect to my via ASP with out a problem. However, my ISP does not
support DNS connections, so I've been trying for a few days to get a
dns less connection work. This is the closes I've got:

Dim MM_ElimCaAspServer_STRING
MM_ElimCaAspServer_STRING = Connection = "Driver={Microsoft Access
Driver (*.mdb)}; DBQ=" + Server.MapPath("/assets/ElimDb/elimCan.mdb")

I can setup the connection and can test the Record set, it's OK Can
see the table data in the test in DW. But when I launch the page, I
get a http 500 error. And again, I had no problem with DNS in the
same environment.

Help!!
Jul 22 '05 #1
1 3085
Big Dave wrote:

Already answered over in .db

Please do not multipost Dave. This is definitely a database-related
question so .asp.db was the perfect group in which to post it. Posting it
here as well did not increase your chances of getting an answer (most of us
subscribe to both groups). On the contrary, if somebody had taken his time
to answer it here, only to find that it was already resolved in the other
group, that person may have been annoyed enough to ignore any future posts
from you, thereby decreasing your chances of getting help in the future.

There are times when you will not be sure which group is most appropriate
(again, this was not one of them), and you will want to post a question to
both groups. In that situation, you should use the cross-posting technique,
rather than posting the same message multiple times. To crosspost, put
a semicolon-delimited* list of the newsgroups to which you wish to post in
the To: header of your post and post it once. It, and any replies to it,
will appear in all the newsgroups in your list. So, if I reply in .asp.db,
my reply will also appear here in .asp.general.

* ... or whatever delimiter is recognized by your news client
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1762
by: shank | last post by:
What's wrong with the syntax in this connection string? It's a DSN less connection to an Access DB. thanks! <% Set Conn = Server.CreateObject("ADODB.Connection") MM_GenKAccess_STRING =...
4
2257
by: slc | last post by:
Help, I'm trying to make the following asp code work using a DNS-Less connection on a windows 2000 server running IIS and ODBC 4.0 driver. The Access database (odbc_exmp.mdb) was made using...
2
420
by: Paul Mitchell | last post by:
I have taken several individual apps that each use a dsn and combined them into one app. I was wondering if anyone has any sample code that would allow switching between odbc dsn-less connections...
2
2208
by: Ken | last post by:
How can I copy data from SQL to MS Access using dsn-less connection and not using SQL DTS? I have this but am stuck. I just want to do an export but can't figure out how to do a "select into". ...
0
2070
by: Roald Oines | last post by:
I've implemented Doug Steele's code ( http://members.rogers.com/douglas.j.steele/DSNLessLinks.html ) to create a dsn-less connection to a SQL Server database from Access 2003 under XP Pro. I was...
8
16213
by: ZRexRider | last post by:
Hi, I have an application that uses MS-SQL Linked tables. I have a utility routine that drops all links and re-establishes them. It works great when my connection string is a DSN connection...
8
9606
by: Greg Strong | last post by:
Hello All, The short questions are 1 Do you know how to make DSN connection close in Access to Oracle 10g Express Edition? &/or 2 Do you know how to make a DSN-less pass-through query...
1
7781
by: Brad | last post by:
With Oracle 9.2 drivers, this worked connection string worked in a DSN-less connection ODBC;DRIVER={Microsoft ODBC For Oracle};Server=MyServerName;UID=MyName;PWD=MyPwd; However, after upgrading...
7
7463
by: Bill Nguyen | last post by:
I have this connection string using ODBC DSN Dim FactorJaco As String = "dsn=jaco;catalog=factor;uid=user;pwd=passord" This requires an ODBC DSN (jaco) at every client PC. I need to use DSN-less...
0
1969
by: misterb | last post by:
Hello, and thanks for your help to my last question :) I am setting up my website using ASP and an Access database, the site is being hosted, with an option to use DSN, but the recommendation...
0
7115
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
6858
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7360
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5451
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4881
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4578
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3086
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1392
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
280
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.