Here's the response provided in "SSRS and SSAS Integration for
Microsoft Dynamics AX 2009", available here
<https://mbs.microsoft.com/Cms/Templates/document/General.aspx?NRMODE=Pu\
blished&NRNODEGUID={75AD05D7-40A6-413F-9199-BE50B4808BA4}&NRORIGINALURL=\
/partnersource/deployment/documentation/howtoarticles/ax2009_ssrs_ssas_i\
ntegration.htm?printpage=false&NRCACHEHINT=Guest&printpage=false&wa=wsig\
nin1.0>

Issue:

  Report deployment tool Crashes

Attempted to read or write protected memory.  This is often an
indication that the memory is corrupt



Solution:

  If multiple versions of Dynamics AX are installed on the same server
you will need to change your AX 2009 Path in your environment variables
ahead of your AX 4.0 path to avoid running the wrong version of
DLL's



Hope this helps



Hans
--- In Axapta-Knowledge-Village@yahoogroups.com, Sumit Loya
<loya.su...@...> wrote:
>
> Hi,
>
> What error are u encountering..
>
> Is it something like 'File AL.exe not found'..
>
> If that is the case u have two options...
>
> 1. Install Visual Studio 2008 (Not an option in client environment).
> 2. Install Windows Server 2008 SDK and Visual Studio 2008 Shell BEFORE
> installing the .Net business connector.
>
> If u r facing some other problem please let me know...
>
> Regards,
> Sumit
>
> On Wed, Feb 4, 2009 at 11:39 AM, supi_9 sup...@... wrote:
>
> > Hi,
> >
> > I tried the same, but it didnt work. Is there any other solution?
> >
> > Thanks n regards,
> > Supriya
> >
> > --- In
Axapta-Knowledge-Village@yahoogroups.com<Axapta-Knowledge-Village%40yaho\
ogroups.com>,
> > Sumit Loya
> > loya.sumit@ wrote:
> > >
> > > Hi,
> > >
> > > Well i Guess i found the solution
> > >
> > > This is what i did.
> > >
> > > I copied AxReports.exe from Reporting Services folder to
client\bin
> > > directory and run it from there.
> > > Fixed my problem.
> > >
> > > The deployment has started. Hope it succeeds..:)
> > >
> > > Regards,
> > > Sumit
> > >
> > > On Fri, Jan 16, 2009 at 3:08 PM, Sumit Loya loya.sumit@ wrote:
> > >
> > > > Hi All,
> > > >
> > > > I have installed the reporting extensions and am now trying to
> > deploy the
> > > > report libraries. But i get following error while doing so
> > > >
> > > > "*Attempted to read or write protected memory. This is often an
> > indication
> > > > that other memory is corrupt.*
> > > > *The Deployment log can be found at "D:\Documents and
> > Settings\Sumit\Local
> > > > Settings\Temp\tmpAA.txt*"
> > > >
> > > > I checked the log file and here are the contents:
> > > >
> > > > Error: Attempted to read or write protected memory. This is
often
> > an
> > > > indication that other memory is corrupt.
> > > > System.InvalidOperationException: Attempted to read or write
> > protected
> > > > memory. This is often an indication that other memory is
> > corrupt. --->
> > > > System.AccessViolationException: Attempted to read or write
> > protected
> > > > memory. This is often an indication that other memory is
corrupt.
> > > > at AxCore_CallStatic(Char* , Char* , tagVARIANT* , Int32 ,
> > tagVARIANT* )
> > > > at
> > > >
> > Microsoft.Dynamics.BusinessConnectorNet.Axapta.CallStaticClassMethod
> > (String
> > > > className, String methodName, Object[] paramList)
> > > > at
> > > >
> > Microsoft.Dynamics.BusinessConnectorNet.Axapta.CallStaticClassMethod
> > (String
> > > > className, String methodName, Object param1, Object param2,
> > Object param3)
> > > > at
> > > >
> >
Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsAdapter
> > .CallStaticClassMethod(String
> > > > className, String methodName, Object param1, Object param2,
> > Object param3)
> > > > --- End of inner exception stack trace ---
> > > > at
> > > >
> >
Microsoft.Dynamics.Framework.Design.Reports.DynamicsReportsDesignTimeS
> > ession.OnHandleException(String
> > > > message, Exception exception)
> > > > at
> > > >
> >
Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession
> > .HandleException(String
> > > > message, Exception exception, HandleExceptionCallback callback)
> > > > at
> > > >
> >
Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsBase.Ha
> > ndleExceptionInternal(String
> > > > message, Exception e)
> > > > at
> > > >
> >
Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsAdapter
> > .CallStaticClassMethod(String
> > > > className, String methodName, Object param1, Object param2,
> > Object param3)
> > > > at
> > > >
> >
Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsAdapter
> >
.Microsoft.Dynamics.Framework.BusinessConnector.Adapter.IAxaptaAdapter
> > .CallStaticClassMethod(String
> > > > className, String methodName, Object param1, Object param2,
> > Object param3)
> > > > at
> > > >
> >
Microsoft.Dynamics.Framework.BusinessConnector.Proxy.SysResource.saveT
> > oTempFile(IAxaptaAdapter
> > > > axaptaAdapter, resourceNode resNode, Boolean overwriteIfExists,
> > String
> > > > tempFileName)
> > > > at
> > > >
> >
Microsoft.Dynamics.Framework.Deployment.Reports.AodOperations.SaveArch
> > iveToTempFile(ReportLibraryNode
> > > > node)
> > > > at
> > > >
> >
Microsoft.Dynamics.Framework.Deployment.Reports.AodOperations.<ExportE
> > xistingProjects>b__6(ReportLibraryNode
> > > > node)
> > > > at System.Linq.Enumerable.<SelectIterator>d__d`2.MoveNext()
> > > > at
> > > >
> >
Microsoft.Dynamics.Framework.Deployment.Reports.ExportOperations.Unpac
> > kageProjects(String
> > > > baseDirectory, IEnumerable`1 libraryAndPackagePaths)
> > > > at
> > > >
> >
Microsoft.Dynamics.Framework.Deployment.Reports.AodOperations.ExportEx
> > istingProjects(IEnumerable`1
> > > > projectNames, String solutionDirectory)
> > > > at
> > > >
> >
Microsoft.Dynamics.Framework.ReportsDeployment.DeploymentForm.<>c__Dis
> > playClassc.<BeginBuildAndDeployment>b__7(Object
> > > > , DoWorkEventArgs )
> > > > at
> > > >
> >
Microsoft.Dynamics.Framework.ReportsDeployment.DeploymentForm.backgrou
> > ndWorker_DoWork(Object
> > > > sender, DoWorkEventArgs e)
> > > > at System.ComponentModel.BackgroundWorker.OnDoWork
> > (DoWorkEventArgs e)
> > > > at System.ComponentModel.BackgroundWorker.WorkerThreadStart
> > (Object
> > > > argument)
> > > > The deployment log file can be found at "D:\Documents and
> > > > Settings\Administrator\Local Settings\Temp\tmpAA.txt"
> > > > I am facing this error in many systems whereever we have tried
to
> > deploy
> > > > the report libraries.
> > > >
> > > > Am i missing any rights or something?
> > > >
> > > > Regards,
> > > > Sumit
> > > >
> > >
> >
> >
> >
>

Reply via email to