Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 30th, 2013, 11:08 AM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default SQL Server hangs on??

When I try to deploy the .mdf file that sits under the SQL Sever 2012 environment off of my PC onto the production server at the web hosting service (or even locally on my PC) by using windows explorer or an FTP tool like FileZilla, I get a very peculiar error message that says something like: Unable to copy .MDF file because it is being used by another process or at least words to that effect. Any ideas of what might be going on here? Why is SQL server being so stubborn and not allowing the .mdf file to be copied so that it can be deployed? What needs to happen to change that?
 
Old October 30th, 2013, 11:11 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Sight. You really don't get it, do you. What does this have to do with my book? Where do I talk about FTP and copying databases? Pick a general forum for general questions or I'll stop answering your questions at all.

That said: SQL is not stubborn; it needs a lock on the file in order to work with it. Either release that lock by recycling the web site or SQL Server, or use other means to update the database.

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old October 30th, 2013, 11:35 AM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default Is not Deployment

An a big chapter in your book? You go into great detail in your book on how to deploy to the production sever and that includes the Database part of it too. I thought that Deployment questions would be fair questions to answer in this forum.
I mean there can be error problems that come following the instructions in your book on deployment and I thought that could be answered here.
 
Old October 30th, 2013, 11:39 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
I thought that Deployment questions would be fair questions to answer in this forum.
They are, but not in this category. There is no reference to an exercise, you're having problems with steps not described in the book, you're using an update mechanism I am not describing etc etc etc. So, this is a general question for a general category here at p2p.wrox.com

I have explained it before but let me do this once more: this is not about you or me. This is not about me not wanting to answer your questions. I'll be happy to take a look at them if you post them in an appropriate location. This is, however, about future visitors to this forum category. They come here to read questions directly related to my book. For general questions, their search will be broader and will include the general forums as well.

Why don't you err on the safe side and always post in a general category?

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Full SQL Server instance instead of SQL Server Express lagonave BOOK: Professional ASP.NET MVC 2 1 December 14th, 2010 02:22 PM
Difference between SQL Server 2000 and SQL Server 2005 leena K SQL Server 2005 4 March 31st, 2009 09:07 AM
Conflict in SQL Server 2000 and SQL Server 2005 ayan.mukherjee SQL Language 0 June 30th, 2008 03:34 AM
migrating from sql server 2000 to sql server 2005 abinashpatra SQL Server 2005 2 December 1st, 2006 03:45 PM
Server hangs on Me z323791 Classic ASP Basics 1 March 28th, 2005 07:19 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.