Search

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

Matching Posts

  • Inherited Profiles

    I read an article on MSDN (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/userprofiles.asp) that says you can create a profile class and then tell the Profile object to inherit from that class. All of the properties defined in the class are supposed to be saved automatically. But, the properties from an inherited profile will not save. Is there a trick to this? Web.Config <profile inherits="MyProfile"> ... </profile> MyProfile.vb Imports System
  • Re: Configuration Management App. Block in .NET 2.0

    If you add the following lines to the GetValueFromXml function (on line 178 of the XmlSerializableHashtable.vb file) then the appication *seems* to work: If value.GetType Is GetType(String) Then Return value End If
  • Configuration Management App. Block in .NET 2.0

    Here's a question for a Microsoft Insider or a Application Block expert. I have a beta of .NET 2.0, so I loaded up the Configuration Management Application Block Hash Table Quick start. The conversion ran succesfully. There was one error in SQLHelper.vb of the Data Application Block. I changed line 772 from: Return ExecuteReader(CommandType.StoredProcedure, spName, commandParameters) to Return ExecuteReader(connection, CommandType.StoredProcedure, spName, commandParameters) Then I ran the Hash Application
  • Re: Error in the Data Access Application Block (v1)?

    FYI, I'm referring the SQLHelper.vb file in the Application Block.
  • Error in the Data Access Application Block (v1)?

    I was trying to compile the Data Access Application Block in .NET 2.0 when I came across an error. Take a look at the following code in the file: 766: 'if we receive parameter values, we need to figure out where they go 767: If Not (parameterValues Is Nothing) And parameterValues.Length > 0 Then 768 commandParameters = SqlHelperParameterCache.GetSpParameterSet(connection.ConnectionString, spName) 769: 770: AssignParameterValues(commandParameters, parameterValues) 771: 772: Return ExecuteReader
  • Re: whats the memo field for Sql Server 2000

    It should be called "text"
    Posted to Getting Started (Forum) by Damon.Armstrong on 1/14/2005
  • Re: How to genereate a SHORT cipertext

    Here's a fun function that will generate a strong crytographic set of bytes in an array Public Function CreateByteArray(ByVal Size As Integer) As Byte() 'Generate a cryptographic random number using the cryptographic service provider Dim rng As New RNGCryptoServiceProvider Dim buff(Size - 1) As Byte rng.GetBytes(buff) Return buff End Function Then you can call Convert.ToBase64String(CreateByteArray([size])) Unfortunately, the size portion of this refers to the Array. When you convert it to a Base64String
    Posted to Security (Forum) by Damon.Armstrong on 1/14/2005
  • Re: need HELP (User.IsInRole )

    Put a break on the line that reads Dim astrRoles() As String = fat.UserData.Split("|") Make sure that the UserData property contains multiple roles and that "|" is actually the delimiting character.
    Posted to Security (Forum) by Damon.Armstrong on 1/13/2005
  • Re: How to genereate a SHORT cipertext

    You could use the Rnd() function, which generates a random number, to help you generate a cipher string. It would look something like this: dim s as string for x as integer = 1 to HoweverLongYourStringNeedsToBe s &= Chr(Rnd() * 255) next Of course, you will have to tweak it because there are some characters that you just can't use for file names, and others that you just shouldn't use at all (like 1-10 are special, I think).
    Posted to Security (Forum) by Damon.Armstrong on 1/13/2005
  • Re: Forms authentication (Iframe issue)

    Your problem is this, the page opening in the iFrame realizes that the session has expired and knows that the user is logged out, so it redirects the user to the login page. The page that contains the iFrame is still sitting there without a clue that the user is logged out and the session is gone. What you need is some way of informing the page that contains the iFrame that it needs to redirect to the login page. You could do this. Place JavaScript on your login page that will detect if login page
    Posted to Security (Forum) by Damon.Armstrong on 1/13/2005
Page 1 of 5 (46 items) 1 2 3 4 5 Next >