Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have to add a simple login system to a small website. I'd like to use the built-in .NET controls for obvious reasons, but these require that aspnet_regsql.exe be run to set up the required tables and relationships. I don't have permission to do this, as the site is on a shared server.

Is there another way to set up the tables - a script perhaps?

Or I could write my own script to set up the tables if I could find the complete schema. Does anyone know where I can find the schema? If I have to write my own system, it may be a good starting point. (Got to admit, I am nervous of this approach. I can imagine putting in a lot of work, only to find I am still getting strange errors because I have missed something. I am no SQL expert.)

A final option might be if anyone knows of a system someone else has written, or at least a tutorial on how to write your own.

It seems ridiculous to me that Microsoft have put all this work into an out-of-the-box security system only to have the whole think become useless for what I would imagine is the majority of websites running on shared hosting.

Any help or pointers to useful information would be very much appreciated.

Kind wishes ~ Patrick
Posted

1 solution

It looks like you have to learn this:
http://msdn.microsoft.com/en-us/library/907hb5w9.ASPX[^],
http://msdn.microsoft.com/en-us/library/eeyk640h.ASPX[^].

You never mentioned ASP.NET though, but, having the tag ".NET" and "I have to add a simple login system to a small website" let me assume that this is what you are going to use, at least for this login system.

—SA
 
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