473,321 Members | 1,748 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,321 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 1206
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: 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
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.