|
Re: is program running?: msg#00021org.user-groups.dotnet.padnug
Try outputing Exception.ToString() instead of just the Message. There's sometimes an InnerException that's more descriptive. The output would look something like InvalidOperationException: some message -> inner exception name: better message. --- Justin Collum <justin@xxxxxxxxxxxxxxxx> wrote: > I looked at what you suggested but I'm getting a > different exception > type. I'm getting System.InvalidOperationException. > > Nick Hebb wrote: > > >What kind of exception did it throw? > > > > > >--- Justin Collum <justin@xxxxxxxxxxxxxxxx> wrote: > > > > > > > >>Here's where it gets weird. I decided to start > with > >>a clean slate. I > >>made a new solution with a class library > (containing > >>all the code that > >>investigates the processes etc.) and a console app > >>in the same solution > >>that ran the class library. It all worked fine. > >> > >>Then I added those two projects to the solution > that > >>contained an > >>installer and my web forms projects. Bam: > exception. > >>Keep in mind that I > >>added the projects, not the code. So all things > >>being equal it won't > >>work if it's part of one solution but will work as > >>part of another. ??? > >> > >>-- Justin > >> > >>Ted Kubaska wrote: > >> > >> > >> > >> > > > > > > __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Philosophical take on how to fetch a data structure from SQL Server 2000: 00021, Liz Gee |
|---|---|
| Next by Date: | VB to C#: 00021, Justin Collum |
| Previous by Thread: | Re: is program running?i: 00021, Justin Collum |
| Next by Thread: | RE: is program running?: 00021, Stuart Celarier |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |