Connection Question

C

coder316

Hello,
I get this message when trying to connect on a local machine.
A network-related or instance-specific error occurred .....
SQLExpress database file auto-creation error....

I'm not using express though.
Thanks
Mike
 
M

Mr. Arnold

coder316 said:
Hello,
I get this message when trying to connect on a local machine.
A network-related or instance-specific error occurred .....
SQLExpress database file auto-creation error....

I'm not using express though.
Thanks
Mike

Well what are you using? And was SQL Express on the machine before?
 
C

coder316

Well what are you using? And was SQL Express on the machine before?

Yes it was,
Removed it and are supposded to be using sql 2008 dev edition.
Connection string looks right.
 
A

Andy O'Neill

Connection string looks right.

Show us the string.
Just don't forget to change any password and user name.
I would guess you're using the wrong named instance or something which is
sql express specific.
 
G

Gregory A. Beamer

coder316 said:
Hello,
I get this message when trying to connect on a local machine.
A network-related or instance-specific error occurred .....
SQLExpress database file auto-creation error....

I'm not using express though.
Thanks
Mike

Membership? It defaults to either Express or Access. To get around this,
create the database using the scripts and then change the connection string.
After that, everything works.

Not membership? Still sounds like "change the connection string" to me.

--
Peace and Grace,
Greg

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

************************************************
| Think outside the box! |
************************************************
 
M

Mark Rae [MVP]

<add connectionString="Server=AMP-PC;Database=aspnetdb;Integrated
Security=true" name="Users" />

Just in case, try setting Integrated Security to SSPI instead of True. I
realise that they are supposed to be the same, but I have encountered
instances where SSPI worked and True didn't...

Also, you're not specifying an Initial Catalog (i.e. database) setting - try
setting that...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,085
Messages
2,570,597
Members
47,220
Latest member
AugustinaJ

Latest Threads

Top