A good Login Script?

K

Kivak Wolf

Hi,

I am currently trying to make a website that requires an account to use
so it can disply the data according to the account. I have ASP.NET 2.0
installed and working fine. However, it is not my server, I am having a
company host it. I know that you can use the "Login" control right in
VS2005, but it won't work unless the website is on localhost.

Where can I find a good place to get or find out how to make a login
control from scratch using ASP/VB script and a SQL server 2005
database?

Kiv
 
M

Mark Rae

Where can I find a good place to get or find out how to make a login
control from scratch using ASP/VB script and a SQL server 2005
database?

Google - there are hundreds of examples...
 
S

Shawn Wildermuth

Hello Kivak,

The ASP.NET 2.0 Login controls works on non-localhost websites fine. What
is your particular problem?


Thanks,
Shawn Wildermuth
Speaker, Author and C# MVP
 
K

Kivak Wolf

When I put in the login control and click "Administer Website", an
error comes up that says:

'Error invoking Ad&minister Website'. Details:
The Web Site Administration Tool is only supported on localhost and
disk based web sites

Am I missing something?

Kivak
 
S

Shawn Wildermuth (C# MVP)

Hello Kivak,

Ah, now I understand. The Administration Website stuff is only supported
on local systems, but the login/authentication stuff works fine. I tend to
run teh administration stuff remotely (e.g. on my laptop) with connection
strings pointing at the host's DB server. I am not sure I want the admin
site to stuff to work on the site's host. If you need admin stuff on the
hosts server, then you will need to use something different and google is
your friend there.


Thanks,
Shawn Wildermuth
Speaker, Author and C# MVP
http://adoguy.com
 
K

Kivak Wolf

I've looked for hours across google trying to find something that will
work. No one seems to have anything. Mostly their just talking about
the login controls and such. I'm going to keep digging through google,
but if anyone has any scripts they could post, that would be great. I
know I used to have a script that I used with ASP.NET 1.1 that would
work, but i no longer have it.

Basically what I have to use right now is a SQL 2005 database, ASP.NET
2.0, and VB.NET codebehind. I just can;t figure it out.
 

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

Top