Solved

SQL Server Express Deployment

Posted on 2014-01-22
5
322 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
Comment Utility
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
Comment Utility
I'm using Windows authentication.  I think it's installed as a default instance.
0
 

Author Comment

by:l2Bravo
Comment Utility
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
Comment Utility
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
Comment Utility
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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to shrink a transaction log file down to a reasonable size.

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now