On one of my Windows Server 2003 machines I get the error below. On another
it runs fine. ON my development machine it runs fine. Any ideas what I could
do to fix this?

An unhandled exception of type 'System.IO.FileNotFoundException' occurred in
JJK ITEM REPORTS 2.exe

Additional information: The specified module could not be found. (Exception
from HRESULT: 0x8007007E)

IN the event viewer I find:

EventType clr20r3, P1 jjk item reports 2.exe, P2 1.0.2274.14931, P3
442441d5, P4 jjk item reports 2, P5 1.0.2274.14931, P6 442441d5, P7 1b, P8
e9, P9 system.invalidoperationexception, P10 NIL.

--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com

RE: clr20r3 Error by v-phuang

v-phuang
Mon Mar 27 00:33:09 CST 2006

Dear Customer,

Firstly, what is the application that thrown the unhandled exception?
Is it a Winform or AP.NET app?
Also I think you may try to handle all the unhandled exception to see what
cause the problem, so that we can do further toubleshooting.
How to: Handle Application-Level Errors (ASP)
http://msdn2.microsoft.com/en-US/library/24395wz3(VS.80).aspx

Application.ThreadException Event
http://msdn2.microsoft.com/en-us/library/system.windows.forms.application.th
readexception(VS.80).aspx

Also it seems to be filenotfound exception, you may try to use the filemon
tool to monitor what file the app is trying to find.
http://www.sysinternals.com/utilities/filemon.html


Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


Re: clr20r3 Error by vbnetdev

vbnetdev
Mon Mar 27 05:59:05 CST 2006

Here is what filemon told me.....

what do I do with this?

5:51:02 AM explorer.exe:3260 OPEN C:\Program Files\Default Company
Name\JJKITEM\JJK ITEM REPORTS 2.exe.Manifest NOT FOUND Options: Open
Access: All
5:51:02 AM JJK ITEM REPORT:3460 QUERY INFORMATION C:\Program Files\Default
Company Name\JJKITEM\JJK ITEM REPORTS 2.exe.Local NOT FOUND Attributes:
Error
5:51:02 AM JJK ITEM REPORT:3460 OPEN C:\Program Files\Default Company
Name\JJKITEM\JJK ITEM REPORTS 2.exe.config NOT FOUND Options: Open Access:
All
5:51:02 AM JJK ITEM REPORT:3460 QUERY INFORMATION C:\Program Files\Default
Company Name\JJKITEM\JJK ITEM REPORTS 2.exe.Local\ NOT FOUND Attributes:
Error
5:51:02 AM JJK ITEM REPORT:3460 OPEN C:\Program Files\Default Company
Name\JJKITEM\JJK ITEM REPORTS 2.exe.config NOT FOUND Options: Open Access:
All
5:51:02 AM JJK ITEM REPORT:3460 QUERY INFORMATION C:\Program Files\Default
Company Name\JJKITEM\JJK ITEM REPORTS 2.exe.Local\ NOT FOUND Attributes:
Error
5:51:02 AM JJK ITEM REPORT:3460 QUERY INFORMATION C:\Program Files\Default
Company Name\JJKITEM\JJK ITEM REPORTS 2.exe.config NOT FOUND Attributes:
Error
5:51:02 AM JJK ITEM REPORT:3460 DIRECTORY C:\Program Files\Default Company
Name\JJKITEM\ NO SUCH FILE FileBothDirectoryInformation: JJK ITEM REPORTS
2.INI
5:51:02 AM JJK ITEM REPORT:3460 QUERY INFORMATION C:\Program Files\Default
Company Name\JJKITEM\JJK ITEM REPORTS 2.exe.Local\ NOT FOUND Attributes:
Error
5:51:02 AM JJK ITEM REPORT:3460 QUERY INFORMATION C:\Program Files\Default
Company Name\JJKITEM\JJK ITEM REPORTS 2.exe.Local\ NOT FOUND Attributes:
Error
5:51:02 AM JJK ITEM REPORT:3460 QUERY INFORMATION C:\Program Files\Default
Company Name\JJKITEM\JJK ITEM REPORTS 2.exe.config NOT FOUND Attributes:
Error
5:51:02 AM JJK ITEM REPORT:3460 QUERY INFORMATION C:\Program Files\Default
Company Name\JJKITEM\JJK ITEM REPORTS 2.exe.config NOT FOUND Attributes:
Error
5:51:03 AM JJK ITEM REPORT:3460 QUERY INFORMATION C:\Program Files\Default
Company Name\JJKITEM\JJK ITEM REPORTS 2.exe.Local\ NOT FOUND Attributes:
Error
5:51:03 AM JJK ITEM REPORT:3460 QUERY INFORMATION C:\Program Files\Default
Company Name\JJKITEM\JJK ITEM REPORTS 2.exe.Local\ NOT FOUND Attributes:
Error
5:51:04 AM MDM.EXE:1420 QUERY INFORMATION C:\Program Files\Default Company
Name\JJKITEM\JJK ITEM REPORTS 2.exe BUFFER OVERFLOW FileNameInformation
5:51:12 AM JJK ITEM REPORT:3460 QUERY INFORMATION C:\Program Files\Default
Company Name\JJKITEM\JJK ITEM REPORTS 2.exe.Local\ NOT FOUND Attributes:
Error
5:51:12 AM JJK ITEM REPORT:3460 QUERY INFORMATION C:\Program Files\Default
Company Name\JJKITEM\JJK ITEM REPORTS 2.PDB NOT FOUND Attributes: Error
5:51:12 AM JJK ITEM REPORT:3460 OPEN C:\Program Files\Default Company
Name\JJKITEM\JJK ITEM REPORTS 2.pdb NOT FOUND Options: Open Access: All
5:51:12 AM JJK ITEM REPORT:3460 OPEN C:\WINDOWS\symbols\exe\JJK ITEM REPORTS
2.pdb PATH NOT FOUND Options: Open Access: All
5:51:12 AM JJK ITEM REPORT:3460 OPEN C:\WINDOWS\exe\JJK ITEM REPORTS 2.pdb
PATH NOT FOUND Options: Open Access: All
5:51:12 AM JJK ITEM REPORT:3460 OPEN C:\WINDOWS\JJK ITEM REPORTS 2.pdb NOT
FOUND Options: Open Access: All

--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com



""Peter Huang" [MSFT]" <v-phuang@online.microsoft.com> wrote in message
news:NtofVhWUGHA.932@TK2MSFTNGXA01.phx.gbl...
> Dear Customer,
>
> Firstly, what is the application that thrown the unhandled exception?
> Is it a Winform or AP.NET app?
> Also I think you may try to handle all the unhandled exception to see what
> cause the problem, so that we can do further toubleshooting.
> How to: Handle Application-Level Errors (ASP)
> http://msdn2.microsoft.com/en-US/library/24395wz3(VS.80).aspx
>
> Application.ThreadException Event
> http://msdn2.microsoft.com/en-us/library/system.windows.forms.application.th
> readexception(VS.80).aspx
>
> Also it seems to be filenotfound exception, you may try to use the filemon
> tool to monitor what file the app is trying to find.
> http://www.sysinternals.com/utilities/filemon.html
>
>
> Best regards,
>
> Peter Huang
>
> Microsoft Online Community Support
> ==================================================
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>



Re: clr20r3 Error by vbnetdev

vbnetdev
Mon Mar 27 06:28:14 CST 2006

My apologies. It is Winforms. I set up a exception handler at program start
but it never even gets to that point.

--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com



