Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا
Showing posts with label Enterprise Portal & Error. Show all posts
Showing posts with label Enterprise Portal & Error. Show all posts

Sunday, February 16, 2014

Error :An X++ exception has occurred - when running the EP website

Hi,

Microsoft Dynamics AX allows only one Enterprise Portal site per legal entity / company. Check the company you are logged on to does not already have a registered EP site (Administration > Setup > Internet > Enterprise Portal > Web sites).

Regards

Error message: "No .NET Business Connector session found"

Hi,

This error is not meant that to increase the session time out span its because of the user list not having previlage to access.
The .NET Business Connector is not configured correctly for the IIS and SharePoint Windows groups.
For the procedure to add the Business Connector to the appropriate group

Regards,

"The Application Integration Framework doesn't work" in Dynamic AX 2012 for EP

Hi,
 EP will be sucessfully installed but it throw the error.
 "the Application Integration Framework doesn't work"
 Application Integration Framework (AIF) to run on the same computer as Windows SharePoint Services (WSS) and Enterprise Portal, the virtual directory that AIF is using must be excluded from the SharePoint managed path.
  1. Open the SharePoint Central Administration page or, from the browser on a remote computer, type the URL (for example, http://servername:port) for the pages on the administration port.
To open the SharePoint Central Administration page, click Start, point to All Programs, point to Administrative Tools, and then click SharePoint Central Administration.

  1. Click Configure virtual server settings, and then click the name of the site that you are managing.
  2. Under Virtual Server Management, click Define managed paths.
  3. Under Add a New Path, enter the AIF virtual directory path, select Excluded path, and then click OK.
Regards

Error message: "http://server/sites/site_name was not created correctly. Exception: Thread was being aborted."


Hi,
This error occurs because of a connection time-out after you select the Microsoft Dynamics AX template while creating a new top-level Web site in Windows SharePoint Administration. To resolve this problem, follow these procedures:
  • Change the Connection timeout and Http Keep-Alive properties on the server that runs IIS.
  • Change connection time-out properties in the web.config file.
Change the Connection timeout and HTTP Keep-Alive properties on the server that runs IIS
  1. Open the Internet Information Services Manager (Start > Run, type inetmgr, and then press ENTER).
  2. Expand the local computer, expand the Web sites directory, right-click the Web site that hosts your Enterprise Portal site (typically the Default Web site), and then clickProperties.
  3. On the Web Site tab, specify a new value in the Connection timeout field. The default value is 120 seconds.
If for example, the server requires up to 4 minutes to create a new site using EP templates, specify a value of 240 seconds.
  1. Select Enable HTTP Keep-Alives (if it is not selected), and then click OK.
  2. Restart IIS (at a command prompt, enter iisreset, and then press ENTER).
Change connection time-out properties in the web.config file
  1. In a basic text editor such as Notepad, open the web.config file (%SYSTEMDRIVE%\Inetpub\wwwroot by default).
  2. Press CTRL + F to open the Find dialog box.
  3. Find the following tag:
<httpRuntime maxRequestLength="51200" />
  1. Replace it with this tag:
<httpRuntime executionTimeout="6000" maxRequestLength="51200" />
  1. Find the following tag (you might need to search from the beginning of the file):
</sectionGroup>
  1. Add the following tags on new lines after the </sectionGroup> tag:
<sectionGroup name="DynamicsAX">
<section name="Deployment" type="System.Configuration.SingleTagSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</sectionGroup>
  1. Find the following tag:
</SharePoint>
  1. Add the following tags on new lines after the </SharePoint> tag:
<DynamicsAX>
<Deployment SiteCreationTimeOut="1200" />
</DynamicsAX>

  1. Save your changes and close the web.config file.
  2. At the command prompt, type IISReset, and then press ENTER.
  3. Try to create the top-level Web site in SharePoint Portal Administration.

Error message: "The Web site http://server/sites/site_name was not created correctly. Exception: No .NET Business Connector session could be found."

Hi,

This is because of  Business Connector configuration.
So it might not be configured correctly. To verify the configuration, follow this procedure:
  1. On the server that runs IIS and hosts your Enterprise Portal site, click Start > Administrative Tools > Microsoft Dynamics AX Configuration Utility.
  2. In the Configuration target list, click Business Connector (non-interactive use only).
  3. On the Connection tab, verify the server name and the TCP/IP port. If the port is blank, it is assumed to be running on port 2712. To verify the actual port on the AOS server, view Dynamics Information events in the Application Event log after the AOS has started.
  4. If necessary, update the configuration or create a new configuration (click Manage > Create configuration).
regards,

Error message: "Cannot add the specified assembly to the global assembly cache" or "w3wp.exe unhandled exception (System.UnauthorizedAccessException)"

Hi,

The Business Connector proxy account might not have the appropriate permissions on the server to allow access. The Business Connector proxy must:
  • Be a user in Active Directory.
  • Be a member of the Power UsersIIS_WPGSTS_WPG, and the Performance Monitor Windows groups on the server that runs IIS and hosts Enterprise Portal
Create a user with domain in active directory
Also in administrative too you can find above list of members in user in that properties add the member tab Domain / user that you created as business connector proxy

regards

Set the SharePoint authentication provider for EP

Hi,

This is applicable to change for the version of sharepoints used,
'
1.     Ensure that the web.config contains the appropriate configuration information when compared to the web applications settings.
2.     Check the web application settings:
o    Navigate to Central Administration - Application Management - Manage web applications.
o    Select the web application in question
o    Click on the 'Authentication Providers' link from the ribbon
o    Choose the appropriate zone for the web application
o    The dialog box will display the type of membership provider (Windows or Claims-Based Authentication).
o    Record the name of membership provider for the specific zone in the 'Authentication Provider' dialog box.
3.     Locate the web.config file for the web application:
4.     Typically the web.config file is stored at C:\inetpub\wwwroot\wss\VirtualDirectories\Port_Number
5.     Verify the following section in the web.config file
6.  <configuration>
7.      <system.web>
8.        <authentication mode="" />
9.     </system.web>
</configuration>
10.   If the membership provider name is Windows, then authentication mode should be set to "Windows".
11.   If the membership provider is Claims-based authentication, then the authentication mode should be set to "Forms".


Regards,

Sunday, February 9, 2014

Database does not have a valid owner - SQL restore error

Hi,

"Database diagram support object cannot be installed because this database does not have a valid owner".

You may get this error while restoring the database from external source (in *.bak format).

Solution:

Right click on the database properties in the permission tab select grand privilege to all( tick the check box).

now error free for restore.

Regards,

Dimension Lookup for both standard and Custom dimension in D365

Hi,  /// <summary>     /// Provides the look-up interaction for the individual dimension value lookup controls.     /// </summary&g...