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

How can I tell what .net framework is installed?

0 Answers  


If foreground completes its processing will it wait for background threads?

1 Answers   Kanbay,


IS MS.Net platform independent or dependent?

19 Answers   Infosys, Ksb, Satyam,


Can I look at the IL for an assembly

1 Answers  


I have a GridView on web form, and a column in a grid is a linkbutton to open popup..., my problem is when i click on link button in a gridview popup opens as well works fine. but when i click on link button once again my popup window doesnt open. Can any one help please...

2 Answers  






Explain covariance and contra-variance in .net framework 4.0. Give an example for each.

0 Answers  


What is the greatest advantage of using asp.net mvc over asp.net webforms?

0 Answers  


can we call the garbage collector to run explicicitly?

6 Answers   Kanbay, Volvo,


How large is the .net framework 3.0? Does this change make the release larger?

0 Answers  


What are the contents of assembly?

2 Answers  


How route table has been created in ASP.NET ASP.Net MVC?

0 Answers  


how to disable the lazy loading framework?

0 Answers   Microsoft,


Categories