473,395 Members | 1,681 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,395 software developers and data experts.

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\perfmon.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 4131
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\perfmon.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
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...
2
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" ...
1
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. ). -- ...
1
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...
1
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...
2
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...
0
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...
2
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...
1
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...
0
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...

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.