Solved

Dreamweaver and DSN

Posted on 2007-12-05
5
798 Views
Last Modified: 2012-05-05
Hi,

Can someone help me?..I'm dying with this problem for a week?

I've got a shared hosting account, which creates a file DSN automatically to access the database.
The problem is, They don't allow to remotely set up the connection. So in the case of Dreamweaver , I can't  remotely connect and select the file DSN to create the connection string file.

so what I've done is , I've created the DSN file locally in same name which my hosting account has and then selected that DSN file to create the connection string file but my asp files are not running with that connection.

I think I need to change path of the DSN file, that causing for the problem.

These are the links about the DSN file. please have a look on it, if it doesn't make sense.

http://help.godaddy.com/article.php?article_id=40&topic_id=

http://help.godaddy.com/article.php?article_id=259&topic_id=

What can I do further?...

This is the connection file the Dreamweaver has created
--------------------------------------------------------------------------
 <%
' FileName="Connection_odbc_conn_dsn.htm"
' Type="ADO"
' DesigntimeType="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
Dim MM_conn_ecom_STRING
MM_conn_ecom_STRING = "dsn=access_ecom;"
%>
----------------------------------------------------------------------------



Thanks
Regards
Kugan

Open in new window

0
Comment
Question by:sivakugan
  • 2
  • 2
5 Comments
 
LVL 11

Expert Comment

by:dodge20
ID: 20415386
There wasn't a need to open another question. Just respond to your previous question
http://www.experts-exchange.com/Web_Development/Software/Macromedia_Dreamweaver/Q_22996486.html

Have you tried a dsnless connection? I would suggest using that if you can't get the dsn to work properly.

Here is a tutorial on how to do that
http://www.geekpedia.com/tutorial141_How-to-setup-DSN-Less-Connection-in-Dreamweaver-MX.html

I also posted how to find the path of your mdb in your other post.
0
 

Author Comment

by:sivakugan
ID: 20415563
I can try dsnless connection but I need to make sure that, Is it suitable for E-commerce site?...

Also I've seen ur answer earlier. but it doesn't match to my question.
I've already knew my database path. My actual question is, How do I intergrate the DSN connection in connection string file?.....Because I've use Dreamweaver to generate connection file.
So I need to manually edit the connection file to reference the DSN file, which is in my hosting account.
Does it make sense?....

Thanks
Regards
Kugan
0
 
LVL 11

Accepted Solution

by:
dodge20 earned 500 total points
ID: 20415721
Did you create a DSN Connection on your local machine? (Sorry, I am still having a hard time understanding what exactly you are asking). Are you trying to access your website database from your local machine?

I would really suggest creating the dsnless connection - It is more reliable, faster, and less confusing.

Also check this link out - it is about godaddy dsn and dreamweaver
http://www.dmxzone.com/forum/topic.asp?topic_id=37048

0
 

Author Comment

by:sivakugan
ID: 20416177
ohhh. Jesus...I'm having the same problem they had.  Thanks for the link dodge..
but the problem is still here. I'll try my level best now. Hope u will continue to support my question- dodge20.
0
 

Expert Comment

by:jtuttle99
ID: 20864940
Have you solved this problem? I have exactly same problem, and can't seem to find right answer.
If you have found a good way to fix this, please post comment on my question page.
Thank you
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now