Solved

Dreamweaver and DSN

Posted on 2007-12-05
5
808 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

685 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