Discussion:
Attempted to read or write protected memory Ax 2009 Reporting Proj
(too old to reply)
Cannot edit a record in Batch Job 2009
2008-08-22 12:38:01 UTC
When I Open Ax 2009 Reporting Project Deployment, selct some report libraries
to deploy. I get an error "Attempted to read or write protected memory. This
is often an indication that other memory is corrupt."

In the Event View:
Event Type: Error
Event Source: Microsoft.Dynamics.Framework.BusinessConnector
Event Category: None
Event ID: 1000
Date: 8/22/2008
Time: 2:25:23 PM
Description:
Dynamics Adapter CallStaticClassMethod failed.
Attempted to read or write protected memory. This is often an indication
that other memory is corrupt.
System.AccessViolationException
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)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.


Event Type: Error
Event Source: Dynamics .NET Business Connector 5.0
Event Category: None
Event ID: 110
Date: 8/22/2008
Time: 2:04:56 PM
Description:
Microsoft Dynamics AX Business Connector Session 4.

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)

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

Are there anybody who know to fix the errors?
Thank you in advance
VAN
Gert
2008-09-03 15:05:02 UTC
I got the same problem. Did you already found a solution for this?

thanks
Gert
Post by Cannot edit a record in Batch Job 2009
When I Open Ax 2009 Reporting Project Deployment, selct some report libraries
to deploy. I get an error "Attempted to read or write protected memory. This
is often an indication that other memory is corrupt."
Event Type: Error
Event Source: Microsoft.Dynamics.Framework.BusinessConnector
Event Category: None
Event ID: 1000
Date: 8/22/2008
Time: 2:25:23 PM
Dynamics Adapter CallStaticClassMethod failed.
Attempted to read or write protected memory. This is often an indication
that other memory is corrupt.
System.AccessViolationException
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)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Event Type: Error
Event Source: Dynamics .NET Business Connector 5.0
Event Category: None
Event ID: 110
Date: 8/22/2008
Time: 2:04:56 PM
Microsoft Dynamics AX Business Connector Session 4.
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)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Are there anybody who know to fix the errors?
Thank you in advance
VAN
Cannot edit a record in Batch Job 2009
2008-09-05 11:23:02 UTC
No, Sir.
Have a nice day
VAN
Post by Gert
I got the same problem. Did you already found a solution for this?
thanks
Gert
Post by Cannot edit a record in Batch Job 2009
When I Open Ax 2009 Reporting Project Deployment, selct some report libraries
to deploy. I get an error "Attempted to read or write protected memory. This
is often an indication that other memory is corrupt."
Event Type: Error
Event Source: Microsoft.Dynamics.Framework.BusinessConnector
Event Category: None
Event ID: 1000
Date: 8/22/2008
Time: 2:25:23 PM
Dynamics Adapter CallStaticClassMethod failed.
Attempted to read or write protected memory. This is often an indication
that other memory is corrupt.
System.AccessViolationException
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)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Event Type: Error
Event Source: Dynamics .NET Business Connector 5.0
Event Category: None
Event ID: 110
Date: 8/22/2008
Time: 2:04:56 PM
Microsoft Dynamics AX Business Connector Session 4.
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)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Are there anybody who know to fix the errors?
Thank you in advance
VAN
HNC
2008-09-09 21:03:06 UTC
I have Microsoft Delux services looking at this same problem:

So far.....

The error message you are getting could be the result of a few different
things.

1) The version of Msmgdsrv.dll is not compatible with your SQL Server
install. This is a known issue with SRS and is typically seen if you install
Microsoft Office 2007 after an install of SQL Server on a machine.
ReportingServicesService.exe file?
2) If you have both Dynamics AX 4 and 2009 installed on the same machine
check your path variables and make sure your Dynamics AX 2009 path is listed
first. If you are not sure how to do that an easy way to make sure this
isn't the issue is to launch the Dynamics AX 2009 configuration utility and
go to the developer tab and then in the troubleshooting section click on
repair client.
Post by Cannot edit a record in Batch Job 2009
When I Open Ax 2009 Reporting Project Deployment, selct some report libraries
to deploy. I get an error "Attempted to read or write protected memory. This
is often an indication that other memory is corrupt."
Event Type: Error
Event Source: Microsoft.Dynamics.Framework.BusinessConnector
Event Category: None
Event ID: 1000
Date: 8/22/2008
Time: 2:25:23 PM
Dynamics Adapter CallStaticClassMethod failed.
Attempted to read or write protected memory. This is often an indication
that other memory is corrupt.
System.AccessViolationException
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)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Event Type: Error
Event Source: Dynamics .NET Business Connector 5.0
Event Category: None
Event ID: 110
Date: 8/22/2008
Time: 2:04:56 PM
Microsoft Dynamics AX Business Connector Session 4.
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)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Are there anybody who know to fix the errors?
Thank you in advance
VAN
doninep
2008-09-12 20:19:01 UTC
We have the same problem. No conflicting version of msmgdsrv.dll and MS
Office is not installed.

