473,241 Members | 1,469 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,241 software developers and data experts.

Debugging a Snap in VS2003 with framwork 2.0 installed

I recently installed .Net Framework 2.0 on my computer. I have
developed a snap in c# using a library from sourceforge
(http://sourceforge.net/projects/mmclibrary/) on Visual Studio 2003
When I run my MMC project in debug mode from Visual Studio 2003 the mmc
starts up but crahes immediately. An hourglass appears and then the MMC
crashes. I have set up my project settings to start the program mmc.exe
with a command line argument of MySnapIn.msc I took out the command
line argument so that only the MMC will start. When I run the project
the MMC will start and I have to load the registered Snap In. When I do
an Add/Remove Snapin the list starts to populate but then the MMC
crashes. I do a load of the file MySnapIn.msc and the mms crashes.

When I run MMC.exe from Start>Run in windows and do a Add/Remove snap
in everything is OK. Also double clicking on MySnapIn.msc is fine. It
seems only when I run the MMC from Visual Studio 2003 this error
occurs. I uninstalled .Net Framework 2.0 and all my errors went away. I
do need .Net Framework 2.0 but it seems I cannot debug my Snap in any
more. Any help to solve this would be appreciated

Dec 21 '05 #1
1 1205
I believe you need to upgrade to VS2005 to work with 2.0 of the .NET Framework.
"Driez" wrote:
I recently installed .Net Framework 2.0 on my computer. I have
developed a snap in c# using a library from sourceforge
(http://sourceforge.net/projects/mmclibrary/) on Visual Studio 2003
When I run my MMC project in debug mode from Visual Studio 2003 the mmc
starts up but crahes immediately. An hourglass appears and then the MMC
crashes. I have set up my project settings to start the program mmc.exe
with a command line argument of MySnapIn.msc I took out the command
line argument so that only the MMC will start. When I run the project
the MMC will start and I have to load the registered Snap In. When I do
an Add/Remove Snapin the list starts to populate but then the MMC
crashes. I do a load of the file MySnapIn.msc and the mms crashes.

When I run MMC.exe from Start>Run in windows and do a Add/Remove snap
in everything is OK. Also double clicking on MySnapIn.msc is fine. It
seems only when I run the MMC from Visual Studio 2003 this error
occurs. I uninstalled .Net Framework 2.0 and all my errors went away. I
do need .Net Framework 2.0 but it seems I cannot debug my Snap in any
more. Any help to solve this would be appreciated

Dec 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
7
by: tonelab | last post by:
I currently have VS2003 .net 1.1 installed with a number of 1.1 projects built in it. All of these projects create the /bin dll for deployment and have been running on remote servers that have the...
5
by: Velvet | last post by:
Can someone tell me to what process I need to attach to be able to step through my classic ASP code in VS.net 2003. I'm working on an XP box with IIS installed. I also have VS.net 2005 (The...
1
by: Driez | last post by:
I recently installed .Net Framework 2.0 on my computer. I have developed a snap in c# using a library from sourceforge (http://sourceforge.net/projects/mmclibrary/) on Visual Studio 2003 When I...
0
by: Sericinus hunter | last post by:
This post is mostly for picking up by Google and information purposes. The problem itself is solved for me. Generally, debugging .Net COM dll should not pose any problems, but you will be...
3
by: Herb | last post by:
while trying to run this project. I recently loaded VS2005 onto my WinXP Pro computer. Prior to that I was able to start my VS2003 ASP.NET apps in debug mode. When I attempt to do so now, I get...
1
by: moondaddy | last post by:
I have just setup a new machine and installed VS2003 and 2005. I'm now wanting to debug a vb.net 1.1 project in VS2003. Its a windows app that uses web services and is calling a web service...
2
by: Rotsey | last post by:
Hi, I had a VS2003 ASP.NET application working fine and running ok. I also have VS2005 installed and recently installed the LINQ CTP and BLINQ. In the process of getting this to work when I...
1
by: Rotsey | last post by:
Hi, This is regarding my previous postings. I have tried the suggestions below and still does not work. I am on my local computer. I changed the vbproj.webinfo file as well but VS seems...
1
markmcgookin
by: markmcgookin | last post by:
Hi Folks, this is a problem I had a few days ago, and I was able to solve it, but I thought I'd post the solution I found here incase anyone has a similar problem! I found this stuff on an MSNDN...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.