""Peter Huang" [MSFT]" <v-phuang@online.microsoft.com> wrote in message
news:NtofVhWUGHA.932@TK2MSFTNGXA01.phx.gbl...
> Dear Customer,
>
> Firstly, what is the application that thrown the unhandled exception?
> Is it a Winform or AP.NET app?
> Also I think you may try to handle all the unhandled exception to see what
> cause the problem, so that we can do further toubleshooting.
> How to: Handle Application-Level Errors (ASP)
> http://msdn2.microsoft.com/en-US/library/24395wz3(VS.80).aspx
>
> Application.ThreadException Event
> http://msdn2.microsoft.com/en-us/library/system.windows.forms.application.th
> readexception(VS.80).aspx
>
> Also it seems to be filenotfound exception, you may try to use the filemon
> tool to monitor what file the app is trying to find.
> http://www.sysinternals.com/utilities/filemon.html
>
>
> Best regards,
>
> Peter Huang
>
> Microsoft Online Community Support
> ==================================================
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>



Re: clr20r3 Error by vbnetdev

vbnetdev
Mon Mar 27 09:52:20 CST 2006

Peter,

I decided to pull the project apart and do it over as this had been migrated
from 1.1 of the framework.

Here is the situation:

Create new Windows project...

add another form (form2)

declare several instances of form2 in form1 load event.

add properties and methods to form2. Nothing fancy. Strings and arrays and
whatever.

Here is what happened:

Lets say form2 has this property.

Private ipserver As String '= "10.10.10.10"
Public Property IPServerAddress() As String
Get
Return ipserver
End Get
Set(ByVal Value As String)
ipserver = "10.10.10.10"
End Set
End Property

If I leave the private variable assigned it will stop and give me the error:

Attempted to read or write protected memory. This is often an indication
that other memory is corrupt.

If I fix all of them, it wont stop anymore until teh declaration of the new
form but then gives me the sae error at that point.

In teh event viewer we see

.NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A2B45A2)
(0)

Thank you for your help.



--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com



""Peter Huang" [MSFT]" <v-phuang@online.microsoft.com> wrote in message
news:NtofVhWUGHA.932@TK2MSFTNGXA01.phx.gbl...
> Dear Customer,
>
> Firstly, what is the application that thrown the unhandled exception?
> Is it a Winform or AP.NET app?
> Also I think you may try to handle all the unhandled exception to see what
> cause the problem, so that we can do further toubleshooting.
> How to: Handle Application-Level Errors (ASP)
> http://msdn2.microsoft.com/en-US/library/24395wz3(VS.80).aspx
>
> Application.ThreadException Event
> http://msdn2.microsoft.com/en-us/library/system.windows.forms.application.th
> readexception(VS.80).aspx
>
> Also it seems to be filenotfound exception, you may try to use the filemon
> tool to monitor what file the app is trying to find.
> http://www.sysinternals.com/utilities/filemon.html
>
>
> Best regards,
>
> Peter Huang
>
> Microsoft Online Community Support
> ==================================================
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>



Re: clr20r3 Error by Morgan

Morgan
Mon Mar 27 13:01:32 CST 2006

If you're returning the same value every time, why not make the property
read-only?

Private ipserver As String '= "10.10.10.10"
Public Property IPServerAddress() As String
Get
Return ipserver
End Get
End Property

