473,779 Members | 2,047 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Copy Website, now can't login any users.

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
Nov 19 '05 #1
3 1480
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

"jd" <jd@yahoo.co.uk > wrote in message
news:eW******** ******@TK2MSFTN GP12.phx.gbl...
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

Nov 19 '05 #2
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
Nov 19 '05 #3
jd wrote:
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/micro...2c45cbab?hl=en

Ben
Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1915
by: ohaya | last post by:
Hi, I've been researching this, and I'm not sure if what I'm trying to do is possible, but I thought that I'd ask: I have two webservers/websites. The first webserver/website is running Win2K/IIS5, and I want it to act as a kind of "portal" to the other webserver/website.
0
1698
by: clintonG | last post by:
I applied aspnet_regsql to SQL2K which was working fine throughout Beta 2 development. After installing Visual Studio and SQL Express RTM my application has blown up. Logging in to the application became realllllllllllly slow. Content in LoginView Role Groups was not displaying even after a user in a role had logged in. It was taking about 15 seconds or so for the login control to display when the login link was selected on the homepage....
1
5424
by: Mr Gabriel | last post by:
Hi to all, I'm trying to use the copy database wizard to copy a database from the 2000 version to the 2005 version of sql server. I choose not to copy logins so I expect to find a database with only an administrative login o none at all. When I start the created package it throws an error saying: errorCode=-1073548784 description=Executing the query "EXEC dbo.sp_grantdbaccess @loginame = N'PresIng1', @name_in_db = N'PresIng1' " failed...
1
5072
by: Byron | last post by:
Hi, I have(had) an old Win2k Server server with about 30 web site databases (SQL 2000) that just went under due to hardware problems. Thankfully, I have backups of all the databases plus the MDF and LDF files from the hard drive. I want to move all of these sites and their data to a newer server (Win2003) running SQL2000.
2
2258
by: Diffident | last post by:
Hello All, I just finished reading an interesting article by Scott about App Domains: http://odetocode.com/Articles/305.aspx Scott, I have a question about the section "Shadow Copies and Restarts". You talked about "Drain Stopped" and "Shadow Copy" concepts in this article. I maintain a web application which is in production. Every morning the way we build the project is using Visual Studio's IDE to use "Build -> Build<proj-name>"...
2
2136
by: 1388-2/HB | last post by:
On a W2K3 box running IIS 6 I have a web app that implements Forms Authentication mixed with AD (the login page autheticates users against AD & impersonates them with each page request). This means my process identity varies, and is not necessarily "ASPNET" or "IUSR...". My process identity for any given page request will be user1, user2, user3, etc. (there's a lot of them) This web app needs to copy files (Word documents) from our old...
1
1610
by: luketongue | last post by:
Hi, I am building a website that allows you to login at any time to access specfic user information etc .. In the past i have always used form authentication to lock down any protected areas and this has worked fine. My problem is this time a user does not 'have' to login to any areas of the website but the option is there if they want. I could implement a messy Session based login which queries a sql database of users but was wondering...
1
2427
by: ll | last post by:
Hi, I have copied a MS SQL database to my local machine and am testing it with ASP pages, locally, on IIS. I have a db connect page that keeps the current connections for the live database. My question is, as the local db is named 'local,' is there another name I need to give it and thus call from the connection page? Also, when copying a db, are the permissions (username and pass) copied over with it? Thanks,
5
2962
by: Cirene | last post by:
When would I use "Copy Web site" over "Publish Website" or visa versa? Why would I use the Web Deployment Project vs these options? I want to make sure no one can pull up/read/download my vb source code (in ..vb files). I would prefer easy update of the site (code or aspx.) Thanks.
0
9632
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9471
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10136
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9925
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8958
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7478
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6723
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4036
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.