Cannot attach the .mdf file in sql server 2012? [closed] - sql-server

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 8 years ago.
Improve this question
I am having a problem when attaching an .mdf file in sql server 2012. When I add an .mdf for my database it gives me the error below.

Yeah. Did you - ah - READ the error?
The part where it says "Access Denied" and "whle attempting to open or create the physical file".
What you think SQL Server can do when SQL Server is not allowed to read the file?
Check file and directory permissions and - start, please- READING the error. THis one is extremely clear.

Related

SQL Server 2022 STRING_SPLIT is not a recongnized built-in function name [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 6 days ago.
Improve this question
I cannot use the STRING_SPLIT() function in Microsoft SQL server.
the problem simliar to this post:
I've tried the suggestion but it wont work.
i've checked the compatibility_level and SQL server which is 160 and 2022 version.
But the SQL server still cannot recongnized the STRING_SPLIT() function.
What can i do to fix this issue?
Compatibility_level:
SQL version
Execute result
the chinese execute result means "STRING_SPLIT is not a recongnized built-in function name"

SQL Server Backup error - not part of a multiple family media set [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am trying to backup my SQL Server 2008 R2 database. However I am getting the below error, no matter where I try to save the backup.
System.Data.SqlClient.SqlError: The volume on device 'D:\Programfiles\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\dbName.bak'
is not part of a multiple family media set. BACKUP WITH FORMAT can be
used to form a new media set. (Microsoft.SqlServer.Smo).
Can anyone throw light on this?
The only helpful links I could google were following but of little use:
http://social.msdn.microsoft.com/Forums/en-US/sqldisasterrecovery/thread/a1eb2818-2a97-4c52-aa8d-7c224f1ac282
and
http://www.sqlservercentral.com/Forums/Topic279584-24-1.aspx
I wasn't able to reproduce the issue however, here's a workaround for whoever might run into this: use WITH FORMAT clause or Options - Back up to a new media set and erase all existing backup sets option in the GUI.

Windows could not start the SQL Server Express on local computer [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have an exam on SQL tomorrow and I have no idea what to do, I need help as quick as possible. here's the error I get:
Your master database is corrupt. You have to restore one from a backup, or reinstall sqlexpress.
Run this in cmd C:\Windows\System32\eventvwr.exe
That will open the Event Viewer. In there you will find more details on why SQL didn't start. There is no way of telling just from the screenshot you sent. Error code 3417 is a bit generic, so please paste the full detail of the error once you get it from the log.

Can anyone help me find a good host that supports MDF file? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Can anyone help me find a good host that supports MDF file? I have a site that works perfectly in my desktop but when I uploaded it to Arvixe it wont work and I can't get a straight answer from them.
Please I need your help so bad. Thank you.
No. Only small operations will use MDF - serious hosts will isolate SQL servers on dedicated machines.
There is a transfer wizard available allowing data upload to a server database.
And you should look for SQL Server Express, not "mdf files". It is a server technology.

SQL Server SPID [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Fellow devs,
From SQL Server Management Studio, I can see that a lot of SPIDs are still present eventhough the application which has triggered them has already used and closed the query. What could be causing this?
Any avenues for me to look at concerning this? Thanks.
connection pooling by the client driver is most likely the cause.
-don

Resources