CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 please help me i am getting error when i try to attach a file to database in sql server 2008

Print topic Send  topic

Author Message
bilalbinamar

Posts: 8
Posted: 12/22/2013, 2:43 AM

TITLE: Microsoft SQL Server Management Studio
------------------------------

Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

E:\he-ca-pr\he-ca-pr\Health Care Product\bin\Debug\Hospital.mdb is not a primary database file. (Microsoft SQL Server, Error: 5171)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+S...71&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------
View profile  Send private message
eratech


Posts: 513
Posted: 12/22/2013, 5:21 PM

Hi - are you trying to attach an Access file to the SQL Server?

I'm not up with the latest versions of SQL Server but in the past I have usually imported it into SQL Server not just attached it (but I could be wrong)

Also , this might not be the place for this specific question about a problem with SQL Server.

E
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
View profile  Send private message
julialloyds45

Posts: 1
Posted: 04/15/2014, 12:17 AM

To prevent and avoid the attacks of SQL injection which generally involves running any entered data through a function that make sure that any harmful character are not entered to a SQL query in data.
You need to avoid connecting the database applying an account with privileges of admin-level if there is not some forceful reason.
Remove unwanted functionality of database that not required or unwanted because hackers can take advantage of these.
If such error occurs in your database then it is necessary for you to repair your SQL database as soon as possible with SQL MDF File Repair Tool .

For More Details: http://sqlmdf.filerepairtool.net/blog/prevent-fix-ms-sql-injection-errors
View profile  Send private message
elliswhite

Posts: 1
Posted: 05/14/2014, 1:59 AM

You can resolve sql error 5171 & successfully attach SQL MDF file with the help of SQL recovery tool. http://www.sqlrecoverysoftware.net/blog/how-to-fix-sql-error-5171.html
View profile  Send private message
myplast1

Posts: 1
Posted: 07/08/2014, 12:12 PM

MS SQL is an application produced by Microsoft which is used broadly for efficient data management by many organizations around the world and has really become an indispensable need of users all over. SQL or the Structured Query Language helps the users to query the databases and also to easily retrieve information from databases that had been made already. In this MS SQL Server, the files are saved in .mdf file format.
For more information and free download
http://sqldatabserecovery.weebly.com
http://sqldatabserecovery.weebly.com/recovery-for-sql.html
View profile  Send private message
fairyanna

Posts: 1
Posted: 01/02/2015, 10:14 PM

The solution was to remove the javascript links and put them in an include file.
CCS then stopped changing the HTML.
Why?
Who knows - like most problems with CCS you work out how to get around it and move on.
Support tends to do their own thing.....


Unlock the key of your success by [url=http://www.brain-dumps.us/CompTIA-exams.html]a plus certification[/url] and [url=http://www.brain-dumps.us/CompTIA-exams.html]security+ certification[/url] By using our latest [url=http://www.ciis.edu/]www.ciis.edu[/url] and [url=http://www.ju.edu/]ju[/url] study material, you can easily pass [url=http://www.rasmussen.edu/]www.rasmussen.edu[/url]

_________________
Unlock the key of your success by [url=http://www.brain-dumps.us/CompTIA-exams.html]a plus certification[/url] and [url=http://www.brain-dumps.us/CompTIA-exams.html]security+ certification[/url]
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.