Don
Post by HNC
So far.....
The error message you are getting could be the result of a few different
things.
1) The version of Msmgdsrv.dll is not compatible with your SQL Server
install. This is a known issue with SRS and is typically seen if you install
Microsoft Office 2007 after an install of SQL Server on a machine.
ReportingServicesService.exe file?
2) If you have both Dynamics AX 4 and 2009 installed on the same machine
check your path variables and make sure your Dynamics AX 2009 path is listed
first. If you are not sure how to do that an easy way to make sure this
isn't the issue is to launch the Dynamics AX 2009 configuration utility and
go to the developer tab and then in the troubleshooting section click on
repair client.
Post by Cannot edit a record in Batch Job 2009
When I Open Ax 2009 Reporting Project Deployment, selct some report libraries
to deploy. I get an error "Attempted to read or write protected memory. This
is often an indication that other memory is corrupt."
Event Type: Error
Event Source: Microsoft.Dynamics.Framework.BusinessConnector
Event Category: None
Event ID: 1000
Date: 8/22/2008
Time: 2:25:23 PM
Dynamics Adapter CallStaticClassMethod failed.
Attempted to read or write protected memory. This is often an indication
that other memory is corrupt.
System.AccessViolationException
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)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Event Type: Error
Event Source: Dynamics .NET Business Connector 5.0
Event Category: None
Event ID: 110
Date: 8/22/2008
Time: 2:04:56 PM
Microsoft Dynamics AX Business Connector Session 4.
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)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Are there anybody who know to fix the errors?
Thank you in advance
VAN
Ryno
2009-01-15 13:22:03 UTC
Try copying AxReports.exe to your client\bin directory and run it from there.
Fixed my problem.



Database (slave) 0.008985 s
44.2813 kB
Benchmark Min Max Average Total
SELECT `lang` FROM `newsgroup` WHERE `newsgroup_url` = 'microsoft.public.axapta' (4)
0.000145 s
0.000449 s
0.000279 s
0.001116 s
2.2344 kB
2.3672 kB
2.2676 kB
9.0703 kB
SELECT `code`, `name` FROM `lang` WHERE `code` = 'en' (3)
0.000133 s
0.000235 s
0.000169 s
0.000508 s
2.4141 kB
2.4141 kB
2.4141 kB
7.2422 kB
SELECT * FROM `lang` WHERE `code` = 'en' (1)
0.000250 s
0.000250 s
0.000250 s
0.000250 s
12.5313 kB
12.5313 kB
12.5313 kB
12.5313 kB
SELECT * FROM `thread` WHERE `hash` = '4PW0luOT' (1)
0.003029 s
0.003029 s
0.003029 s
0.003029 s
4.2500 kB
4.2500 kB
4.2500 kB
4.2500 kB
SELECT * FROM `newsgroup` WHERE `newsgroup_id` = '83420' (1)
0.000444 s
0.000444 s
0.000444 s
0.000444 s
5.8047 kB
5.8047 kB
5.8047 kB
5.8047 kB
SELECT * FROM `temp_simthread` WHERE `hash` = '4PW0luOT' (1)
0.000555 s
0.000555 s
0.000555 s
0.000555 s
2.6953 kB
2.6953 kB
2.6953 kB
2.6953 kB
SELECT text_res, img_res, manual FROM porndetect WHERE hash = '4PW0luOT' AND page = 1 (1)
0.003083 s
0.003083 s
0.003083 s
0.003083 s
2.6875 kB
2.6875 kB
2.6875 kB
2.6875 kB
Kohana 0.009961 s
51.0078 kB
Benchmark Min Max Average Total
find_file (77)
0.000006 s
0.000566 s
0.000129 s
0.009961 s
0.5234 kB
2.1563 kB
0.6624 kB
51.0078 kB
Requests 0.108040 s
480.4141 kB
Benchmark Min Max Average Total
"4PW0luOT/attempted-to-read-or-write-protected-memory-ax-2009-reporting-proj" (1)
0.110008 s
0.110008 s
0.110008 s
0.110008 s
508.4297 kB
508.4297 kB
508.4297 kB
508.4297 kB
Thread controller 0.001218 s
27.7188 kB
Benchmark Min Max Average Total
Init (1)
0.001218 s
0.001218 s
0.001218 s
0.001218 s
27.7188 kB
27.7188 kB
27.7188 kB
27.7188 kB
Thread parsing 0.082808 s
114.7734 kB
Benchmark Min Max Average Total
Other (2)
0.017222 s
0.029222 s
0.023222 s
0.046444 s
22.3984 kB
30.2656 kB
26.3320 kB
52.6641 kB
PHP Post Parsing (1)
0.004590 s
0.004590 s
0.004590 s
0.004590 s
38.1563 kB
38.1563 kB
38.1563 kB
38.1563 kB
C++ Post Parsing (1)
0.031490 s
0.031490 s
0.031490 s
0.031490 s
16.1172 kB
16.1172 kB
16.1172 kB
16.1172 kB
Three (1)
0.000284 s
0.000284 s
0.000284 s
0.000284 s
7.8359 kB
7.8359 kB
7.8359 kB
7.8359 kB
Load & uncompress 0.017137 s
20.0078 kB
Benchmark Min Max Average Total
load_thread (1)
0.017137 s
0.017137 s
0.017137 s
0.017137 s
20.0078 kB
20.0078 kB
20.0078 kB
20.0078 kB
Application Execution (507) 0.020666 s 33.418700 s 0.198011 s 0.132088 s
749.6172 kB 4,534.3750 kB 1,358.4398 kB 1,129.7813 kB