473,394 Members | 1,746 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Deploying 2.0 app on a Service Provider .. Membership Provider


Are there any "gotchas" on deploying the default Membership Provider
(aspnetdb) to a hosting provider?

I'm about to do it.

And how does one get to the "auto configurer" .. that allows you to setup
roles/users .....?

Can I do these steps:

To create a membership user
1.. On the Website menu, click ASP.NET Configuration.

2.. Select the Security tab, click the link to Use the security Setup
Wizard to configure security step by step, and then click Next.

3.. Proceed to Step 2 of the wizard and select the From the Internet
option.

The wizard displays a page where you can select the authentication method
that your Web site will use. This option specifies that your application
will use Forms authentication, where users will log in to the application
using a login page that you will create later in this walkthrough.

4.. Click Next.

The wizard displays a message stating that user information will be stored
using Advanced provider settings. By default, membership information is
stored in a Microsoft SQL Server Express database file in the App_Data
folder of your Web site.

Can this be done remotely .. and to a hosting company's site? (probably,
but i'm asking anyways, thanks)


Jun 2 '06 #1
5 1457
sloan,
See this recent article for details on how to set up the providers, as well
as how to configure the providers programmatically:

http://www.eggheadcafe.com/articles/20060529.asp
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"sloan" wrote:

Are there any "gotchas" on deploying the default Membership Provider
(aspnetdb) to a hosting provider?

I'm about to do it.

And how does one get to the "auto configurer" .. that allows you to setup
roles/users .....?

Can I do these steps:

To create a membership user
1.. On the Website menu, click ASP.NET Configuration.

2.. Select the Security tab, click the link to Use the security Setup
Wizard to configure security step by step, and then click Next.

3.. Proceed to Step 2 of the wizard and select the From the Internet
option.

The wizard displays a page where you can select the authentication method
that your Web site will use. This option specifies that your application
will use Forms authentication, where users will log in to the application
using a login page that you will create later in this walkthrough.

4.. Click Next.

The wizard displays a message stating that user information will be stored
using Advanced provider settings. By default, membership information is
stored in a Microsoft SQL Server Express database file in the App_Data
folder of your Web site.

Can this be done remotely .. and to a hosting company's site? (probably,
but i'm asking anyways, thanks)



Jun 2 '06 #2
Sweet!

Yeah, you're right...

//quote
3) Do it programmatically: Make a "Setup.aspx" page that uses the
System.Web.Management utility method:

Management.SqlServices.Install("server", "USERNAME", "PASSWORD",
"databasename", SqlFeatures.All)

This does everything that ASPNET_REGSQL does. You'd think they would make it
more obvious that you can do this, given the large number of sites that are
hosted by commercial shared hosting companies, but no, they decided to push
ASPNET_REGSQL as if everybody everywhere automatically has access to it.

That should be the more "advertised' method.

Thanks Peter!


"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message
news:51**********************************@microsof t.com...
sloan,
See this recent article for details on how to set up the providers, as well as how to configure the providers programmatically:

http://www.eggheadcafe.com/articles/20060529.asp
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"sloan" wrote:

Are there any "gotchas" on deploying the default Membership Provider
(aspnetdb) to a hosting provider?

I'm about to do it.

And how does one get to the "auto configurer" .. that allows you to setup roles/users .....?

Can I do these steps:

To create a membership user
1.. On the Website menu, click ASP.NET Configuration.

2.. Select the Security tab, click the link to Use the security Setup
Wizard to configure security step by step, and then click Next.

3.. Proceed to Step 2 of the wizard and select the From the Internet
option.

The wizard displays a page where you can select the authentication method that your Web site will use. This option specifies that your application
will use Forms authentication, where users will log in to the application using a login page that you will create later in this walkthrough.

4.. Click Next.

The wizard displays a message stating that user information will be stored using Advanced provider settings. By default, membership information is
stored in a Microsoft SQL Server Express database file in the App_Data
folder of your Web site.

Can this be done remotely .. and to a hosting company's site? (probably, but i'm asking anyways, thanks)



Jun 2 '06 #3
You're welcome!

Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"sloan" wrote:
Sweet!

Yeah, you're right...

//quote
3) Do it programmatically: Make a "Setup.aspx" page that uses the
System.Web.Management utility method:

Management.SqlServices.Install("server", "USERNAME", "PASSWORD",
"databasename", SqlFeatures.All)

This does everything that ASPNET_REGSQL does. You'd think they would make it
more obvious that you can do this, given the large number of sites that are
hosted by commercial shared hosting companies, but no, they decided to push
ASPNET_REGSQL as if everybody everywhere automatically has access to it.

That should be the more "advertised' method.

Thanks Peter!


"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message
news:51**********************************@microsof t.com...
sloan,
See this recent article for details on how to set up the providers, as

well
as how to configure the providers programmatically:

http://www.eggheadcafe.com/articles/20060529.asp
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"sloan" wrote:

Are there any "gotchas" on deploying the default Membership Provider
(aspnetdb) to a hosting provider?

I'm about to do it.

And how does one get to the "auto configurer" .. that allows you to setup roles/users .....?

Can I do these steps:

To create a membership user
1.. On the Website menu, click ASP.NET Configuration.

2.. Select the Security tab, click the link to Use the security Setup
Wizard to configure security step by step, and then click Next.

3.. Proceed to Step 2 of the wizard and select the From the Internet
option.

The wizard displays a page where you can select the authentication method that your Web site will use. This option specifies that your application
will use Forms authentication, where users will log in to the application using a login page that you will create later in this walkthrough.

4.. Click Next.

The wizard displays a message stating that user information will be stored using Advanced provider settings. By default, membership information is
stored in a Microsoft SQL Server Express database file in the App_Data
folder of your Web site.

