Simple, unsolved issue

N

Newbie

Hi all,

Just want to comment on this thread.

Seems like every discussion about this matter (setting up DB provider for membership) and all the samples/references given by some MVPs always refering to LOCALHOST in their solution. Aren't they all forget that people build an ASP.NET appl are plans to host their appl in an commercial hosting provider, whom most of them can't afford the fancy of dedicated servers - most of them hosts on shared hosting, like me, so they just CAN'T touch or tweak or reconfigure the IIS, or run the aspnet_regsql.exe utility from within their Control Panel.

Anyone of you know - or even developed - of an ASP.NET 2.0 application, runs on the shared hosting, implemented .NET 2.0's built-in Authentication/authorization classes 'right-out-of-the-box' runs on the shared hosting? If so, that I might humbly :)) request your advice please.

I built one. It works perfectly. Every thing just runs smoothly, the Login control, the new-user registration form, change password, login view, role management. Set up all my roles and authorizations with that handy 'Website Administration Tool'. I'm so happy. Man, I have to admit, I save a lot of tedious works of working with that security measures in ..NET 2.0 than I was using .NET 1.1.

Then come the time to upload all those hardwork to my production server, which is a shared hosting. And I just to face the real thing that it's not working just like on my development machine.
I then posted this issue on forums like this (where MVPs and ASP.NET hotshots gathers and give their valuable advice to novices and newbies like me...), never got a definite answer that pinpoint my error or ways how to solve the problem. Funny... coz those hotshots can answers and advices some more advanced topics/problems easily. but just passed out on my questions.

Just a little bit dissapointed though, but still got my hope because of all investments I made in this 6 months on this new technology.

It's just reminds me on how easy it is to do things like these with classic ASP and with tools like Dreamweaver MX. A TRULY Drag-and-drop development tool available that even VS2005 can't beat.

Regards,
 
J

Jeff Dillon

I read your post 3 times. What is your question??

Hi all,

Just want to comment on this thread.

Seems like every discussion about this matter (setting up DB provider for
membership) and all the samples/references given by some MVPs always
refering to LOCALHOST in their solution. Aren't they all forget that people
build an ASP.NET appl are plans to host their appl in an commercial hosting
provider, whom most of them can't afford the fancy of dedicated servers -
most of them hosts on shared hosting, like me, so they just CAN'T touch or
tweak or reconfigure the IIS, or run the aspnet_regsql.exe utility from
within their Control Panel.

Anyone of you know - or even developed - of an ASP.NET 2.0 application, runs
on the shared hosting, implemented .NET 2.0's built-in
Authentication/authorization classes 'right-out-of-the-box' runs on the
shared hosting? If so, that I might humbly :)) request your advice please.

I built one. It works perfectly. Every thing just runs smoothly, the Login
control, the new-user registration form, change password, login view, role
management. Set up all my roles and authorizations with that handy 'Website
Administration Tool'. I'm so happy. Man, I have to admit, I save a lot of
tedious works of working with that security measures in .NET 2.0 than I was
using .NET 1.1.

Then come the time to upload all those hardwork to my production server,
which is a shared hosting. And I just to face the real thing that it's not
working just like on my development machine.
I then posted this issue on forums like this (where MVPs and ASP.NET
hotshots gathers and give their valuable advice to novices and newbies like
me...), never got a definite answer that pinpoint my error or ways how to
solve the problem. Funny... coz those hotshots can answers and advices some
more advanced topics/problems easily. but just passed out on my questions.

Just a little bit dissapointed though, but still got my hope because of all
investments I made in this 6 months on this new technology.

It's just reminds me on how easy it is to do things like these with classic
ASP and with tools like Dreamweaver MX. A TRULY Drag-and-drop development
tool available that even VS2005 can't beat.

Regards,
 
G

Guest

If your question is how to get the result of ASPNET_REGSQL on a shared
hosting provider, the answer is relatively simple. Run ASPNET_REGSQL on your
own local copy of SQL Server, and export all the tables, stored procs and
views. Put them into a single SQL Script file and run it in whatever Facilty
you have with your shared hosting company - almost always, they've got
something where you can execute SQL statements. Also, be aware that there
are some classes in ASP.NET that are specifically designed to do the same
thing that the ASPNET_REGSQL utility does.
Peter

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

Newbie

i was making comments, bro...

my question:
Hi all,

I'm hosted my ASP.NET 2.0 on an .NET 2.0 enabled shared hosting provider.
I tried the user registration page and it returns following error: "An error
has occurred while establishing a connection to the server".
Please click this link, just enter anything you want:
http://www.infoteknika.info/registration.aspx

The same form works perfectly on my development machine. I've checked that
the 'app_data' directory has been set/CHMOD to 777

How to solve this problem?

===================

the closest answers:
It should work fine for 2000 SERVER. BTW you can also change the settings
from the IIS admin tool (setting the conn string and membership provider)
Check out my article at :

<shameless plug>
http://www.dotnetgenerics.com/Modules/ASP.NET/Membership.aspx
</shameless plug>
=========================
another one:

re:
If you know how to add a new provider that supports sql 2k, then you
aren't reading this.

It might be worthwhile for you to step through Scott Guthrie's tutorial that
shows you how to
configure ASP.NET to use Membership, Role Management, and Personalization
services with
SQL Server 2000 instead of SQL Express

http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx





Regards,
Andy
 
C

Craig Deelsnyder

Peter said:
If your question is how to get the result of ASPNET_REGSQL on a shared
hosting provider, the answer is relatively simple. Run ASPNET_REGSQL on your
own local copy of SQL Server, and export all the tables, stored procs and
views. Put them into a single SQL Script file and run it in whatever Facilty
you have with your shared hosting company - almost always, they've got
something where you can execute SQL statements. Also, be aware that there
are some classes in ASP.NET that are specifically designed to do the same
thing that the ASPNET_REGSQL utility does.
Peter

and then to 'repoint' the providers:

http://www.c-sharpcorner.com/Upload...rticleID=bc2ca2b0-9e3d-42ad-b4b9-0dce96231ce6
 

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

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top