.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Insufficient Memory to continue the execution of the program (Microsoft Visual Studio)

Posted By:      Posted Date: October 12, 2010    Points: 0   Category :Sql Server

Since Upgrading to SSAS 2008, cannot explore Data or Browse cubes from Vista Untimate machine.

I am developing Cubes for Analysis and Data Mining in Microsoft Visual Studio. I am running Vista 64 Untimate on my PC with quad processors and 8G of memory.
Everything was working in SQL Server 2005 and Visual Studio 2005. When we upgraded to 2008 on the server, I can no longer browse the cubes that I create or explore the data in the tables that I am using. I get an insufficient memory to continue program execution message. I did some searching on the internet, and I think that it has something to do with how 2008 server and Vista use forms.
I have found the following detail on the load:

Insufficient memory to continue the execution of the program. (Microsoft Visual Studio)
Program Location:
   at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
   at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
   at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
   at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
   at System.Windows.Forms.AxHost.CreateInstance()<

View Complete Post

More Related Resource Links

Visual Studio 2008 Memory problems


My memory in task manager reaches about 900,000K  and I don't know why it does this. Definately slows everything down, especially when I rebuild my tableAdapters, takes about 30 seconds sometimes to rebuild the project.

Toolbox: Microsoft Chart Controls, Visual Studio Automatic Code Snippets, And More


In this installment we look at the Microsoft Chart Controls; Snippet Designer, a free, add-in for Visual Studio 2008 for creating and editing Code Snippets; refactoring SQL applications; and this month's favorite blog.

Scott Mitchell

MSDN Magazine April 2009

Office 2003: Secure and Deploy Business Solutions with Microsoft Visual Studio Tools for Office


Microsoft Visual Studio Tools for the Microsoft Office System is a new technology that brings the advanced features of Visual Studio .NET and the .NET Framework to applications built for Microsoft Office Word 2003 and Microsoft Office Excel 2003. Deploying solutions built with this technology requires that you understand how runtime security is enforced in managed applications and how to configure users' systems to run your solutions without introducing security holes.To promote that understanding, this article will demonstrate how to establish trust, explain policy considerations and permissions, and explain what trusted code is all about. Secure assembly deployment is also covered in detail.

Brian A. Randell and Ken Getz

MSDN Magazine March 2004

Office 2003: Bring the Power of Visual Studio .NET to Business Solutions Built with Microsoft Office


Microsoft Visual Studio Tools for the Microsoft Office System is a new technology that brings the advanced features of Visual Studio .NET and the .NET Framework to apps built on Microsoft Word 2003 and Excel 2003. Now you can use Visual Basic .NET and C# to write document-centric, managed code solutions that run in-process with Word 2003 or Excel 2003, taking advantage of the rich object models they expose. Along the way you get the benefits of the managed environment in which a fully compiled .NET-based application executes, including code access security.

Ken Getz and Brian A. Randell

MSDN Magazine September 2003

Chapter 3: SharePoint Developer Tools in Microsoft Visual Studio 2010 (Inside SharePoint 2010)

Learn what's new with the SharePoint developer platform from experts on Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010.

Visual Studio: Microsoft should simplify producing quality software

I am looking at features of different versions of Visual Studio and I less and less understand how and why is the quality of software handled as fun of few seasoned professionals. Although Visual Studio is best development platform I have ever seen I really don't understand why Microsoft hates people who want to provide quality to their customers. Usually n00bs and start-ups start with minimum versions to get their work done. Many of them start with some version of Visual Studio Express or cheapest one of the full versions. These products have this far caused me hell load of problems because specially n00bs have no way how to control or measure the quality of their work. n00bs make also a lot of stupid mistakes and they need some way to rollback those mistakes. And don't forget how many other mistakes n00bs can make. Now let's put it all together and see how hard is for n00bs to get started their professional life on Visual Studio. No advanced debugging - there is IntelliTrace but not for guys who need it at first years almost every day. They have to waste their and their seniors time to get mysteries solved. I need IntelliTrace rarely because usually stack trace of Exception is enough for me. But I have seen n00bs who try to debug their applications using only message part of exceptions. IntelliTrace is only available with Visual Studio Ultimate. No versioning suppor

Microsoft visual studio 2008

Hi, In my system microsoft sql server 2005 is there and I created some ssis packages by using Business Intelligence development studio.Now they installed Microsoft visual studio 2008 not sql server 2008 ,any one know how to choose default setting when we open Microsoft visual studio 2008 ,it's asking for option .I am not sure whether we can create ssis packages by using Microsoft visual studio 2008 only or we have to installed sql server 2008 on machine so that automatically we get Microsoft visual studio 2008 .Please provide me solution for this .Thanks  

How to use the Microsoft Report Viewer in Miscorosft Visual Studio 2008?

Currently, I need to use this Microsoft Report Viewer to create several reports. The problem I'm having is that within the Microsoft Report Viewer, there are 2 functions that I needed some coding help. The 2 functions are the print function and also the export function. I'm connected to the local host only for this project. Please provide some code example on these 2 functions. Thank you so much.    

Strange lockup in multithreaded application - Visual Studio debugger unable to break execution

Multithreaded C# application, Visual Studio 2008, Windows XP, Framework 3.5 SP1. This application is a little crawling utility to download pages from our website, extract some information and upload it into a database. It runs for a while, then somewhere between about 10 minutes and an hour in, it locks up totally, user interface and all. When I try to "break all" in the VS debugger, I get a message "cannot break execution". Now the confusing thing about this is that since the UI was locking up, I thought that some deadlock must be happening on the main UI thread. So I started stripping out any code and locks that were being acquired on that thread that might cause problems ... until there was nothing left. Even with the window simply spawning a bunch of worker threads on create, then totally forgetting about them and giving no reverse access, the lockup still happens, the UI still freezes and VS still can't break the execution.   There are 10 threads to do the crawling, and one each to do the processing and the uploading. The next thing I did was take out the uploading entirely to remove the possiblity of a deadlock in the SqlClient libraries. No difference. So now, the only things that could be really deadlocking the main thread that I can see are the centrally created HTTPWebRequest objects I'm using. WebRequest.create is supposedly thread safe

Out Of Memory during build in Visual Studio

Hi All,I have Visual Studio 2005 SP1, Win XP SP 2 on a machine with 2GB physical memory and over 200 GB free hard disk.I am getting out of memory exceptions from visual studio while building. It used to happen once a week or so, but now the frequency is up to 3-8 per day. It is getting insanely painful. The only way that I can seem to fix it is by restarting visual studio - which ends up being 5-15minutes of waiting. So as you can imagine - being forced to restart visual studio every couple of hours really sucks. The other people in my team get the same thing so it is not something specific to this machine.I am working on a fairly big solution - it has 102 projects including libraries, wcf services, some asp.net web services and a few client executables. Every time I get out of memory, there is always heaps of free memory reported by the task manager. Visual studio itself is using between 400-700 mb of memory and there is always 700-1.2 GB free physical memory.So, it manifests as a build error most frequently (occasionally it happens in the designer and other places - but I'll forget that for now since it is only once or twice a week) - randomly with no warning I get the build error:The "ResolveManifestFiles" task failed unexpectedly.System.OutOfMemoryException: Insufficient memory to continue the execution of the program.   at Microsoft.Build.Tasks.Deployment.Manife

InfoPath Cannot Start Microsoft Visual Studio Tools for Applications


when am trying to access developer tools under developer tab in infopath designer 2010 , i get this error?

InfoPath Cannot Start Microsoft Visual Studio Tools for Applications

Adding VB or C# code to a form requires Microsoft Visual Studio Tools for Applications(VSTA). To enable this feature, run microsoft office 2010 setup, and change the microsoft visual studio tools for application unser infopath to run from my computer. The Microsoft .Net Framework2.9 must be installed before installing VSTA.

my configuration is

SharePoint 2010 (Standalone)

Windows 7

Visual Studio 2010

any thoughts?

Thanks in Advance?


Share Knowledge and Spread Love!

microsoft visual studio cannot shut down because a modal dialog is active

if i get this message one more time I am going to put my fist through my monitor

my 64 bit computer, windows 7 OS, won't load and run microsoft visual studio 2008



i'm in school and am trying to load and run my downloaded microsoft visual studio 2008 program, and my computer won't let me sighting, incompatability with 64 bit versions of windows. please contact the vedor to see if a 64 bit compatible version is available.

please help!!!



problem while installing microsoft chart add-on for visual studio


When I tried to install chart add-on for visual studio it was asking for microsoft chart controls to be installed as a pre requisite.

Then I installed .net framwork 3.5 sp1 and installed microsoft chart add-on for visual studio

but microsoft chart control add-on for visual studio is asking for .net framework 3.5 to be installed as a prerequisite.

But if I install .net framework 3.5 i cant install microsoft chart controls because it requires .net framework 3.5 sp1.

Can anyone help me to resolve this issue please.

Visual Studio has insufficient privileges to debug this process


Hello All,

             I am using VS2008 to debug in Windows 2003 server. I got this error message.


Unable to attach to the process. Visual Studio has insufficient privileges to debug this process. To debug this process, Visual Studio must be run as an administrator.


             I checked that my user name is under administrator group.


Edit : I am trying to debug one of my service application. I am able to debug web applications

How to create Buiness Intelligence Templates in Microsoft Visual Studio 2008?


Microsoft Visual Studio 2008 is already installed in my computer.  How do I have the BI templates (Reporting Services, Analysis Services and Integration Services) installed in the Visual Studio 2008?

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend