Solved

SQL Server Express Deployment

Posted on 2014-01-22
5
324 Views
Last Modified: 2014-01-29
I developed an application in MS Visual Studio 2010 that uses SQL Server Express.  I need to deploy this application, together with a database I created on the development computer to a customer.  I copied the database over to the customer computer, installed the software and installed SQL Server Express 2008 with it.  

However, the log in to the database fails, though it works just fine on the development computer.  The path to the database is the same on both computers.  I'm relatively new to SQL Server, so it's quite possible I'm missing something simple.  Any suggestions would be appreciated.  

Thanks.
0
Comment
Question by:l2Bravo
  • 3
  • 2
5 Comments
 
LVL 16

Expert Comment

by:Surendra Nath
ID: 39800443
what is the type of authentication you are using?
Is SQL server installed over the other guys machine is a named instance?
0
 

Author Comment

by:l2Bravo
ID: 39800745
I'm using Windows authentication.  I think it's installed as a default instance.
0
 

Author Comment

by:l2Bravo
ID: 39812050
Any ideas?  The customer computer has a Firewall on it, but I went through the steps to enable dynamic ports.  

I could use SQL Server authentication if needed...
0
 
LVL 16

Accepted Solution

by:
Surendra Nath earned 500 total points
ID: 39813459
are you able to login using the SSMS (management studio) provided when installing SQL Server express... if this is not the case then the windows authentication is not proper in your client system.

as a second shot at debugging try to put sql authentication as it will be same....
0
 

Author Comment

by:l2Bravo
ID: 39813575
Thanks.  I tried installing management studio for 2008 SQL Server Express, but the installation didn't work properly.  I removed SQL Server 2008 entirely and then installed SQL Server Express 2005 along with management studio for 2005.  SSMS was able then to see the server and I was able to attach the target database to the server.  The software I developed was able to connect to the database without any errors, but I have a few more tests to run to make sure everything is OK.

Thanks for the help.  I will update the question when I'm sure everything is working.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

776 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