Click here to Skip to main content
15,890,399 members
Home / Discussions / Database
   

Database

 
QuestionSql server topics and materials Pin
Azizullahazizi24-Sep-12 18:32
Azizullahazizi24-Sep-12 18:32 
AnswerRe: Sql server topics and materials Pin
Andrei Straut24-Sep-12 20:12
Andrei Straut24-Sep-12 20:12 
AnswerRe: Sql server topics and materials Pin
Sandeep Mewara24-Sep-12 20:23
mveSandeep Mewara24-Sep-12 20:23 
QuestionSQL Search within a table Pin
veon cheng24-Sep-12 9:31
veon cheng24-Sep-12 9:31 
AnswerRe: SQL Search within a table Pin
Corporal Agarn25-Sep-12 1:08
professionalCorporal Agarn25-Sep-12 1:08 
GeneralRe: SQL Search within a table Pin
veon cheng25-Sep-12 3:37
veon cheng25-Sep-12 3:37 
AnswerRe: SQL Search within a table Pin
Ingo25-Sep-12 4:13
Ingo25-Sep-12 4:13 
QuestionCONNECTING MSSQL DB FILE FROM PEN DRIVE Pin
r_mohd22-Sep-12 22:38
r_mohd22-Sep-12 22:38 
Hi all,

I am trying to connect db file from a pen drive. it is fine when using on my local machine. But giving following error when trying it on my client machine. i am using vs2008 and mssql express 2008. Mssql express 2008 also installed on my client's machine.
Type of application: Window application.

Error:Failed to generate a user instance of sql server due to a failure in startng the process for the user instance. the connection will be closed.

i have deleted mssqlexpress folder form the location:
C:\Documents and Settings\username\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\

and restarted machine, but still getting the same error.

Connection string: " Data Source='" & (SqlServerName) & "';AttachDbFilename=" & driveName & "dbfolder\dbname2.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"

if i remove the "User Instance=True" from the above connection string it gives me following error:
"Create database permission denied in dataase 'master' an attempt to attach an auto named database for file failed. A database with the same name exists, or specified file cannot be opened, or it is located on usc share."


Kindly help me.

Thanks
rmshah
Developer

AnswerRe: CONNECTING MSSQL DB FILE FROM PEN DRIVE Pin
Eddy Vluggen23-Sep-12 2:38
professionalEddy Vluggen23-Sep-12 2:38 
AnswerRe: CONNECTING MSSQL DB FILE FROM PEN DRIVE Pin
jschell23-Sep-12 8:10
jschell23-Sep-12 8:10 
GeneralRe: CONNECTING MSSQL DB FILE FROM PEN DRIVE Pin
r_mohd24-Sep-12 2:28
r_mohd24-Sep-12 2:28 
GeneralRe: CONNECTING MSSQL DB FILE FROM PEN DRIVE Pin
jschell24-Sep-12 12:37
jschell24-Sep-12 12:37 
QuestionDb over internet Pin
leone22-Sep-12 8:56
leone22-Sep-12 8:56 
AnswerRe: Db over internet Pin
Eddy Vluggen23-Sep-12 0:42
professionalEddy Vluggen23-Sep-12 0:42 
AnswerRe: Db over internet Pin
jschell23-Sep-12 8:16
jschell23-Sep-12 8:16 
GeneralRe: Db over internet Pin
leone24-Sep-12 0:45
leone24-Sep-12 0:45 
GeneralRe: Db over internet Pin
Jörgen Andersson24-Sep-12 2:05
professionalJörgen Andersson24-Sep-12 2:05 
AnswerRe: Db over internet Pin
Chris Quinn27-Sep-12 2:36
Chris Quinn27-Sep-12 2:36 
Questionconnection of mssql 2008 to cloud in windows form application Pin
KUNWAR99921-Sep-12 3:28
KUNWAR99921-Sep-12 3:28 
AnswerRe: connection of mssql 2008 to cloud in windows form application Pin
David Mujica21-Sep-12 3:50
David Mujica21-Sep-12 3:50 
AnswerRe: connection of mssql 2008 to cloud in windows form application Pin
Eddy Vluggen21-Sep-12 4:44
professionalEddy Vluggen21-Sep-12 4:44 
QuestionSQL XP_StartSMTP to send email Pin
MWRivera20-Sep-12 5:45
MWRivera20-Sep-12 5:45 
AnswerRe: SQL XP_StartSMTP to send email Pin
Chris Meech21-Sep-12 2:45
Chris Meech21-Sep-12 2:45 
AnswerRe: SQL XP_StartSMTP to send email Pin
Eddy Vluggen21-Sep-12 4:47
professionalEddy Vluggen21-Sep-12 4:47 
QuestionContinuous absent query Pin
RA|-|UL PATEL20-Sep-12 3:16
RA|-|UL PATEL20-Sep-12 3:16 

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.