Category Archives: Error

An error is reported when a dynamics CRM user is automatically added to the team after creation. The error message is: generic SQL error

When implementing a requirement: users are automatically added to a team called “service team” after creation, they encounter a strange error. The error log of CRM is only a simple “generic SQL error.”.

 

Example code:

//Join the specified team
systemservice. Association (“systemuser”, systemuserid, new relationship (“team membership_association”), relatedentities);

Solution: change the plug-in to asynchronous execution.

 

reason:

Because there are already records about this user and this team in dbo.systemuserprinciples, but this user is clearly new and should not appear in this table. Therefore, you can’t understand the specific reason for the error through the prompt, so you search this as a keyword, Finally, we found the same situation encountered by some people in foreign communities. It is recommended that the reason for this error should be that the system did not complete the creation operation when the systemuser’s postlocation event was triggered. We only need to change the original plug-in to asynchronous execution.

 

new_ sapinvoiceno

Mac uses graphviz package to report error failed to execute posixpath (‘dot ‘)

When using lightgbm for visualization, the graphviz package is used. The following problems are encountered when installing the graphviz package.

Error Description:

ExecutableNotFound: failed to execute PosixPath('dot'), make sure the Graphviz executables are on your systems' PATH

 

Error cause analysis:

At first, it was thought that the reason was that the graphviz module was not installed, so PIP install graphviz was used   Later, it was found that it still couldn’t be reinstalled after uninstalling with PIP uninstall graphviz
finally, it was found that the graphviz program needs to be installed first
to explain, after installing graphviz with PIP install graphviz, only the python calling interface of graphviz is installed. If you use graphviz, you also need to download the installation file of graphviz.

 

Solution:

You can install the graphviz package on the MAC using the following command

sudo port install graphviz

————————————————
reference:

https://blog.csdn.net/qq_32731311/article/details/115578820

https://graphviz.org/download/#mac

*

How to Solve Let’s Encrypt certificate wget Error

Recently found a strange problem with website use   The free certificate of let’s encrypt is normal when the browser accesses, but an error is reported when WGet. The error information is as follows:

wget https://www.example.com

--2021-11-16 13:00:42--  https://www.example.com/
Resolving www.example.com (www.example.com)... 47.91.21.201
Connecting to www.example.com (www.example.com)|47.21.17.201|:443... connected.
ERROR: cannot verify www.example.com's certificate, issued by ‘/C=US/O=Let's Encrypt/CN=R3’:
  Issued certificate has expired.
