Solved

transfering website project to another computer

Posted on 2011-03-02
6
260 Views
Last Modified: 2012-05-11
Hi,

I am trying to transfer a web site project in microsoft visual studio 2010 from one computer to anotherl  Both running Visual studio 2010 and SQL Express 2008.  
I copy and pase the website folder to the new computer and tryied restoring database on the new computer which doesn't work.
Also tried coying the .mdf and .log files to the sql data file and attaching the .mdf file.  This works in management studio but when running the web site and trying to log in give an error with user instances.

System.Data.SqlClient.SqlException: Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed

Anyone know how to solve this or a good guide on how to transfer web site project to another computer.

Thank you
0
Comment
Question by:Claudiu10
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
6 Comments
 
LVL 9

Expert Comment

by:joshbula
ID: 35020630
Backing up and Restoring a sql database to another server doesn't automatically get the security logins also.  Delete the user from the "Databases/YourDatabase/Security" folder under the database, then add it back again.  Make sure the user exists in the "Security/Logins" folder for the server first.
0
 

Author Comment

by:Claudiu10
ID: 35020754
well that didn't help now I can't even connect to sql express server with management stuido error 4064
0
 

Author Comment

by:Claudiu10
ID: 35020768
tried that and thought maybe if I cange the default database to the one i want may solve it but that maybe unable to connect to sql express at all through management studio
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

Author Comment

by:Claudiu10
ID: 35021143
Hi, so getting all kinds of errors now.  Have to un-install sql server and re-install it.  If someone knows a good complete guide to transfering web site project and database to another computer please post.  
0
 

Accepted Solution

by:
Claudiu10 earned 0 total points
ID: 35021843
Hi, found a solution.  

delete data in folder under C:\Users\User\AppData\Local\Microsoft\Microsoft SQL Server Data\sqlexpress.

I don't know why nothing is straight foward with microsoft.
0
 

Author Closing Comment

by:Claudiu10
ID: 35067783
Because it works
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Create a Dropdown list with sub group 10 43
ASP.NET data base connection 35 95
Sending HTML Formatted Email from ASP.NET 2 58
SQL Server replace between tags 6 30
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

752 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