473,748 Members | 4,067 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

builds ok, won't run:Visual Studio cannot debug ... .dll is not an

hi,

i'm having problems running something in vs.net

(it builds ok with no errors or warnings)

scenario:

- c# dll class library is used to log events to perf mon/counters
- interop is used by vb6/com+ to call the dll
- winform test harness with simple buttons to call methods on dll
- the dll works fine on a production box and has done for ages

the company that developed this has left and now i get to look after it :]

when i loaded it, it asked me if i wanted to upgrade from 1.0 -> 1.1 to which
i said 'yes'

it builds ok (the two projects are side by side in one solution)

however, when you hit f5 to debug/run, you get the following cryptic message

"visual studio cannot debug because the debug target
'E:\blah\blah\p erfmon.dll' is not an EXE file"

well that's got to be one of the more annoying messages i've ever seen
"a dll is not an EXE"? really!!??

still, this doesn't help me get the thing running

i've looked in google groups but to no avail

can anyone help with this?

thanks
ag

Nov 16 '05 #1
2 4144
don't know what was causing the problem but this fixed it

- deleted all files relating to both projects
- made sure there was no gac reference
- went through registry and deleted any references to the dll
- ran reg clean
- urinated outside microsoft campus
- got code from vss
- loaded and ran
- works

yay for me
"adolf garlic" wrote:
hi,

i'm having problems running something in vs.net

(it builds ok with no errors or warnings)

scenario:

- c# dll class library is used to log events to perf mon/counters
- interop is used by vb6/com+ to call the dll
- winform test harness with simple buttons to call methods on dll
- the dll works fine on a production box and has done for ages

the company that developed this has left and now i get to look after it :]

when i loaded it, it asked me if i wanted to upgrade from 1.0 -> 1.1 to which
i said 'yes'

it builds ok (the two projects are side by side in one solution)

however, when you hit f5 to debug/run, you get the following cryptic message

"visual studio cannot debug because the debug target
'E:\blah\blah\p erfmon.dll' is not an EXE file"

well that's got to be one of the more annoying messages i've ever seen
"a dll is not an EXE"? really!!??

still, this doesn't help me get the thing running

i've looked in google groups but to no avail

can anyone help with this?

thanks
ag

Nov 16 '05 #2
> - urinated outside microsoft campus
Damn that's some good morning laugh but not the best thing to say if you
ever want to be an MVP.

Landi
Nov 16 '05 #3

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

Similar topics

0
1154
by: Ashish Kanoongo | last post by:
How to run Visual Studio.Net 2003 in Network environment. I want to use Dotnet IDE . I have installed VS.Net 2003 Enterprice Architect on my server. Now my problem that every time I have to go to server using Terminal server, thne I made changes there and recomile there, thne my pages are updated. Can I only install ide on my machine and manage site from my server, as I am already doing in Dreamweaver MX for ASP/PHP development. Is there...
2
1268
by: sperotti | last post by:
I am running the following code in VB.NET: Dim proc As New System.Diagnostics.Process proc.StartInfo.FileName = "C:\Program Files\Common Files\DPS\Scripts\myVBSCode.vbs" proc.StartInfo.CreateNoWindow = True proc.Start()
1
1158
by: Davef | last post by:
It was working before today????? I get this error.... Auto-attach to process ' aspnet_wp.exe' on machine 'xxxxxxxx' failed. Error code 0x80070057 (The parameter is incorrect. ). -- ______________________ David Fetrow HelixPoint LLC.
1
1228
by: Surajit Laha | last post by:
Hi, While trying to debug my web application, I am getting this error message from VS.NET: Error while trying to run project: Unable to start debugging on the web server. No such interface supported. Would you like to disable future attempts to debug ASP.NET pages for this project?
1
1512
by: Craig Wilson | last post by:
Server is now running Framework ver 1.1 When clicking "browse" for the app IIS will simply pull the app, "index.aspx", as text - shows the raw html code of the source file. I'm using visual studio net 2003 for development. Win2k server in a new install and has not run another web app previously. What configuration is required?
2
1746
by: p175 | last post by:
Every time I try to run visual explain in v9 Express C I am getting the following error: SQL0104N An unexpected token "WITH SNAPSHOT" was found following "LAIN PLAN SELECTION ". Expected tokens may include: "FOR". SQLSTATE=42601 Anyone got any ideas why ?
0
844
by: Mike Grice | last post by:
I wanted to create a macro to open the debug...Processes window, make a specific selection, attach to it, make that selection then close down. Unfortunately, the debug...Processes window is modal and I can't get anything to occur after opening the window. Does anybody know if there is a way to do this? Thanks,
2
2046
by: Bo | last post by:
Hello All, I am experimenting IronPython in Visual Studio. Here is what I have, what I did and what I want 1. I have installed Visual Studio SDK 4.0 according to this blog http://blogs.msdn.com/aaronmar/archive/2006/02/16/a-bit-more-on-ironpython.aspx If I run Visual Studio under Experimental Hive, a Python file opened is color coded.
1
2585
by: =?Utf-8?B?Rmxhbm1hbg==?= | last post by:
I have a tutorial I was working on with Visual Web Developer 2005 express. Very basic stuff intro to asp.net. All was working fine a few days ago. I took my pc home and installed the visual studion 2005 sdk and also visual web developer 2008. Today when I try to run or debug a very basic page I am getting the error" Unable to connect to Visual Studio's Locahost Web server" I get a similar error when trying to run/debug the same project in...
0
8830
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9544
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9247
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6074
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4606
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3313
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.