Solved

Dreamweaver and DSN

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Read about why website design really matters in today's demanding market.
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

810 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