SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

 This error is caused because an installation of the Office 2007 overwrites two particular files that are used by SSAS 2005:

- msmdlocal.dll

- msmgdsrv.dll

 Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.' 

 So the solution is to copy this two files from:

 %programfiles%\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\

to:

%programfiles%\Common Files\System\Ole DB\
 

http://frustrated-developer.blogspot.com/2007/02/application-exception-unexpected-error.html

 

Published Wednesday, February 06, 2008 5:56 PM by Javier.Villarreal
Filed under: ,

Comments

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Tuesday, April 08, 2008 5:22 PM by Raghu

That was pretty awesome.......

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Wednesday, April 23, 2008 5:23 AM by Chandrakant

very helpfull (but found it late after changing the box)

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Thursday, September 11, 2008 8:50 PM by scottieb

Right on the money.  Save me a ton of time! Thanks

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Friday, September 12, 2008 7:07 PM by gdeitch

Worked great for me.  Thanks for taking the time to post this.

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Friday, September 26, 2008 6:35 AM by Justin

Thanks a lot...........This solution is working fine.

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Friday, September 26, 2008 8:01 AM by bharathi

thanks a ton ..... this works

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Sunday, October 12, 2008 2:42 PM by Renilton

Ola, muito agradecido pela dica, funcionou perfeitamente.

Muito Obrigado.

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Monday, October 27, 2008 10:35 AM by Ale

Thanks a lot It really works!!!!! It was VERY HELPFULL i was looking for a solution about 5 moths, thank you very much

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Monday, October 27, 2008 10:38 PM by Badrish

You saved a lot of time. You are an angel...

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Tuesday, December 30, 2008 5:10 PM by jas

thanks a lot..you hit the hammer on the nail.

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Wednesday, December 31, 2008 12:58 PM by Robert Pepin

Works perfectly, thank you.  Anytime you do an office update you will have to do this.

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Monday, March 02, 2009 6:27 AM by Pankaj

Amazing, that worked for me thanks a lot.

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Monday, March 23, 2009 6:42 PM by Vladimir Kievsky

Great! It worked  on my laptop, not on desktop where Offince2007 is instaslled. Still, after spending a couple hours fighting the problem it feels good.

Many thanks!

Vladimir

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Friday, March 27, 2009 7:22 AM by Rahul Mohta

Super cool Sir >>>>>>

Thanks a ton

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Monday, June 29, 2009 4:00 PM by Dan

Worked great.  Thanks.

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Wednesday, July 22, 2009 6:04 AM by Roopa

Thanks a lot. It helped me.

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Monday, August 17, 2009 7:44 AM by Nitin

Thanks man - this helped me, gr8 find.

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Monday, August 31, 2009 4:54 PM by JDC

Thanks a stack! Helped a lot!

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Wednesday, September 16, 2009 6:49 AM by Jaap den Bakker

Thanks very much! It did the trick. I thought I had to rewrite the solution from scratch.

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Monday, October 19, 2009 4:18 AM by LuckDev

Thanks a ton. You solved my such a big problem...

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Monday, December 14, 2009 7:02 AM by Christian

You are the best, save a lot of time in my project

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Tuesday, January 12, 2010 3:27 PM by Yayi Boo

Thanks so much!!, that help me a lot!! great tip

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Thursday, January 14, 2010 2:17 PM by Kevin

Awesome. First result on google. Resolved in less than 5 minutes.

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Saturday, February 06, 2010 11:16 PM by Praveen

Thanks a lot. Its working now....:)

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Wednesday, March 17, 2010 1:35 PM by Rakesh

Sorry to say but you tweak screwed my reporting services, after the copy (basically replacing those files) no report is running. Its giving a strange error : The value provided for enddate is not valid for its type (End date is a date parameter), Any suggestions?

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Thursday, April 15, 2010 6:02 AM by Indian

Please give me in details on after pasting those files what has to be done...

Coz, it is not working to me, the same error is encountered.

Please guide me through

Mail me in detail if possible to navi.milkyway@ymail.com

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Tuesday, July 06, 2010 3:19 AM by Prem

Thanks a lot. It is working fine now.

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Wednesday, July 14, 2010 6:00 AM by Jameel

Thanks man! It was of great help.  May you be guided!

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Wednesday, August 11, 2010 4:34 PM by Diego Galeano

Excelente Javier, muchisimas gracias.

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Monday, August 23, 2010 9:19 PM by Radha Krishna

Thanks a lot. Its working now....:)

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Friday, September 24, 2010 5:13 AM by Anu

Thanks a lot. its working fine now.. U r a saviour !!!

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Monday, January 17, 2011 7:01 PM by Zee

Works great. Thanks

# re: SSAS Calculations Tab - Unexpected error ocurred: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Wednesday, March 30, 2011 4:11 PM by Alissa

I had to copy the files from the second location to the first, but then it worked perfectly. Thanks a bunch!

(I had Office 2007 installed prior to SSAS.)

Leave a Comment

(required) 
(required) 
(optional)
(required)