Solved

ConnectionString Problems?

Posted on 2009-05-19
1
204 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 500 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Title # Comments Views Activity
No Data for DropDown List 2 29
Add a Condition in ASP Repeater 6 34
Code works but breaks when I add one section 4 21
using CK editor in iframes 5 18
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

821 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