473,394 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

New Server (Brinkster) doesn't support DSN connection

1
Hello

I must migrate my website.

In the old server I had on web.config file the following connection:
Expand|Select|Wrap|Line Numbers
  1. <connectionStrings>
  2.   <add name="ConnectionString" connectionString="Dsn=ecm_sql;SERVER=localhost;UID=sqladmin;PWD=sql1024"
  3.    providerName="System.Data.Odbc" />
  4.  </connectionStrings>
  5.  
Now, my new server (brinkster), does not support DSN connection.
Can someone tell me how can i make the connection?

Thanks
MBento
Dec 19 '12 #1
1 1606
PsychoCoder
465 Expert Mod 256MB
You should be able to change your connection string to look like this (just remove the DSN part)

Expand|Select|Wrap|Line Numbers
  1. <add name="ConnectionString" connectionString="SERVER=localhost;DATABASE=YourDBName;UID=sqladmin;PWD=sql1024"
  2.    providerName="System.Data.Odbc" />
Dec 20 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Patrick Gonzalez | last post by:
Is it possible to use the built-in filter functions (ie. "Filter by Selection", etc..) when a form's recordsource has been set to a recordset object during the load event. When I try to do this, I...
3
by: Harry Strybos | last post by:
Hi All I have a really strange problem occurring in my application. When I read in the application settings for connection strings the following happens: Here are my connection string settings...
0
by: EASimm | last post by:
I'm trying to create a query that will pull information out of a table and back into the original Submit Data form for editing purposes. I have have a FrmSubmit to enter data into tblMaster. I...
1
by: luvac | last post by:
Hi, PLZ send me a little example that display FORM made in VB and that form should be connected to MS access......
1
by: luvac | last post by:
hi, PLZ send me example of form connection to MS access.... with VB .net.....
2
sgeklor
by: sgeklor | last post by:
Hi guys, I have a panel on a form and at runtime I create some controls on the panel. Then, also during runtime I want to clear the panel of all of its controls. The basic way to do this is with...
1
by: =?Utf-8?B?VmVua2F0ZXNhbiBT?= | last post by:
Hi, I have a requirement of consuming a connection object returned from a COM component deployed in COM+ application. I have given the need for this requirement end of my query. My component...
3
by: Ryan Liu | last post by:
Hi, When i add a connection string FpConnStr from application setting UI in VS 2008, it ends with sth. like: <connectionStrings> <clear /> <add...
32
by: =?Utf-8?B?U2l2?= | last post by:
I have a form that I programmatically generate some check boxes and labels on. Later on when I want to draw the form with different data I want to clear the previously created items and then put...
2
by: LayneMitch via WebmasterKB.com | last post by:
I'm trying to add more form options depending on what you chose and then remove the form options if the main option is deselected. The latter is what I'm having the problem with. I only need...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.