Re: Membership Configuration Issues



Did you implement the roleManager?

I can also make note that the web.config settings are very delicate and some
not documented all that well. The membership provider
applicationName="YourAppName" setting for example can cause conflicts and as
I want to recall can do so without raising an observable exception. I think
it has to match what the roleManager provider declares also. In fact,
neither may even be required unless your application accesses another
application on a different server. Complexity such as that needs to be
looked at which may be causing your problems.

I think it would have been helpful if Microsoft put out a bare bones
Membership starter kit with a base implemenation of the web.config. You
might also consider installing the DotNetNuke starter kit which does support
Membership just to determine if the WAT will function for you.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/




"Josh Collins" <skeezen1@xxxxxxxxx> wrote in message
news:1137300123.672464.195470@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Here is my configuration:
> ASP.Net 2 running on IIS6/Win2k3
> Developing on WindowsXP-Pro iwth Visual Studio 2005.
>
> I am trying to utilize the Membership functionality in an ASP.net
> website.
>
> I am having the following issues:
> 1) In VS.Net 2005 there is no ASP.Net Configuration option under the
> Website menu.
> 2) If I choose 'Administer Website' from the context menu of the Login
> control, I get the error: "Exception has been thrown by the target of
> an invocation."
>
> I have already created the necessary database tables on my SQL Server
> 2005 instance using the aspnet_regsql wizard. The web.config has been
> updated to use forms auth and the membership aggregate has been created
> to use the correct connectionString.
>
> Does anyone have any suggestions to get WAT and the membership features
> running?
>
> Thanks in advance.
>


.



Relevant Pages

  • Re: Why is restarted needed for setting to take effect
    ... in a group and then change the settings in the policy that the group is ... then a restart is need on the PC's before the settings take effect, ... group membership thing as Windows only "refreshes" group membership if ...
    (microsoft.public.windows.group_policy)
  • Re: ASP.NET Configuration
    ... so that the settings you are asking about would be clearly read. ... I used ASP.NET Configuration to create a user, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: problem setting a new membershipProvider in web.config
    ... Can it because I haven't specified all the settings for the membership ... name) to the membership provider settings, ... asp.net 2.0 use default settings if I don't specify them in web.config... ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Need help configuring security and role management settings for we
    ... >You need to configure your membership and role providers by adding settings ... Worked like a charm, thank you very much! ... I still don't know why the settings webinterface won't do this for me, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Need to load 200 users into Form security DB
    ... using an IDataReader or a DataSet, and then create your TSQL. ... membership provider" if you want to see what that entails. ... The only thing I have done for security so far is to ...
    (microsoft.public.dotnet.framework.aspnet)