Click here to Skip to main content
16,013,605 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I am new to .net field.I just created a asp.net website,by default i have got login,register pages.
But I don't have .mdf file in my website, but when i run my website i can able to register and login. how is it possible?
Even i didn't published it in iis.I just wanted to know where the values are stored.

regards,
Revanth
Posted
Updated 13-Mar-12 20:39pm
v3
Comments
[no name] 14-Mar-12 2:29am    
I think it should be there in App_Data folder. Please check and confirm
revanthkumar.ch 14-Mar-12 2:40am    
i checked it,but it is not there in App_data folder

Are you cheking VS studio 2010 default website??


If so then it is using its inbuilt classes to store your details..
 
Share this answer
 
Comments
revanthkumar.ch 14-Mar-12 7:13am    
yes,im using default website,how to see those values ?
where it gets stored in system ?
Hi,

Values can be stored in xml files or dat files or in excel also. please check again.
 
Share this answer
 
two possible locations for the database.

1. check the app_data folder of your website.
2. Check the SqlServers common folder where it keeps the databases. (should be somewhere under program files)

and as for the IIS question, publishing in IIS has nothing to with the Db access. If your connectionstring is proper than the DB access is possible even from development server (that is integrated with Visual studio)
 
Share this answer
 
Hi, May this help you to find the db file

Select the solution --->Click on the show all files icon--->Expand the App_Data Folder
The db file will be here..
And you can get the ConnectionString for this from the web.config file, which is used by the membership provider.
 
Share this answer
 
v2
May this help you.

You can create text file inside your application.
you can set default UID & PASSWORD for login or
you can Create new user & user's information inside the TEXT File for login.
While login match the UID & PWD from TEXT file.........


No need to any database.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900