Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ConnectionString Problems?

Posted on 2009-05-19
1
Medium Priority
?
211 Views
Last Modified: 2012-05-07
I am trying to put a chat room onto my site...the problem I have is I get an error that says the following when I try to login:

Keyword not supported: 'premsql2g.brinkster.com;initial catalog'.

What is the deal here?  I was told by Brinkster.com that premsql2g.brinkster.com is the host name for a connectionstring.  Can you guys please help?  This is what I have in the web.config file:

<add key="ConnectionString" value="premsql2g.brinkster.com;Initial Catalog=database;user id=user;password=password"/>

Obviously the initial catalog and the userid/password has been changed.  Can you guys help?  Thanks!
0
Comment
Question by:VBBRett
1 Comment
 
LVL 11

Accepted Solution

by:
Muhammad Ousama Ghazali earned 2000 total points
ID: 24425065
You were missing the word server in the value attribute. Use this one:
<add key="ConnectionString" value="server=premsql2g.brinkster.com;Initial Catalog=database;user id=user;password=password"/>
And for all kinds of connection strings, always resort to this link: http://www.connectionstrings.com/
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Integration Management Part 2
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

916 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