• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

ConnectionString Problems?

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
VBBRett
Asked:
VBBRett
1 Solution
 
Muhammad Ousama GhazaliSolution Analyst & ArchitectCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now