Saturday 25 November 2017

Compilation error in SysReportLibraryExport class in Ax 2009

Recently I have move GST Update 1 in live server and while compile the application I found that there was a compilation issue in the Class declaration of SysReportLibraryExport class but it seems to be fine with other environments.





I found that this issue is particular client based not on server. I done some R&D like…
1. I compiled this class on server  and it compiled fine. syntax error is gone and there are no more issues in it even though i have opened it on the application
2. Then I complied the same class on Client desktop, here its shows the error
      Compilation error in SysReportLibraryExport class
3. I again compile this class on another client on which reporting extension is installed 
(Reporting Extension require a SQL BD server for client), and it compiled fine here.


So the conclusion is  that this error will show stopper for your application, you can use you environment.

Reference : https://community.dynamics.com/ax/b/axaptavsme/archive/2013/04/23/compilation-error-in-sysreportlibraryexport-class

Monday 13 November 2017

"A network-related or instance-specific error occurred during Ax installation"

Lansweeper data, reports and settings are stored in a database, which is hosted in either SQL Compact or SQL Server. If you install Lansweeper under SQL Server, by performing an Advanced Install, and the connection to your SQL Server installation is lost at some point, you may encounter errors like the ones below.
The errors below indicate that Lansweeper is unable to locate the SQL Server instance hosting your Lansweeper database. It's important to note that this does not point to database corruption or an issue with the database itself. Though there are many possible causes for a loss of SQL connectivity, below are some troubleshooting steps you can try to resolve the issue. Some of these steps must be performed within SQL Server Management Studio. If SQL Server Management Studio was not installed along with your SQL Server instance, we recommend downloading it online. (You will need to perform a search for the Management Studio that’s compatible with your particular edition and version of SQL Server.)

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.

Sqlcmd: Error: Microsoft SQL Native Client: An error has occurred while establishing a connection to  the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.

Do the following:

Stop the Lansweeper Server service in Windows Services



Stop your web server service in Windows Services. Your web server service is either World Wide Web Publishing Service (IIS) or IIS Express.


Make sure the SQL Server and SQL Server Browser services are running at all times on the server hosting your SQL instance




- Right-click one of the services in Windows Services.
- Select the Properties menu item.
- Set the service's startup type to Automatic in the resulting popup and hit OK.
- Right-click the service and select Start, if the service is not already started.



Compilation error in SysReportLibraryExport class in Ax 2009

Recently I have move GST Update 1 in live server and while compile the application I found that there was a compilation issue in the Class...