Click here to Skip to main content
15,896,268 members
Home / Discussions / Database
   

Database

 
AnswerRe: is the order of parameters addition to a command for update command realy required? Pin
John Gathogo11-Oct-07 4:54
John Gathogo11-Oct-07 4:54 
QuestionComplex Query Pin
Aavesh Agarwal10-Oct-07 20:21
Aavesh Agarwal10-Oct-07 20:21 
AnswerRe: Complex Query Pin
_Damian S_10-Oct-07 20:50
professional_Damian S_10-Oct-07 20:50 
GeneralRe: Complex Query Pin
Aavesh Agarwal10-Oct-07 21:03
Aavesh Agarwal10-Oct-07 21:03 
GeneralRe: Complex Query Pin
Rob Philpott11-Oct-07 4:40
Rob Philpott11-Oct-07 4:40 
QuestionHow to use Form Authentication in SSRS Pin
krishbasu10-Oct-07 19:47
krishbasu10-Oct-07 19:47 
Questionwhile poop in stored procedure Pin
Sonia Gupta10-Oct-07 18:47
Sonia Gupta10-Oct-07 18:47 
AnswerRe: while poop in stored procedure Pin
joemonvarghese10-Oct-07 19:15
joemonvarghese10-Oct-07 19:15 
GeneralRe: while poop in stored procedure Pin
Sonia Gupta10-Oct-07 19:17
Sonia Gupta10-Oct-07 19:17 
GeneralRe: while poop in stored procedure Pin
Christian Graus10-Oct-07 19:31
protectorChristian Graus10-Oct-07 19:31 
GeneralRe: while poop in stored procedure Pin
Sonia Gupta10-Oct-07 19:40
Sonia Gupta10-Oct-07 19:40 
GeneralRe: while poop in stored procedure Pin
Joe10-Oct-07 20:04
Joe10-Oct-07 20:04 
GeneralRe: while poop in stored procedure Pin
Sonia Gupta10-Oct-07 20:27
Sonia Gupta10-Oct-07 20:27 
GeneralRe: while poop in stored procedure Pin
N a v a n e e t h10-Oct-07 22:54
N a v a n e e t h10-Oct-07 22:54 
GeneralRe: while poop in stored procedure Pin
Sonia Gupta10-Oct-07 23:43
Sonia Gupta10-Oct-07 23:43 
GeneralRe: while poop in stored procedure Pin
N a v a n e e t h11-Oct-07 0:39
N a v a n e e t h11-Oct-07 0:39 
GeneralRe: while poop in stored procedure Pin
joemonvarghese10-Oct-07 19:48
joemonvarghese10-Oct-07 19:48 
Questionan intersting sql problem Pin
richardye10-Oct-07 18:46
richardye10-Oct-07 18:46 
AnswerRe: an intersting sql problem Pin
GuyThiebaut10-Oct-07 22:53
professionalGuyThiebaut10-Oct-07 22:53 
AnswerHow to shrink a transaction log - and make sure that it actually shrinks. Pin
GuyThiebaut10-Oct-07 23:04
professionalGuyThiebaut10-Oct-07 23:04 
QuestionSQL Server Replication Pin
Anilkumar K V10-Oct-07 18:10
Anilkumar K V10-Oct-07 18:10 
QuestionProblem Regarding trigger Pin
Aavesh Agarwal10-Oct-07 17:52
Aavesh Agarwal10-Oct-07 17:52 
AnswerRe: Problem Regarding trigger Pin
joemonvarghese10-Oct-07 19:29
joemonvarghese10-Oct-07 19:29 
GeneralRe: Problem Regarding trigger Pin
Aavesh Agarwal10-Oct-07 20:15
Aavesh Agarwal10-Oct-07 20:15 
QuestionTrying to figure out how to secure the db better. Starting with:Limit user access. Pin
foolios10-Oct-07 15:46
foolios10-Oct-07 15:46 
Asp.Net/C#/SQL 2005

I created a user and login under security for the database.

In the web.cfg I have:

<connectionstrings>
<add name="ConnectionString1" connectionstring="Data Source=X2\SQLEXPRESS;Initial Catalog=TheDB;Integrated Security=True"
providername="System.Data.SqlClient">
<add name="ReadOnlyConnectionString"
connectionstring="Data Source=localhost\SQLEXPRESS;Initial Catalog=TheDB;
Integrated Security=False;User ID=userReaderOnly;Password=123"
providername="System.Data.SqlClient">


in the codebehind file:

string connectionString = ConfigurationManager.ConnectionStrings["ReadOnlyConnectionString"].ConnectionString;

SqlConnection conn = new SqlConnection(connectionString);

errors at the line:
conn.Open();

The Error:
A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.