To connect to www.example.com insecurely, use `--no-check-certificate'.

After a wave of online search, I didn’t find any effective solutions. The two methods are effective.

1. Install software

yum install -y ca-certificates

2. Replacement of issuing authority

Because I use the certificate issued by acme.sh, I use zerossl server by default when issuing the certificate, and I specify it specifically   Let’s encrypt directory server, so just remove the specified server here. Use zereossl as the issuing authority.

[Solved] A fatal error has been detected by the Java Runtime Environment:

Regarding the error A fatal error has been detected by the Java Runtime Environment:

1. Overview of error reporting

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000, pid=2608, tid=0x00002504
#
# JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)
# Java VM: Java HotSpot(TM) Client VM (25.131-b11 mixed mode windows-x86 )
# Problematic frame:
# C  0x00000000
#
# Core dump written. Default location: C:\Users\Administrator\Desktop\aerotop-led-project\hs_err_pid2608.mdmp
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Today, when running the Java program, I reported an error as shown above, and then check the log. Through query on Baidu, I gave several solutions that can not completely solve the error, but still report an error. When looking down at the log, I found the usage of JVM heap memory and meta space, as shown below:

Heap:
 def new generation   total 44672K, used 13804K [0x05000000, 0x08070000, 0x0a550000)
  eden space 39744K,  30% used [0x05000000, 0x05bab018, 0x076d0000)
  from space 4928K,  37% used [0x07ba0000, 0x07d70208, 0x08070000)
  to   space 4928K,   0% used [0x076d0000, 0x076d0000, 0x07ba0000)
 tenured generation   total 98972K, used 59381K [0x0a550000, 0x105f7000, 0x15000000)
   the space 98972K,  59% used [0x0a550000, 0x0df4d4f0, 0x0df4d600, 0x105f7000)
 Metaspace       used 63522K, capacity 65876K, committed 66048K, reserved 66944K

Although no oom error is reported, there is still a fluke to change the size of heap memory and meta space, but an error is still reported.

2. Solution:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000, pid=2608, tid=0x00002504
#
# JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)
# Java VM: Java HotSpot(TM) Client VM (25.131-b11 mixed mode windows-x86 )
# Problematic frame:
# C  0x00000000
#
# Core dump written. Default location: C:\Users\Administrator\Desktop\aerotop-led-project\hs_err_pid2608.mdmp
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

In the initial log message, a keyword problem frame is found: the file name is displayed below, so it is located in the file. It is found that it is caused by the method used to process multiple scheduled tasks at the same time, resulting in an error. After modifying the program, solve the problem.

[Solved] ARM/developmentstudio-2020.1 Error: Error: C9511E: Unable to determine the current toolkit. Check that ARM_TOOL_VARIANT is set correctly.

ds2020 reports an error after installing the license, the error is as follows

Error: C9511E: Unable to determine the current toolkit. Check that ARM_TOOL_VARIANT is set correctly.
ARM Compiler could not determine the product installation it is part of. You might be able to resolve this by reinstalling the tools, or ensuring that ARM_TOOL_VARIANT and ARM_PRODUCT_PATH are set appropriately.
Information about this error is available at: http://ds.arm.com/support/lic86
General licensing information is available at: http://ds.arm.com/support/licensing/
If you need further help, provide this complete error report to your supplier or [email protected].

Solution:

Modify environment variables
Revise
setenv ARM_TOOL_VARIANT ult
for
setenv ARM_TOOL_VARIANT gold
Test after reload
problem solved

[Solved] sphelper.h Compile Error: error C4430/C2065/C2440/C2664

SAPI includes sphelper.h compilation error solutions. When using Microsoft Speech SDK 5.1 to develop speech recognition programs, the header file “sphelper.h” and the library file “sapi.lib” are included.
Error when compiling:

1>c:/program files/microsoft speech sdk 5.1/include/sphelper.h(769) :
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:/program files/microsoft speech sdk 5.1/include/sphelper.h(1419) :
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:/program files/microsoft speech sdk 5.1/include/sphelper.h(2373) :
error C2065: 'psz' : undeclared identifier 1>c:/program files/microsoft speech sdk 5.1/include/sphelper.h(2559) :
error C2440: 'initializing' : cannot convert from 'CSpDynamicString' to 'SPPHONEID *' 1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called 1>c:/program files/microsoft speech sdk 5.1/include/sphelper.h(2633) :
error C2664: 'wcslen' : cannot convert parameter 1 from 'SPPHONEID *' to 'const wchar_t *' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Line 769 const ulLenVendorPreferred = wcslen(pszVendorPreferred);

   Modify to:          const unsigned long ulLenVendorPreferred = wcslen(pszVendorPreferred);

Line 1418 static CoMemCopyWFEX(const WAVEFORMATEX * pSrc, WAVEFORMATEX ** ppCoMemWFEX)

   Modify to:         static HRESULT CoMemCopyWFEX(const WAVEFORMATEX * pSrc, WAVEFORMATEX ** ppCoMemWFEX)

Line 2372 for (const WCHAR * psz = (const WCHAR *)lParam; *psz; psz++) {}

    Modify to:         const WCHAR * psz; for (psz = (const WCHAR *)lParam; *psz; psz++) {}

Line 2559 SPPHONEID* pphoneId = dsPhoneId;

 Modify to:            SPPHONEID* pphoneId = (SPPHONEID*)((WCHAR *)dsPhoneId);

Line 2633 pphoneId += wcslen(pphoneId) + 1;

 Modify to:            pphoneId += wcslen((const wchar_t *)pphoneId) + 1;

[Solved] loadrunner11 Run 10000 concurrency Error: The load generator is currently running the maximum number of Vusers of this type

[problem phenomenon]

1. When I was using LoadRunner 11 to pressure test the scene, I set the number of start vusers to 10000. But the actual operation is about 5000, and the latter are basically abnormal. Prompt error… The load generator is currently running the maximum number of vusers of this type.

As shown in the figure:

To view vusers error details:

Error… The load generator is currently running the maximum number of Vusers of this type.

This means the maximum number of vusers of this type that the load generator is currently running

[solution]

a. Found in the menu bar   Load generators, select the pressure measuring machine to be set in the open window and click Details.

b. Find Vuser limits, increase the value of other vusers to 10000, and then click OK in the upper right corner to save: