473,508 Members | 2,335 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Server failure

Hi,

I have lost my win 2k server where I had my Sql 2000 data.

Now I need to attach to sql server my database, but I have lost the log
file.

If I use the enterprise manager I get an error, if I use a stored
procedure I get an error.

How can I do to attach my .mdf file to Sql Server?

Thanks in advance

Marco Dell'Oca
Jul 20 '05 #1
3 1868
A database might not attach if it wasn't properly detached. You can try
running sp_attach_single_file_db from Query Analyzer, specifying the path to
your database file. If this doesn't work, you best option is to restore
from backup.

If you have no backups, contact Microsoft PSS for assistance. They may be
able to help you salvage data but data integrity will be questionable
without the log.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"Proli" <in**@proli.it> wrote in message
news:AI********************@news4.tin.it...
Hi,

I have lost my win 2k server where I had my Sql 2000 data.

Now I need to attach to sql server my database, but I have lost the log
file.

If I use the enterprise manager I get an error, if I use a stored
procedure I get an error.

How can I do to attach my .mdf file to Sql Server?

Thanks in advance

Marco Dell'Oca

Jul 20 '05 #2

"Proli" <in**@proli.it> wrote in message
news:AI********************@news4.tin.it...
Hi,

I have lost my win 2k server where I had my Sql 2000 data.

Now I need to attach to sql server my database, but I have lost the log
file.

If I use the enterprise manager I get an error, if I use a stored
procedure I get an error.

How can I do to attach my .mdf file to Sql Server?
There's a method, but you need to contact MS SUpport.

Note that if you have unresolved transactions (i.e. the server died in the
middle of doing stuff) you will now have inconsistent data.


Thanks in advance

Marco Dell'Oca

Jul 20 '05 #3
"Proli" <in**@proli.it> wrote in message news:<AI********************@news4.tin.it>...
Hi,

I have lost my win 2k server where I had my Sql 2000 data.

Now I need to attach to sql server my database, but I have lost the log
file.

If I use the enterprise manager I get an error, if I use a stored
procedure I get an error.

How can I do to attach my .mdf file to Sql Server?

Thanks in advance

Marco Dell'Oca


At this point, your only real options are to restore from backup if
you have one, or call Microsoft PSS, who may be able to help you
recover data from the file.

Simon
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5895
by: Paul | last post by:
I am using the CDONTS.NewMail object to send e-mail programmatically. We upgraded our IIS server from NT to Windows 2003 Server. Now it does not appear that the CDONTS object is available on...
10
1916
by: Peter Afonin | last post by:
Hello, I have a simple client-side form that is checking the domain availability on the domain registrar's server: <FORM action="https://www.webnames.ru/scripts/RegTimeSRS.pl" method="post">...
11
14633
by: moondaddy | last post by:
I have a .net 2.0 smarclient app and am trying to deploy it to IIS where users can access it from. I created an application folder in IIS where I'm trying to deployee to. 1) When the...
14
6995
by: Marcus | last post by:
I have a function that simply returns TRUE if it can connect to a particular Sql Server 2005 express, or FALSE if it cannot. I am getting some strange error codes returned when the computer that...
25
14464
by: _DD | last post by:
I'd like to include a 'Test Connection' button in an app, for testing validity of a SQL connection string. I'd prefer to keep the timeout low. What is the conventional way of doing this?
5
1916
by: James | last post by:
Hello, I have written a simple logon page that redirects to another page when successful. All works fine on my computer but when I upload it I get the error message below. I have written it...
0
3184
by: kkos | last post by:
I noticed the following issue posted as a double-hop issue in many discussion boards but found no answers that explain how to pass the second hop with windows auth from IIS ASPX page to remote SQL...
0
1491
by: titojermaine | last post by:
The problem is that after reducing MSDTC security to "No Authentication", it mostly seems to work correctly, except that after a brief period of inactivity (a few minutes), the first attempt to use...
0
1983
by: aboutjav.com | last post by:
Hi, I need some help. I am getting this error after I complete the asp.net register control and click on the continue button. It crashed when it tries to get it calls this Profile property ...
5
3529
by: Cirene | last post by:
I just deployed my new ASP.NET (3.5 FW) site to the hosting company I'm using, webhost4life. NOTE: I HAVE deployed other SQL Server sites to the same account with no issues. Now I'm getting...
0
7224
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7323
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7380
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7039
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7494
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5626
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5050
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.