How to add 'ASPNET.mdf' file into server explorer in visual
studio 2005?

Answers were Sorted based on User's Feedback



How to add 'ASPNET.mdf' file into server explorer in visual studio 2005?..

Answer / ranganadhan k

Here I guess 'ASPNET.mdf' is a database file.So it is very
simple to add the database to your project by the fllowing
navigation ( try navigation may not be same but the process
is correct):
right click on server Explorer and select add a databse ---
> select
the mdf file browse option in the next screens. go the
directory and select 'ASPNET.mdf' click finish. now the
Database gets tagged to the project you added.

Thank you.

Is This Answer Correct ?    6 Yes 2 No

How to add 'ASPNET.mdf' file into server explorer in visual studio 2005?..

Answer / munna

I guess 1.Restore the database

Copy file.mdf and file.ldf files from database directory


And paste under the C:\Program Files\Microsoft SQL
Server\MSSQL.1\MSSQL\Data

Open sql server management studio

Server name = u r system name
Login --- sa (default user)
Password = (whatever u r given while installing sql server)

Right click on database --- select --- attach

Click on Add button
Select Techno.mdf file

Click --- Ok – ok to finish

Now u will find the database

Is This Answer Correct ?    4 Yes 3 No

Post New Answer

More Dot Net Framework Interview Questions

What are the advantages of razor view engine?

0 Answers  


Explain the .net framework.

0 Answers  


What are actions in asp.net mvc?

0 Answers  


What is .net framework & its benefits?

0 Answers  


What is filters in web api?

0 Answers  


Is http stateful or stateless?

0 Answers  


List the new features added in .net framework 4.0.

0 Answers  


How we can handle the exception at controller level in ASP.Net MVC?

0 Answers  


What is the need of Action Filters in ASP.Net MVC

0 Answers   B-Ways TecnoSoft,


what is entity graph in entity framework?

0 Answers   Microsoft,


What is entity framework used for?

0 Answers  


Will the finally block get executed if an exception has not occurred

1 Answers   Siebel Systems,


Categories