Click here to Skip to main content
       

Database

 
AnswerRe: Sql server topics and materials PinmemberAndrei Straut24-Sep-12 20:12 
AnswerRe: Sql server topics and materials PinmvpSandeep Mewara24-Sep-12 20:23 
QuestionSQL Search within a table Pinmemberveon cheng24-Sep-12 9:31 
AnswerRe: SQL Search within a table Pinmemberdjj5525-Sep-12 1:08 
GeneralRe: SQL Search within a table Pinmemberveon cheng25-Sep-12 3:37 
AnswerRe: SQL Search within a table Pinmemberihoecken25-Sep-12 4:13 
QuestionCONNECTING MSSQL DB FILE FROM PEN DRIVE Pinmemberr_mohd22-Sep-12 22:38 
AnswerRe: CONNECTING MSSQL DB FILE FROM PEN DRIVE PinmemberEddy Vluggen23-Sep-12 2:38 
r_mohd wrote:
if i remove the "User Instance=True" from the above connection string it gives me following error:

Do you need a user-instance, or not?
Microsoft SQL Server 2005 Express Edition (SQL Server Express) supports a new feature, the user instance, which is only available when using the .NET Framework Data Provider for SQL Server (SqlClient). A user instance is a separate instance of the SQL Server Express Database Engine that is generated by a parent instance. User instances allow users who are not administrators on their local computers to attach and connect to SQL Server Express databases. Each instance runs under the security context of the individual user, on a one-instance-per-user basis.

I assume that Sql Express or Sql Server is installed on the machine? Can you post the stacktrace of the exception?
Bastard Programmer from Hell Suspicious | :suss:
if you can't read my code, try converting it here[^]

AnswerRe: CONNECTING MSSQL DB FILE FROM PEN DRIVE Pinmemberjschell23-Sep-12 8:10 
GeneralRe: CONNECTING MSSQL DB FILE FROM PEN DRIVE Pinmemberr_mohd24-Sep-12 2:28 
GeneralRe: CONNECTING MSSQL DB FILE FROM PEN DRIVE Pinmemberjschell24-Sep-12 12:37 
QuestionDb over internet Pinmemberleone22-Sep-12 8:56 
AnswerRe: Db over internet PinmemberEddy Vluggen23-Sep-12 0:42 
AnswerRe: Db over internet Pinmemberjschell23-Sep-12 8:16 
GeneralRe: Db over internet Pinmemberleone24-Sep-12 0:45 
GeneralRe: Db over internet PinmemberJörgen Andersson24-Sep-12 2:05 
AnswerRe: Db over internet PinmemberChris Quinn27-Sep-12 2:36 
Questionconnection of mssql 2008 to cloud in windows form application PinmemberKUNWAR99921-Sep-12 3:28 
AnswerRe: connection of mssql 2008 to cloud in windows form application PinmemberDavid Mujica21-Sep-12 3:50 
AnswerRe: connection of mssql 2008 to cloud in windows form application PinmemberEddy Vluggen21-Sep-12 4:44 
QuestionSQL XP_StartSMTP to send email PinmemberMWRivera20-Sep-12 5:45 
AnswerRe: SQL XP_StartSMTP to send email PinmemberChris Meech21-Sep-12 2:45 
AnswerRe: SQL XP_StartSMTP to send email PinmemberEddy Vluggen21-Sep-12 4:47 
QuestionContinuous absent query PinmemberRA|-|UL PATEL20-Sep-12 3:16 
AnswerRe: Continuous absent query Pinmemberdjj5520-Sep-12 8:04 

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

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


Advertise | Privacy | Mobile
Web02 | 2.8.140709.1 | Last Updated 12 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid