Geeks With Blogs
Saqib Ullah BootStrapper Know How
Attempted to read or write protected memory. This is often an indication that other memory is corrupt. 

 The above error has been occurred when I try to open an IronPython project in Visual Studio 2005 at following file location position C:\Program Files\Visual Studio 2005 SDK\2007.02\VisualStudioIntegration\Common\Source\CSharp\Project\Automation\OAProject.cs at line 189:

/// <summary>
///
Gets a collection of all properties that pertain to the Project object.
/// </summary>
public virtual EnvDTE.Properties Properties
{

  get
    {
    object outputProperties = null;
    IVsExtensibility3 vsExtensibility3 = this.project.GetService(typeof(IVsExtensibility)) as IVsExtensibility3;
    vsExtensibility3.GetProperties(this, this.project.NodeProperties, out outputProperties);
    return (EnvDTE.Properties)outputProperties;
    }
}

Old code

I reply the above code with following line.

/// <summary>
///
Gets a collection of all properties that pertain to the Project object.
/// </summary>
public virtual EnvDTE.Properties Properties
{

  get
    {
      return new OAProperties(this.project.NodeProperties);
    }
}

New Code

Now open the IronPython Window application now its fine and have fun with IronPython plenty of blogs will come on IronPython and Python.

Posted on Friday, February 15, 2008 2:13 AM .Net , IronPython | Back to top


Comments on this post: Visual Studio 2005 SDK 2007.02 Error with IronPython Project

# re: Visual Studio 2005 SDK 2007.02 Error with IronPython Project
Requesting Gravatar...
I have wanted one of these forever! THANKS for the great work
Left by Andy on Feb 15, 2008 3:47 AM

# re: Visual Studio 2005 SDK 2007.02 Error with IronPython Project
Requesting Gravatar...
thanks nice text
Left by Rapidshare Arama on May 27, 2008 11:44 AM

# re: Visual Studio 2005 SDK 2007.02 Error with IronPython Project
Requesting Gravatar...
I have upgraded my VB6 project to VB.NET. Now when i try to open the Project properties the following error message will occur, then application will crash.

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

pls send mail with the solution.

Bharath S.
Left by Bharath on Jan 23, 2009 1:51 AM

# re: Visual Studio 2005 SDK 2007.02 Error with IronPython Project
Requesting Gravatar...
thanks freiend good nice
Left by oyun indir on Apr 30, 2009 1:44 AM

# re: Visual Studio 2005 SDK 2007.02 Error with IronPython Project
Requesting Gravatar...
Thanks for this article and most generaly for this very amazing website :)
Left by sepetli platform on Feb 14, 2010 6:28 AM

# re: Visual Studio 2005 SDK 2007.02 Error with IronPython Project
Requesting Gravatar...
That was very discouraging, but when Justin learned to program and we made a few successful websites, I realized there’s no reason not to try
Left by iş makinaları on Feb 16, 2010 3:05 PM

# re: Visual Studio 2005 SDK 2007.02 Error with IronPython Project
Requesting Gravatar...
great article, carefully focuses on the subject
Left by ikinci el iş makinaları on Mar 20, 2011 5:29 PM

# re: Visual Studio 2005 SDK 2007.02 Error with IronPython Project
Requesting Gravatar...
Is this "Visual Studio 2005 SDK 2007.02 Error with IronPython Project" effective? computer support
Left by martin on Oct 28, 2011 6:19 AM

# Miami Beach Condos
Requesting Gravatar...
I am very much pleased with the contents you have mentioned.I wanted to thank you for this great article. I enjoyed every little bit part of it and I will be waiting for the new updates.Thanks. I  am very much impressed from your post.
Left by miamibeachcondos on Dec 28, 2011 5:00 PM

# re: Visual Studio 2005 SDK 2007.02 Error with IronPython Project
Requesting Gravatar...
Thanks for nice sharing..
Left by Araba iş makineleri operatörlük on Mar 09, 2013 2:47 AM

Your comment:
 (will show your gravatar)


Copyright © Saqib Ullah | Powered by: GeeksWithBlogs.net