"vbnetdev" <vbnetdev@community.nospam> wrote in message
news:uKFNyZbUGHA.5372@TK2MSFTNGP09.phx.gbl...
> Peter,
>
> I decided to pull the project apart and do it over as this had been
> migrated from 1.1 of the framework.
>
> Here is the situation:
>
> Create new Windows project...
>
> add another form (form2)
>
> declare several instances of form2 in form1 load event.
>
> add properties and methods to form2. Nothing fancy. Strings and arrays and
> whatever.
>
> Here is what happened:
>
> Lets say form2 has this property.
>
> Private ipserver As String '= "10.10.10.10"
> Public Property IPServerAddress() As String
> Get
> Return ipserver
> End Get
> Set(ByVal Value As String)
> ipserver = "10.10.10.10"
> End Set
> End Property
>
> If I leave the private variable assigned it will stop and give me the
> error:
>
> Attempted to read or write protected memory. This is often an indication
> that other memory is corrupt.
>
> If I fix all of them, it wont stop anymore until teh declaration of the
> new form but then gives me the sae error at that point.
>
> In teh event viewer we see
>
> .NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error
> (7A2B45A2) (0)
>
> Thank you for your help.
>
>
>
> --
> Get a powerful web, database, application, and email hosting with KJM
> Solutions
> http://www.kjmsolutions.com
>
>
>
> ""Peter Huang" [MSFT]" <v-phuang@online.microsoft.com> wrote in message
> news:NtofVhWUGHA.932@TK2MSFTNGXA01.phx.gbl...
>> Dear Customer,
>>
>> Firstly, what is the application that thrown the unhandled exception?
>> Is it a Winform or AP.NET app?
>> Also I think you may try to handle all the unhandled exception to see
>> what
>> cause the problem, so that we can do further toubleshooting.
>> How to: Handle Application-Level Errors (ASP)
>> http://msdn2.microsoft.com/en-US/library/24395wz3(VS.80).aspx
>>
>> Application.ThreadException Event
>> http://msdn2.microsoft.com/en-us/library/system.windows.forms.application.th
>> readexception(VS.80).aspx
>>
>> Also it seems to be filenotfound exception, you may try to use the
>> filemon
>> tool to monitor what file the app is trying to find.
>> http://www.sysinternals.com/utilities/filemon.html
>>
>>
>> Best regards,
>>
>> Peter Huang
>>
>> Microsoft Online Community Support
>> ==================================================
>> When responding to posts, please "Reply to Group" via your newsreader so
>> that others may learn and benefit from your issue.
>> ==================================================
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>
>



Re: clr20r3 Error by vbnetdev

vbnetdev
Mon Mar 27 13:13:22 CST 2006

This was just for demo purposes. Eventually that is not going to be the
case. It will be assigned dynamically but I didnt want to run that part of
the code right now.

--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com



"Morgan" <abcd@senditon.com> wrote in message
news:urv8zAdUGHA.1576@tk2msftngp13.phx.gbl...
> If you're returning the same value every time, why not make the property
> read-only?
>
> Private ipserver As String '= "10.10.10.10"
> Public Property IPServerAddress() As String
> Get
> Return ipserver
> End Get
> End Property
>
> "vbnetdev" <vbnetdev@community.nospam> wrote in message
> news:uKFNyZbUGHA.5372@TK2MSFTNGP09.phx.gbl...
>> Peter,
>>
>> I decided to pull the project apart and do it over as this had been
>> migrated from 1.1 of the framework.
>>
>> Here is the situation:
>>
>> Create new Windows project...
>>
>> add another form (form2)
>>
>> declare several instances of form2 in form1 load event.
>>
>> add properties and methods to form2. Nothing fancy. Strings and arrays
>> and whatever.
>>
>> Here is what happened:
>>
>> Lets say form2 has this property.
>>
>> Private ipserver As String '= "10.10.10.10"
>> Public Property IPServerAddress() As String
>> Get
>> Return ipserver
>> End Get
>> Set(ByVal Value As String)
>> ipserver = "10.10.10.10"
>> End Set
>> End Property
>>
>> If I leave the private variable assigned it will stop and give me the
>> error:
>>
>> Attempted to read or write protected memory. This is often an indication
>> that other memory is corrupt.
>>
>> If I fix all of them, it wont stop anymore until teh declaration of the
>> new form but then gives me the sae error at that point.
>>
>> In teh event viewer we see
>>
>> .NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error
>> (7A2B45A2) (0)
>>
>> Thank you for your help.
>>
>>
>>
>> --
>> Get a powerful web, database, application, and email hosting with KJM
>> Solutions
>> http://www.kjmsolutions.com
>>
>>
>>
>> ""Peter Huang" [MSFT]" <v-phuang@online.microsoft.com> wrote in message
>> news:NtofVhWUGHA.932@TK2MSFTNGXA01.phx.gbl...
>>> Dear Customer,
>>>
>>> Firstly, what is the application that thrown the unhandled exception?
>>> Is it a Winform or AP.NET app?
>>> Also I think you may try to handle all the unhandled exception to see
>>> what
>>> cause the problem, so that we can do further toubleshooting.
>>> How to: Handle Application-Level Errors (ASP)
>>> http://msdn2.microsoft.com/en-US/library/24395wz3(VS.80).aspx
>>>
>>> Application.ThreadException Event
>>> http://msdn2.microsoft.com/en-us/library/system.windows.forms.application.th
>>> readexception(VS.80).aspx
>>>
>>> Also it seems to be filenotfound exception, you may try to use the
>>> filemon
>>> tool to monitor what file the app is trying to find.
>>> http://www.sysinternals.com/utilities/filemon.html
>>>
>>>
>>> Best regards,
>>>
>>> Peter Huang
>>>
>>> Microsoft Online Community Support
>>> ==================================================
>>> When responding to posts, please "Reply to Group" via your newsreader so
>>> that others may learn and benefit from your issue.
>>> ==================================================
>>> This posting is provided "AS IS" with no warranties, and confers no
>>> rights.
>>>
>>
>>
>
>



Re: clr20r3 Error by v-phuang

v-phuang
Mon Mar 27 20:35:29 CST 2006

Dear Customer,

Thanks for your quickly reply!
Based on my understanding, if you try to run the code below, that is to say
assigned the ipserver and you will get the error.
Private ipserver As String = "10.10.10.10"
Public Property IPServerAddress() As String
Get
Return ipserver
End Get
Set(ByVal Value As String)
ipserver = "10.10.10.10"
End Set
End Property

It is strange, can you build a simple reproduce sample for us to do further
trouble shooting.
Based on my test, if we just create a new winform application and add the
code per your description, I can not reproduce the problem.

Also from the filemon log, it seems that the app is not try to find some
must file.
e.g. for config file, we can run a win app without it.

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


Re: clr20r3 Error by vbnetdev

vbnetdev
Tue Mar 28 13:03:16 CST 2006

Where shall I send the test app?

--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com



""Peter Huang" [MSFT]" <v-phuang@online.microsoft.com> wrote in message
news:eVdNOBhUGHA.4716@TK2MSFTNGXA01.phx.gbl...
> Dear Customer,
>
> Thanks for your quickly reply!
> Based on my understanding, if you try to run the code below, that is to
> say
> assigned the ipserver and you will get the error.
> Private ipserver As String = "10.10.10.10"
> Public Property IPServerAddress() As String
> Get
> Return ipserver
> End Get
> Set(ByVal Value As String)
> ipserver = "10.10.10.10"
> End Set
> End Property
>
> It is strange, can you build a simple reproduce sample for us to do
> further
> trouble shooting.
> Based on my test, if we just create a new winform application and add the
> code per your description, I can not reproduce the problem.
>
> Also from the filemon log, it seems that the app is not try to find some
> must file.
> e.g. for config file, we can run a win app without it.
>
> Best regards,
>
> Peter Huang
>
> Microsoft Online Community Support
> ==================================================
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>



Re: clr20r3 Error by v-phuang

v-phuang
Tue Mar 28 19:45:12 CST 2006

Hi

Sorry.
I just thought, if the sample is very simple. Please simply to post the
code and reproduce steps here.
Or you can send to me via removing the "online" from my email address.
BTW: Please simplify the code ASAP.
Thanks!

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


Re: clr20r3 Error by wayne

wayne
Tue Mar 28 20:30:51 CST 2006

Peter,
I am also having this &q