Search

You searched for the word(s): userid:686802

Matching Posts

  • Re: Setting Membership/Profile/Role provider's connection string at runtime...?

    A simpler, albeit somewhat eyebrow-raising solution is just modifying the connection string in the providers early enough in the request's lifecycle: private void SetProviderConnectionString(string connectionString) { // Set private property of Membership, Role and Profile providers. Do not try this at home!! var connectionStringField = Membership.Provider.GetType().GetField("_sqlConnectionString", BindingFlags.Instance | BindingFlags.NonPublic); if (connectionStringField != null) connectionStringField
    Posted to Security (Forum) by RGabo on 8/24/2008
  • Re: Dynamic Data & Entity Framework Inheritence

    Does the same limitation apply to LINQ to SQL DataContexts? I receive the same exception and a similar call stack: [KeyNotFoundException: The given key was not present in the dictionary.] System.ThrowHelper.ThrowKeyNotFoundException() +28 System.Collections.Generic.Dictionary`2.get_Item(TKey key) +7452124 System.Web.DynamicData.ModelProviders.DLinqAssociationProvider..ctor(DLinqColumnProvider column) +464 System.Web.DynamicData.ModelProviders.DLinqColumnProvider.Initialize() +65 System.Web.DynamicData
    Posted to ASP.NET Dynamic Data (Forum) by RGabo on 8/12/2008
Page 1 of 1 (2 items)