real solutions for real problems
Welcome to MSDN Blogs Sign in | Join | Help

May 2009 - Posts

Problems when sending reports via email (winmail.dat)

When sending reports per email, recipients are only receiving winmail.dat files : They have two kind of problems. Sometimes the attachement does not reach the customer. When the customer reads the axapta.pdf then the text is not visible all the time.
Posted by EMEAAXTec | 1 Comments

Business Connector error when installing AX2009 Business Connector and Enterprise Portal

Recently I had a problem when I wanted to install a fresh copy of AX2009 on my development server. I have the following config on my development server (1,5 gb ram). Windows Server 2003 R2 SP2 SQL Server 2008 SP1 MOSS 2007 SP1 Every time I got the following

Random clients crashes

Recently I had the problem that random clients crashed in different parts of the application. The following error message was shown: Communication error:The server needs to free resources. Your session has been terminated. In the application event log

Error when executing direct SQL - SqlStatementExecutePermission

Sometimes it happens that you receive an error message if you have tried to execute a native SQL statement. The reason for this is that the request for the permission of type ' SqlStatementExecutePermission ' failed. (S)\Classes\SqlStatementExecutePermission\demand
Posted by EMEAAXTec | 0 Comments
Filed under: , ,

Reporting Server Security

Recently we had a question how to give users access to SSRS and report builder? The problem was an "Access denied" for users not in admin groups. Therefore we had to review the Security settings for Report Services. We found out that Report Builder can

How can you disable copying from using CTRL + C

How can you disable copying from form using CTRL + C or menu (Edit -> Copy)? It's quite easy! On the form you can override copy() method in following way: public boolean copy() { ; WinApi::emptyclipboard(); return true; }
Posted by EMEAAXTec | 4 Comments
Filed under: , ,

How to cast between WebRequest and HttpWebRequest

I was trying to open a website that returns a session cookie from X++ and I wanted to use CLR interop to achieve this. So I needed to know how to use instance of HttpWebResponse class when X++ does not support casting from WebResponse class. Solution

The thing about the .NET Business Connector and the number of online users

When you are creating an application that is using the Dynamics AX 2009 .NET Business Connector to integrate with Dynamics AX 2009, you can see that this one application will result in at least two sessions showing up in the Online users form. Both sessions

Updating Enterprise Portal from Dynamics AX 2009 Client fails on a 64bit Microsoft Windows Server

With Dynamics AX 2009 it is getting more appropriate to have the AOS and .NET Business Connector installed on a 64bit version of Microsoft Windows Server as both components are shipped also as 64bit (x64) versions. The Dynamics AX 2009 Client is however

Installing Microsoft Dynamics AX 2009 Analysis Extensions on a Microsoft SQL Server 2005 Analysis Services Failover Cluster

When you are trying to install the Microsoft Dynamics AX 2009 Analysis Extensions on a Microsoft SQL Server 2005 Analysis Services Failover Cluster you will run into the following error: Connecting to SQL Server 2005 Analysis Services on server 'SQLAS'

File or arguments not valid for site template 'AXSITEDEF#0'

When you are trying to install Dynamics AX 2009 Enterprise Portal and for Dynamics AX you don't have installed all languages the Enterprise Portal setup might fail. In the DynamicsSetup.txt you find the following error: Creating new Enterprise Portal

Installing Dynamics AX 2009 Enterprise Portal on a web site that has Host Headers configured

Recently I came across the situation that the installation of the Dynamics AX 2009 Enterprise Portal failed. The error message in this scenario was: The Web site http://server/sites/Dynamics AX was not created correctly. The remote server returned an

Unable to install Dynamics AX 2009 Reporting Extensions

In the Dynamics AX 2009 Setup when you are trying to install the Dynamics AX 2009 Reporting Extensions for Microsoft SQL Server Reporting Services you might run into the following error message: An error occurred during setup of Reporting extensions.

Could not communicate with Microsoft Office Outlook client

Dynamics AX is integration with Microsoft Office Outlook for sending E-Mails, doing synchronization in the CRM Module, etc. In several occasions you can get confronted with the following or a similar error message: Could not communicate with Microsoft
Posted by EMEAAXTec | 1 Comments

User 'UserName' is not authorized to insert a record in table 'TableName'. Request denied.

Recently I got confronted a lot with the following error message in Dynamics AX 2009: User 'UserName' is not authorized to insert a record in table 'TableName'. Request denied. Cannot create a record in TableLabel (TableName). Access Denied: You do not
Posted by EMEAAXTec | 1 Comments
Filed under: , , ,

SysDevelopmentProxy (object) has no valid runable code in method 'generate'

When installing Enterprise Portal for Dynamics AX 2009 one of the most often reported reasons for a failing installation is the uncompiled SysDevelopmentProxy class. In the DynamicsSetup.txt log file this manifests in the following error message: Error
 
Page view tracker