Control Panel
Forum
Hosting Help
ASP.NET 4 & SQL 2008 R2 Hosting
Resources
Notice
Login
Members
Shared Hosting
|
Upgrade
|
Advertise
|
Tutorials
|
AdSense revenue sharing sites
|
Exam 70-680 Practice Tests
|
Silverlight games
Total
members
:
210361
Average new registrations per day (in last 7 days):
16
New Registration:
Open
Register Now
Home
»
Questions & Answers
»
How to Attach DB files? its Always giving me error!
How to Attach DB files? its Always giving me error!
3/7/2010
Author:
Joao Barroso
When i try to attach my mssql file it gives me this error, i already made everything that i know of, changing the file name, building another database and nothing work, it only gives me this error:
Error attaching database. System.Data.SqlClient.SqlException: Cannot create file 'C:\MemberSites\MemberSites_AspSpider_Info\clinicmodell\database\jaimeowns_log.LDF' because it already exists. Change the file path or the file name, and retry the operation. Could not open new database 'clinicmodell_jaimeowns'. CREATE DATABASE is aborted. File activation failure. The physical file name c:\Programas\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\jaimeowns_log.ldf may be incorrect. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at SpiderWatch.HostManager.AttachDatabase(String userId, String databaseName, String dataFile, String NetworkPath, String LocalPath, eUserType UserType)
Error opening attached database. Cannot open database clinicmodell_jaimeowns requested by the login. The login failed. Login failed for user 'DOTNETSPIDER1\dotnetspider'.
Answers .............
Author:
Joao Barroso
Posted Date: 3/7/2010
Got it now, no answer needed tnks
You must
login
to post answer for this question.
Advertise
Privacy Policy
Terms of use
Contact Us
SpiderWorks Technologies Pvt Ltd.
All Rights Reserved.