Can this be done remotely .. and to a hosting company's site? (probably, but i'm asking anyways, thanks)




Jun 3 '06 #4

Peter,

I ran your example .. .and got it up and running just fine.

(one small issue was that the tables were Create Table [Articles] .. .
instead of Create Table dbo.Articles ........ which causes a few issues
until I addressed it)
(I'm at the mercy of my hosting provider on that one)

The setup screen you had worked perfectly, and I saw all the tables get
created in the db.

http://comps.reasolns.com/deploytest...bAdminTool.gif

Take a look at that gif... That's where I'm still unclear on whether or not
you can use that functionality somewhere besides the development
environment.

Thanks for any input.
Sloan

http://comps.reasolns.com/deploytest/ is where I got your demo site working.


"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message
news:51**********************************@microsof t.com...
sloan,
See this recent article for details on how to set up the providers, as well as how to configure the providers programmatically:

http://www.eggheadcafe.com/articles/20060529.asp
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"sloan" wrote:

Are there any "gotchas" on deploying the default Membership Provider
(aspnetdb) to a hosting provider?

I'm about to do it.

And how does one get to the "auto configurer" .. that allows you to setup roles/users .....?

Can I do these steps:

To create a membership user
1.. On the Website menu, click ASP.NET Configuration.

2.. Select the Security tab, click the link to Use the security Setup
Wizard to configure security step by step, and then click Next.

3.. Proceed to Step 2 of the wizard and select the From the Internet
option.

The wizard displays a page where you can select the authentication method that your Web site will use. This option specifies that your application
will use Forms authentication, where users will log in to the application using a login page that you will create later in this walkthrough.

4.. Click Next.

The wizard displays a message stating that user information will be stored using Advanced provider settings. By default, membership information is
stored in a Microsoft SQL Server Express database file in the App_Data
folder of your Web site.

Can this be done remotely .. and to a hosting company's site? (probably, but i'm asking anyways, thanks)



Jun 3 '06 #5
http://www.code101.com/Code101/Displ...le.aspx?cid=86

The mention of
http://localhost/MyWebSite/Webadmin.axd

is what is throwing me off.

Was that just a beta thing?

"sloan" <sl***@ipass.net> wrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...

Peter,

I ran your example .. .and got it up and running just fine.

(one small issue was that the tables were Create Table [Articles] .. .
instead of Create Table dbo.Articles ........ which causes a few issues
until I addressed it)
(I'm at the mercy of my hosting provider on that one)

The setup screen you had worked perfectly, and I saw all the tables get
created in the db.

http://comps.reasolns.com/deploytest...bAdminTool.gif

Take a look at that gif... That's where I'm still unclear on whether or not you can use that functionality somewhere besides the development
environment.

Thanks for any input.
Sloan

http://comps.reasolns.com/deploytest/ is where I got your demo site working.

"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message
news:51**********************************@microsof t.com...
sloan,
See this recent article for details on how to set up the providers, as

well
as how to configure the providers programmatically:

http://www.eggheadcafe.com/articles/20060529.asp
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"sloan" wrote:

Are there any "gotchas" on deploying the default Membership Provider
(aspnetdb) to a hosting provider?

I'm about to do it.

And how does one get to the "auto configurer" .. that allows you to setup roles/users .....?

Can I do these steps:

To create a membership user
1.. On the Website menu, click ASP.NET Configuration.

2.. Select the Security tab, click the link to Use the security Setup Wizard to configure security step by step, and then click Next.

3.. Proceed to Step 2 of the wizard and select the From the Internet
option.

The wizard displays a page where you can select the authentication method that your Web site will use. This option specifies that your application will use Forms authentication, where users will log in to the application using a login page that you will create later in this walkthrough.

4.. Click Next.

The wizard displays a message stating that user information will be stored using Advanced provider settings. By default, membership information is stored in a Microsoft SQL Server Express database file in the App_Data
folder of your Web site.

Can this be done remotely .. and to a hosting company's site? (probably, but i'm asking anyways, thanks)




Jun 3 '06 #6

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

Similar topics

2
by: John | last post by:
Hi I was working fine with create user wizard and the default membership provider. I have now customised the membership provider as per attached web.config. The create user wizard picks up the...
3
by: Carl M. | last post by:
Okay, I'm 18 hours into this now and am at a loss. What I've done is create an application on my local workstation using VWD Express using the membership/roles provider and SQL Server Express...
2
by: Balaji | last post by:
Hi All, Can I use more than one membership provider for a given website? I understand only one of them could be default one. If yes, then how to programmatically access the other membership...
3
by: ryan.mclean | last post by:
Hello everyone, I am wondering, can the membership provider be changed at runtime? Perhaps the connectionStringName? I would like to use a different database based on the server the site is...
4
by: thomas | last post by:
Hello All, How to change the default Membership Provider during the runtime? I know I can reference any provider I want, e.g.: provider = Membership.Providers but the question is how to...
4
by: =?Utf-8?B?Q2hyaXMgQ2Fw?= | last post by:
I have been having some trouble with implementing a custom Membership Provider. We have a custom data store and business logic that pulls user information. I need some level of functionality...
3
by: Smokey Grindle | last post by:
Can you use asp.net's membership and role provider sevices inside a web service for authentication? I am trying to find a way to reduce coding.. and that seems like it would be a good fit to do...
2
by: Andy B | last post by:
Can you have a WCF web service manage users in the membership providers? For example, if you were to use a standard login control on a page, it goes directly to the provider to sign in the user....
1
by: Michael Nemtsev [MVP] | last post by:
Hello Andy, ABThe same web server with different web applications. There is a ABlittle possibility that a client windows application will be built ABto be used from a remote computer. AB>...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.