Client crashes at startup in Dynamics AX 2012 R2 - axapta

I just change the datasource of my form, when I tried to save the form the client crashed.
Ever since the client crashed every time i tried to start it up
Does anyone else have this problem? Or does anyone have an explanation or solution?
Error log:
Name of the corrupted application: Ax32.exe, version: 6.3.6000.10707, timestamp: 0x5fd6ef55
Name of the corrupted module: Ax32.exe, version: 6.3.6000.10707, timestamp: 0x5fd6ef55
Exception Code: 0xc00000fd
Error offset: 0x0001dbe0
ID of the faulty process: 0x4a1c
Start time of the faulty application: 0x01d7f183a25b6a92
Path of the faulty application: C:\Program Files (x86)\Microsoft Dynamics
AX\60\Client\Bin\Ax32.exe
Path of the corrupted module: C:\Program Files (x86)\Microsoft Dynamics
AX\60\Client\Bin\Ax32.exe
Berichtskennung: dfd93a82-3ef5-43f0-92a3-e893babff96e
Full name of the corrupted package:
Application ID relative to the corrupted package:

With the client closed, go to C:\Users\username\AppData\Local (aka %localappdata%), and delete all of the *.auc and *.kti files. Then go to C:\Users\username\AppData\Local\Microsoft\Dynamics Ax and delete everything in that folder.
Then try and reopen the AX client. If that doesn't work, try another AX client on a different machine. If that does work, then reinstall your AX client. If that doesn't work, you have another issue.

Related

ALINK : error AL1019: Metadata failure while creating assembly -- The file or directory is corrupted and unreadable

I have an asp.net webform project that build on system1 but not on system2 (they both are windows 10 and visual studio 2022 Version 17.4.3) and when I build visual studio show an error in error list window :
"Severity Code Description Project File Line Suppression State
Error Metadata failure while creating assembly -- The file or directory is corrupted and unreadable. Modabber D:\BehsamanCode\Modabber\Modabber.Web\ALINK"
Also it shows this error in the output window :
"ALINK : error AL1019: Metadata failure while creating assembly -- The file or directory is corrupted and unreadable"
I searched these errors and I enabled long path on windows10 and uncheck Sign the assembly but not work.
What should we do?
I don't know how but it resolved. I think system2 hard drive has a problem and after win10 repair it itself then restart windows the problem gone and project builded.

Azerothcore worldserver won't start win10

Worldserver crash after :
AC>worldserver process priority class set to HIGH
Starting up Auction House Listing thread...
Max allowed socket connections 1024
Calendar deletion of old events.
Guild Daily Cap reset.
AzerothCore rev. fcaf91b8b2af 2020-07-30 12:35:45 +0200 (master branch) (Win64, Debug) (worldserverdaemon) ready...
Calendar deletion of old events.
C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\xtree(182) : Assertion failed: cannot dereference end map/set iterator
same problem in Visual studio 15/16 only different row xtree(222)/xtree(182) enter image description here
I had the same problem and managed to solve it by reconfiguring CMake CMAKE_AR from
C:/Program Files (x86)/Microsoft Visual
Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/**Hostx84**/x64/lib.exe
to
C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/**Hostx64**/x64/lib.exe
I then recompiled and everything worked like a charm. Hope this can help you.

BTDF error when targeting BounceAllBizTalkHosts (multi-server deployment)

