J
JaiPrakash Sharma
Hi,
i am facing problem with Roles.GetRolesForUser(UserName).
When i run application on my machine the Method returning zero-dimension
array, Insted of When i run the same application on my friend's machine. it
returns value in array.
For the application we are using the SQL 2005 database located on my
friend's machine.
I am doing like this:
Dim strarray() As String
Dim result As Integer
strarray = Roles.GetRolesForUser(Me.Context.User.Identity.Name)
Here i am getting strarray zero-dimension.
Even i had run the exe called "aspnet_regsql.exe" for same data schema on
both machines.
If anyone help me out this thing.
Regards,
JaiPrakash Sharma
i am facing problem with Roles.GetRolesForUser(UserName).
When i run application on my machine the Method returning zero-dimension
array, Insted of When i run the same application on my friend's machine. it
returns value in array.
For the application we are using the SQL 2005 database located on my
friend's machine.
I am doing like this:
Dim strarray() As String
Dim result As Integer
strarray = Roles.GetRolesForUser(Me.Context.User.Identity.Name)
Here i am getting strarray zero-dimension.
Even i had run the exe called "aspnet_regsql.exe" for same data schema on
both machines.
If anyone help me out this thing.
Regards,
JaiPrakash Sharma