Copy Website, now can't login any users.

J

jd

I am playing about with the Personal Web Site Starter Kit. It uses a
database called ASPNETDB.MDF for loggin users into the site.

I have successfuly added users using the ASP.NET Configuration Tool and can
log users in when running in Visual Studio.

When I want to test the web site out properly I use the Copy Website tool to
copy all files to http://localhost.

I can the open that site just fine but I don't seem to be able to login...
the ASPNETDB.MDF file seems to get copied over so why does it not recognise
any of my users?

TIA
 
C

clintonG

Probably file system permissions on the resources where you deployed the
website.
Check the folder where the mdf file is located and give the ASPNET user
(recalling from memory) read and write permissions.

<%= Clinton Gallagher
 
J

jd

Check the folder where the mdf file is located and give the ASPNET user
(recalling from memory) read and write permissions.

The computer I trying this on is not part of a domain. For this reason (I
think) all I get is an option to:

"Share this folder on the network" and
"Allow network users to change my files"

and I have done this for my website's entire home directory as specified in
IIS. I don't get the option to specify permissions for specific users.

It does work but have I done the right thing? Are there any security
implications with what I have just done?

TIA
 
B

Ben Amada

jd said:
The computer I trying this on is not part of a domain. For this reason (I
think) all I get is an option to:

"Share this folder on the network" and
"Allow network users to change my files"

and I have done this for my website's entire home directory as specified
in IIS. I don't get the option to specify permissions for specific users.

It does work but have I done the right thing? Are there any security
implications with what I have just done?

Hi,

Is the computer XP Pro? If so, it appears that the 'Security' tab is hidden
by default. It can easily be made visible. See:

http://groups.google.com/group/micr...rk.aspnet.security/msg/0207a6922c45cbab?hl=en

Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,434
Messages
2,571,689
Members
48,796
Latest member
Greg L.

Latest Threads

Top