Solved

transfering website project to another computer

Posted on 2011-03-02
6
261 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

630 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