I´m using BTDF v5.7 to deploy a BizTalk solution to BizTalk Server 2016. When deploying to our DEV environment (only one server) all goes well, but when we try to deploy to INT (two servers) it breaks on the second server (the one which have the "last server" flag set to true).
Checking logs I found this:
Target BounceAllBizTalkHosts:
Host list (BizTalkHosts ItemGroup) not customized.
Host instance ClusterdHost has cluster type Clustered.
Querying localhost to request active cluster node...
C:\Program Files (x86)\...\BizTalkDeploymentFramework.targets(1234,5): error : Invalid namespace
C:\Program Files (x86)\...\BizTalkDeploymentFramework.targets(1234,5): error : at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
C:\Program Files (x86)\...\BizTalkDeploymentFramework.targets(1234,5): error : at System.Management.ManagementScope.InitializeGuts(Object o)
C:\Program Files (x86)\...\BizTalkDeploymentFramework.targets(1234,5): error : at System.Management.ManagementScope.Initialize()
C:\Program Files (x86)\...\BizTalkDeploymentFramework.targets(1234,5): error : at System.Management.ManagementObjectSearcher.Initialize()
C:\Program Files (x86)\...\BizTalkDeploymentFramework.targets(1234,5): error : at System.Management.ManagementObjectSearcher.Get()
C:\Program Files (x86)\...\BizTalkDeploymentFramework.targets(1234,5): error : at DeploymentFramework.BuildTasks.ControlBizTalkHostInstance.GetActiveClusterNodeName()
C:\Program Files (x86)\...\BizTalkDeploymentFramework.targets(1234,5): error : at DeploymentFramework.BuildTasks.ControlBizTalkHostInstance.ControlHostInstances(String query)
C:\Program Files (x86)\...\BizTalkDeploymentFramework.targets(1234,5): error : at DeploymentFramework.BuildTasks.ControlBizTalkHostInstance.Execute()
Done building target "BounceAllBizTalkHosts" in project "Deployment.btdfproj" -- FAILED.
I did a small research on the BTDF sources and it seems that GetActiveClusterNodeName() method is trying to access to the MSCluster namespace through WMI. Apparently it breaks because it`s not able to find it (it makes sense since servers are not configured as a MS FailOver Cluster).
Any idea about why BTDF is detecting this node as a clustered one?
PS: If we force servers to not restart, adding:
<TargetName="BounceBizTalk"DependsOnTargets="SetWinVer"/>
to .btdfprj, the issue doesn't happen. But we need to do a restart after deployment to apply changes :(

Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))

This was a Visual Studio 2010 application converted to Visual Studio 2013.
The code is Working fine on Local Machine.
The same code is giving error on Server where Visual Studio 2013 is installed:
Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))
There is an error in loading some specific plugin, whether the plugin required some settings in your config file or not. Check windows event log.
Try to run the following command from a DOS prompt:
marshal.exe /RegServer
You need to have machine-administrator privileges to run this command-line.
It is most likely that in the original application you had a line that looked like this :
EnvDTE80.DTE2 dte2 = (EnvDTE80.DTE2)System.Runtime.InteropServices.Marshal.
GetActiveObject("VisualStudio.DTE.10.0");
This line would have given you the DTE (or DTE2) object representing your visual studio IDE, but the use of
"VisualStudio.DTE.10.0"
gets only the instance of VS2010 and what you need is actually the 2013 version which will be:
"VisualStudio.DTE.12.0"
You can learn more here:
How to: Get References to the DTE and DTE2 Objects

ASP.NET 5 Error: the verb must be specified by using the -verb argument. Error count=1

I am pretty new to the .net and I had this error while trying to publish my website to file system.
Error: A '-dest' argument must be specified with the 'sync' verb. This error is shown when I try to publish in the default detination
Copying to output path C:\Users\Iulica'sPc\AppData\Local\Temp\PublishTemp\GpsTracking103
Multiple commands defined. Defaulting to web.
Using command 'web' as the entry point for web.config.
Time elapsed 00:02:45.9471627
Publishing with publish method [FileSystem]
Publishing files to C:\Users\Iulica'sPc\Documents\Visual Studio 2015\Projects\GpsTracking\artifacts\bin\GpsTracking\Release\PublishOutput
Executing command ["C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy.exe" -source:contentPath='C:\Users\Iulica'sPc\AppData\Local\Temp\PublishTemp\GpsTracking103\' -dest:contentPath='C:\Users\Iulica'sPc\Documents\Visual Studio 2015\Projects\GpsTracking\artifacts\bin\GpsTracking\Release\PublishOutput' -verb:sync -enableRule:DoNotDeleteRule -retryAttempts:2 -disablerule:BackupRule]
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.DNX.Publishing.targets(386,5): Error : Error: A '-dest' argument must be specified with the 'sync' verb.
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.DNX.Publishing.targets(386,5): Error : Error count: 1.
I have searched for hours for an answer but nothing solved my problem.
Please help!
I think it's because there is an ' in your path name (or your username actually):
["C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy.exe" -source:contentPath='C:\Users\Iulica'sPc\AppData\Local\Temp\PublishTemp\GpsTracking103\' -dest:contentPath='C:\Users\Iulica'sPc\Documents\Visual Studio 2015\Projects\GpsTracking\artifacts\bin\GpsTracking\Release\PublishOutput' -verb:sync -enableRule:DoNotDeleteRule -retryAttempts:2 -disablerule:BackupRule]
Try deploying to a different folder like c:\projects\ ad also the source path could be the issue.
Check the Important things to remember here: https://technet.microsoft.com/en-us/library/dd569005(v=ws.10).aspx
In order for the sync operation to function correctly, the Msdeploy.exe.configsettings file must be the same on the source and destination computers. If you add any rules or custom providers to the Msdeploy.exe.configsettings file, make sure that this configuration file is identical on the source and the destination computers before you perform a synchronization.

Resources