sharepoint server: a membership provider has not been configured correctly. Check the web.config settings for this web application.

The SharePoint 2010 environment with forms-based authentication shows the following error that used to work when trying to access "FBA User Management" in the site configuration. I tried to restart the SharePoint and IIT timer services but it didn't help.

Error: "A membership provider was not configured correctly. Verify web.config settings for this web application."

Check that the 3×3 matrix or higher is positive semi-defined

I read the solution to verify that the 2×2 matrix is ​​positive semi-defined: Verify if a matrix is ​​positive semi-defined

Is there any other method to verify that the 3×3 or NxN matrix is ​​semi-defined positive?

Security check of the visitor who visits my website d7?

I have a requirement as if the visitor is using my website under the particular firewall. Then I need to redirect them to a particular page. And if they are not using that firewall, then it has no effect for them. Is there any module in d7 to achieve this?

How to check the co-sender's address?

I have Transaction's ID and some other data at my disposal when I am on the first screen of the Copay wallet. I need to show the source address in the transaction details to transfer to my wallet.

Is there an API endpoint that I can reach in bitpay API?

how to check the default values ​​of bitcoind

How can I see what values ​​bitcoind is using for, for example, dbcache or other memory and connection parameters? If the value is NOT set in bitcoin.conf. Is there a bitcoin-cli command to verify all parameters?

Clearly differentiate between radio buttons and funnel check boxes

As a complete UX beginner, I am having trouble differentiating pages that contain 1 option buttons and multiple option checkboxes. I feel that there is not enough to clearly distinguish the two to make it as easy and clear as possible for the user.

Below are two screens of our leading funnel (work in progress), one that requires only one option and another that allows multiple options to be selected:

I have implemented clear radio buttons and check boxes, but I feel it would be a big guess to think that everyone will "understand" this. Is this clear enough, or should I take more steps to help the user immediately understand what is expected of them on the page?

c # – Asynchronous check for the full domain name with WPF and Caliburn.Micro

I have a small WPF program created with Caliburn.Micro that checks Active Directory for a user with the current username of the connected user. I have a Bootstrapper method:

protected async override void OnStartup(object sender, StartupEventArgs e)
    await ShellViewModel.CollectFullnameAsync();

Is start the ShellViewModel and launch an asynchronous method to start searching for the currently logged in user in the domain

Me ShellViewModel It looks like this:

public ShellViewModel()
    Computername = EnvironmentHelpers.ComputerName;
    Fullname = _fullnameplaceholder;

public static async Task CollectFullnameAsync()
    _fullnameplaceholder = ADHelpers.GetFullADName();

    while(_fullnameplaceholder == "Failed" && _attemptsToCollectFullName < 5)
        await Task.Delay(2000);
        _fullnameplaceholder = ADHelpers.GetFullADName();

Then my code is intended to:

  1. Search for the user in the domain
  2. Check 5 times for the user, waiting 2 seconds between each attempt.
  3. Show the ShellView with "Failed" or the full name returned by the domain

Can I get an idea of ​​how I am doing this task? Is this the right way to do this or am I barking the wrong tree?

How to check, if my wordpress blog / website is copyrighted by the material?

Any plugin or tools you know guyz?

How to check in a Google-Sheets to order by month

I am using this Sheetgo support template in Google-Sheets but it is designed for US schools. UU. Therefore, it is necessary to order from January to December. I will provide below the assets that I have in this regard. Can anyone help me with how to consult it? ^^

Source (Google Drive):

Source data (image): G-Sheets

Where I need to edit the query:
Cell H-17 on the Data Preparation Graphics tab

The previous query: = CONSULTATION (& # 39; General description per month & # 39 ;! A: F, "SELECT A, AVG (B) GROUP FOR AN AVG LABEL (B) & # 39; Presence rate & # 39;" , one)

c ++: check if neighbors are active in spatially subdivided voxelization

I have a voxelization that I need to write to a binary STL file. These voxels are within a higher level 3D grid, and each cell in the grid is made up of voxels. Individual cells may or may not have active voxels in them.

I have significantly optimized the file size by not writing triangles for inner faces, faces between active voxels.

However, the method I used is very ugly and I think it could be improved. I am not sure if there is an applicable design pattern or simply a better way to think about it.

  • It's ugly
  • It's repetitive

Anyway, I want to learn something from this code and see how I can do better in the future.

The space between notes can be a bit strange, using the clang format and a limit of 80 characters.

writeVoxelSTL ():

void writeVoxelAsSTL(
    std::ofstream& fileStream,
    unsigned& numTris,
    const unsigned xCell,
    const unsigned yCell,
    const unsigned zCell,
    const unsigned xVoxel,
    const unsigned yVoxel,
    const unsigned zVoxel) const
  // Now need to check if each of its sides need to be written out
  bool left = isNeighborActive(
      xCell, yCell, zCell, static_cast(xVoxel) - 1, yVoxel, zVoxel);
  bool right =
      isNeighborActive(xCell, yCell, zCell, xVoxel + 1, yVoxel, zVoxel);
  bool bottom = isNeighborActive(
      xCell, yCell, zCell, xVoxel, static_cast(yVoxel) - 1, zVoxel);
  bool top = isNeighborActive(xCell, yCell, zCell, xVoxel, yVoxel + 1, zVoxel);
  bool front = isNeighborActive(
      xCell, yCell, zCell, xVoxel, yVoxel, static_cast(zVoxel) - 1);
  bool back = isNeighborActive(xCell, yCell, zCell, xVoxel, yVoxel, zVoxel + 1);

  Point minPoint = highLevelGridMinpoint;

  // Center of the voxel
  Point center;
  center.x = minPoint.x + (((xCell * cellDim.x) + xVoxel) * voxelWidth);
  center.y = minPoint.y + (((yCell * cellDim.y) + yVoxel) * voxelWidth);
  center.z = minPoint.z + (((zCell * cellDim.z) + zVoxel) * voxelWidth);

  // From this center, we can get the 8 corners of the voxel and thus the 12
  // triangles

  // They are defined like this:
  //              7-------6
  //             /|      /|
  //            4-+-----5 |
  //            | |     | |   y
  //            | 3-----+-2   | z
  //            |/      |/    |/
  //            0-------1     +--x

  Point p0(center.x - halfVoxel, center.y - halfVoxel, center.z - halfVoxel);
  Point p1(center.x + halfVoxel, center.y - halfVoxel, center.z - halfVoxel);
  Point p2(center.x + halfVoxel, center.y - halfVoxel, center.z + halfVoxel);
  Point p3(center.x - halfVoxel, center.y - halfVoxel, center.z + halfVoxel);
  Point p4(center.x - halfVoxel, center.y + halfVoxel, center.z - halfVoxel);
  Point p5(center.x + halfVoxel, center.y + halfVoxel, center.z - halfVoxel);
  Point p6(center.x + halfVoxel, center.y + halfVoxel, center.z + halfVoxel);
  Point p7(center.x - halfVoxel, center.y + halfVoxel, center.z + halfVoxel);

  // Now for the 12 triangles made of these points

  // Left side
  if (!left)
      writeTriangleSTL(fileStream, p0, p3, p4);
      writeTriangleSTL(fileStream, p3, p4, p7);
      numTris += 2;

  // Right Side
  if (!right)
      writeTriangleSTL(fileStream, p1, p2, p5);
      writeTriangleSTL(fileStream, p2, p5, p6);
      numTris += 2;

  // Bottom Side
  if (!bottom)
      writeTriangleSTL(fileStream, p0, p1, p2);
      writeTriangleSTL(fileStream, p0, p2, p3);
      numTris += 2;

  // Top Side
  if (!top)
      writeTriangleSTL(fileStream, p4, p5, p6);
      writeTriangleSTL(fileStream, p4, p6, p7);
      numTris += 2;

  // Front side
  if (!front)
      writeTriangleSTL(fileStream, p0, p1, p4);
      writeTriangleSTL(fileStream, p1, p4, p5);
      numTris += 2;

  // Back side
  if (!back)
      writeTriangleSTL(fileStream, p3, p2, p7);
      writeTriangleSTL(fileStream, p2, p7, p6);
      numTris += 2;

isNeighborActive ():

Note: cellDim is the number of voxels in each direction for a cell.
gridDim is the number of cells in each direction.

bool isNeighborActive(
    long xCell, long yCell, long zCell, long xVoxel, long yVoxel, long zVoxel)
  // Get the "real" coordinates
  if (xVoxel < 0)
      xVoxel = cellDim.x - 1;
      if (xCell < 0)
          return false;
  else if (xVoxel > (cellDim.x - 1))
      xVoxel = 0;
      if (xCell > (gridDim.x - 1))
          return false;

  if (yVoxel < 0)
      yVoxel = cellDim.y - 1;
      if (yCell < 0)
          return false;
  else if (yVoxel > (cellDim.y - 1))
      yVoxel = 0;
      if (yCell > (gridDim.y - 1))
          return false;

  if (zVoxel < 0)
      zVoxel = cellDim.z - 1;
      if (zCell < 0)
          return false;
  else if (zVoxel > (cellDim.z - 1))
      zVoxel = 0;
      if (zCell > (gridDim.z - 1))
          return false;

  const cellVoxelization& cell =, yCell, zCell);

  if (cell.getSize() == 0)
      return false;

  bool active =, yVoxel, zVoxel).active;

  return active;

I thought about using some kind of enumeration for the instructions, but that only changes the ugliness to the next method that has a switch, unfortunately.