By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,885 Members | 1,072 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,885 IT Pros & Developers. It's quick & easy.

Begging and pleading for help now!

P: n/a
Jax
I have Visual Studio 2002 Standard Edition.
It has been working fine up to a point and now i'm at that
point.
Due to the limitations of the edition i am not using any
of my own .dll's and instead have
a range of .cs classes doing that role for me. Does that
matter?

I have four errors that I just dont understand, I really
need some help on this or pointers to where I can find the
right help.
I can sometimes fix these errors but they are returning
with alarming frequency and at present I cant work because
of errors 2 and 3.

1.The first problem happens occasionally where it claims
that the .pdb file in obj/debug/myApp.pdb is corrupted and
cant be used.
I find that this can be fixed by replacing it from the
directory /bin/debug/identical.pdb.
This still worries me as this sounds like a crap fix.

2.The second problem is less occasional but is one that
i'm tackling at the moment.
When compiling i get: Error in reading metadata from file
x.cs unspecified error(this file (x) changes between five
classes as I exclude and re-include them 3 of which are
classes, two are forms).

3.I sometimes get this error:
An unhandled exception of
type 'System.IO.FileLoadException' occurred in Unknown
Module.
Additional information: The located assembly '<Module>' is
not strongly named.
Last time it disappeared when I removed a reference to
Directory Services which I no longer needed.
This time the reference is no longer there to remove.
Error 2 usually follows this error.

4.And I usually get this error when I close the project:

(It's something like this) Unable to call invoke or
InvokeAsync. And then something about a window handle.

I really need some help with this I will be eternally
grateful to those that can help
me out and point me in the right direction.

Many thanks for listening
Simon Tamman
Vesta Money
Simon.Tam[NOSPAM]ma*@VestaMoney.co.uk
Nov 15 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Simon,

It sounds like your install of the framework and/or VS.NET could be
hosed. Are you hosting .NET 1.1 on your machine as well? My recommendation
would be to remove VS.NET 2002, and then reinstall. Assuming your code is
correct, you shouldn't be receiving those errors.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jax" <an*******@discussions.microsoft.com> wrote in message
news:b1****************************@phx.gbl...
I have Visual Studio 2002 Standard Edition.
It has been working fine up to a point and now i'm at that
point.
Due to the limitations of the edition i am not using any
of my own .dll's and instead have
a range of .cs classes doing that role for me. Does that
matter?

I have four errors that I just dont understand, I really
need some help on this or pointers to where I can find the
right help.
I can sometimes fix these errors but they are returning
with alarming frequency and at present I cant work because
of errors 2 and 3.

1.The first problem happens occasionally where it claims
that the .pdb file in obj/debug/myApp.pdb is corrupted and
cant be used.
I find that this can be fixed by replacing it from the
directory /bin/debug/identical.pdb.
This still worries me as this sounds like a crap fix.

2.The second problem is less occasional but is one that
i'm tackling at the moment.
When compiling i get: Error in reading metadata from file
x.cs unspecified error(this file (x) changes between five
classes as I exclude and re-include them 3 of which are
classes, two are forms).

3.I sometimes get this error:
An unhandled exception of
type 'System.IO.FileLoadException' occurred in Unknown
Module.
Additional information: The located assembly '<Module>' is
not strongly named.
Last time it disappeared when I removed a reference to
Directory Services which I no longer needed.
This time the reference is no longer there to remove.
Error 2 usually follows this error.

4.And I usually get this error when I close the project:

(It's something like this) Unable to call invoke or
InvokeAsync. And then something about a window handle.

I really need some help with this I will be eternally
grateful to those that can help
me out and point me in the right direction.

Many thanks for listening
Simon Tamman
Vesta Money
Simon.Tam[NOSPAM]ma*@VestaMoney.co.uk

Nov 15 '05 #2

P: n/a
Jax
Nicholas,

Thankyou very much for the reply, it has been confusing me
a lot today, I do intend to re-install tomorrow as this
problem keeps appearing again and again.
I've solved it once more by simply moving one file out of
a folder compiling, getting a different error and then
putting it back !?!
I'm just worried that it wont last that long.

A re-install certainly seems to be the best option I dont
think i'm hosting 1.1, I still only have V1 on my system.
Is there any way that my code could be responsible for
these errors though? And how would that be?
I am completely self taught with the exception of a few
books so i've been worried i'm missing out some key rules
about how to design a solution properly.

Once more, a grand thanks and salute for your reply
Nicholas, and I don't think this is the first time you've
helped out. Cheers :)

jax/simon
-----Original Message-----
Simon,

It sounds like your install of the framework and/or VS.NET could behosed. Are you hosting .NET 1.1 on your machine as well? My recommendationwould be to remove VS.NET 2002, and then reinstall. Assuming your code iscorrect, you shouldn't be receiving those errors.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jax" <an*******@discussions.microsoft.com> wrote in messagenews:b1****************************@phx.gbl...
I have Visual Studio 2002 Standard Edition.
It has been working fine up to a point and now i'm at that point.
Due to the limitations of the edition i am not using any
of my own .dll's and instead have
a range of .cs classes doing that role for me. Does that
matter?

I have four errors that I just dont understand, I really
need some help on this or pointers to where I can find the right help.
I can sometimes fix these errors but they are returning
with alarming frequency and at present I cant work because of errors 2 and 3.

1.The first problem happens occasionally where it claims
that the .pdb file in obj/debug/myApp.pdb is corrupted and cant be used.
I find that this can be fixed by replacing it from the
directory /bin/debug/identical.pdb.
This still worries me as this sounds like a crap fix.

2.The second problem is less occasional but is one that
i'm tackling at the moment.
When compiling i get: Error in reading metadata from file x.cs unspecified error(this file (x) changes between five classes as I exclude and re-include them 3 of which are
classes, two are forms).

3.I sometimes get this error:
An unhandled exception of
type 'System.IO.FileLoadException' occurred in Unknown
Module.
Additional information: The located assembly '<Module>' is not strongly named.
Last time it disappeared when I removed a reference to
Directory Services which I no longer needed.
This time the reference is no longer there to remove.
Error 2 usually follows this error.

4.And I usually get this error when I close the project:

(It's something like this) Unable to call invoke or
InvokeAsync. And then something about a window handle.

I really need some help with this I will be eternally
grateful to those that can help
me out and point me in the right direction.

Many thanks for listening
Simon Tamman
Vesta Money
Simon.Tam[NOSPAM]ma*@VestaMoney.co.uk

.

Nov 15 '05 #3

P: n/a
Simon,

It is possible that there could be code that is doing this, but to be
honest, it seems like some of the internals of the framework are corrupted
(because of the corrupted LIB and OBJ files that you are getting). I don't
know of any code that would produce those results (I'm not saying it's
outside the realm of possibility, but rather, very unlikely that your code
would do it).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jax" <an*******@discussions.microsoft.com> wrote in message
news:0b****************************@phx.gbl...
Nicholas,

Thankyou very much for the reply, it has been confusing me
a lot today, I do intend to re-install tomorrow as this
problem keeps appearing again and again.
I've solved it once more by simply moving one file out of
a folder compiling, getting a different error and then
putting it back !?!
I'm just worried that it wont last that long.

A re-install certainly seems to be the best option I dont
think i'm hosting 1.1, I still only have V1 on my system.
Is there any way that my code could be responsible for
these errors though? And how would that be?
I am completely self taught with the exception of a few
books so i've been worried i'm missing out some key rules
about how to design a solution properly.

Once more, a grand thanks and salute for your reply
Nicholas, and I don't think this is the first time you've
helped out. Cheers :)

jax/simon
-----Original Message-----
Simon,

It sounds like your install of the framework and/or

VS.NET could be
hosed. Are you hosting .NET 1.1 on your machine as

well? My recommendation
would be to remove VS.NET 2002, and then reinstall.

Assuming your code is
correct, you shouldn't be receiving those errors.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jax" <an*******@discussions.microsoft.com> wrote in

message
news:b1****************************@phx.gbl...
I have Visual Studio 2002 Standard Edition.
It has been working fine up to a point and now i'm at that point.
Due to the limitations of the edition i am not using any
of my own .dll's and instead have
a range of .cs classes doing that role for me. Does that
matter?

I have four errors that I just dont understand, I really
need some help on this or pointers to where I can find the right help.
I can sometimes fix these errors but they are returning
with alarming frequency and at present I cant work because of errors 2 and 3.

1.The first problem happens occasionally where it claims
that the .pdb file in obj/debug/myApp.pdb is corrupted and cant be used.
I find that this can be fixed by replacing it from the
directory /bin/debug/identical.pdb.
This still worries me as this sounds like a crap fix.

2.The second problem is less occasional but is one that
i'm tackling at the moment.
When compiling i get: Error in reading metadata from file x.cs unspecified error(this file (x) changes between five classes as I exclude and re-include them 3 of which are
classes, two are forms).

3.I sometimes get this error:
An unhandled exception of
type 'System.IO.FileLoadException' occurred in Unknown
Module.
Additional information: The located assembly '<Module>' is not strongly named.
Last time it disappeared when I removed a reference to
Directory Services which I no longer needed.
This time the reference is no longer there to remove.
Error 2 usually follows this error.

4.And I usually get this error when I close the project:

(It's something like this) Unable to call invoke or
InvokeAsync. And then something about a window handle.

I really need some help with this I will be eternally
grateful to those that can help
me out and point me in the right direction.

Many thanks for listening
Simon Tamman
Vesta Money
Simon.Tam[NOSPAM]ma*@VestaMoney.co.uk

.

Nov 15 '05 #4

P: n/a
Could be security on the obj/debug directory or the project output
directories point to the wrong place.
Another problem could be if you have multiple projects and reference the
projects then you may need to check the compile dependency order.
But I tend to agree with Nicholas that it is in the code.

From what I can see it looks like you are developing a windows application
(Smart client?)
If so smart clients have a lot of security restrictions, for example
accessing files etc.

Hope this helps
Regards
Daryl
"Jax" <an*******@discussions.microsoft.com> wrote in message
news:0b****************************@phx.gbl...
Nicholas,

Thankyou very much for the reply, it has been confusing me
a lot today, I do intend to re-install tomorrow as this
problem keeps appearing again and again.
I've solved it once more by simply moving one file out of
a folder compiling, getting a different error and then
putting it back !?!
I'm just worried that it wont last that long.

A re-install certainly seems to be the best option I dont
think i'm hosting 1.1, I still only have V1 on my system.
Is there any way that my code could be responsible for
these errors though? And how would that be?
I am completely self taught with the exception of a few
books so i've been worried i'm missing out some key rules
about how to design a solution properly.

Once more, a grand thanks and salute for your reply
Nicholas, and I don't think this is the first time you've
helped out. Cheers :)

jax/simon
-----Original Message-----
Simon,

It sounds like your install of the framework and/or

VS.NET could be
hosed. Are you hosting .NET 1.1 on your machine as

well? My recommendation
would be to remove VS.NET 2002, and then reinstall.

Assuming your code is
correct, you shouldn't be receiving those errors.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jax" <an*******@discussions.microsoft.com> wrote in

message
news:b1****************************@phx.gbl...
I have Visual Studio 2002 Standard Edition.
It has been working fine up to a point and now i'm at that point.
Due to the limitations of the edition i am not using any
of my own .dll's and instead have
a range of .cs classes doing that role for me. Does that
matter?

I have four errors that I just dont understand, I really
need some help on this or pointers to where I can find the right help.
I can sometimes fix these errors but they are returning
with alarming frequency and at present I cant work because of errors 2 and 3.

1.The first problem happens occasionally where it claims
that the .pdb file in obj/debug/myApp.pdb is corrupted and cant be used.
I find that this can be fixed by replacing it from the
directory /bin/debug/identical.pdb.
This still worries me as this sounds like a crap fix.

2.The second problem is less occasional but is one that
i'm tackling at the moment.
When compiling i get: Error in reading metadata from file x.cs unspecified error(this file (x) changes between five classes as I exclude and re-include them 3 of which are
classes, two are forms).

3.I sometimes get this error:
An unhandled exception of
type 'System.IO.FileLoadException' occurred in Unknown
Module.
Additional information: The located assembly '<Module>' is not strongly named.
Last time it disappeared when I removed a reference to
Directory Services which I no longer needed.
This time the reference is no longer there to remove.
Error 2 usually follows this error.

4.And I usually get this error when I close the project:

(It's something like this) Unable to call invoke or
InvokeAsync. And then something about a window handle.

I really need some help with this I will be eternally
grateful to those that can help
me out and point me in the right direction.

Many thanks for listening
Simon Tamman
Vesta Money
Simon.Tam[NOSPAM]ma*@VestaMoney.co.uk

.

Nov 15 '05 #5

P: n/a
Are you using incremental compilation? That part of the compiler has proved
to be very buggy and should just generally be avoided and could be the cause
of some of your problems.

--
--Grant
This posting is provided "AS IS" with no warranties, and confers no rights.
"Jax" <an*******@discussions.microsoft.com> wrote in message
news:0b****************************@phx.gbl...
Nicholas,

Thankyou very much for the reply, it has been confusing me
a lot today, I do intend to re-install tomorrow as this
problem keeps appearing again and again.
I've solved it once more by simply moving one file out of
a folder compiling, getting a different error and then
putting it back !?!
I'm just worried that it wont last that long.

A re-install certainly seems to be the best option I dont
think i'm hosting 1.1, I still only have V1 on my system.
Is there any way that my code could be responsible for
these errors though? And how would that be?
I am completely self taught with the exception of a few
books so i've been worried i'm missing out some key rules
about how to design a solution properly.

Once more, a grand thanks and salute for your reply
Nicholas, and I don't think this is the first time you've
helped out. Cheers :)

jax/simon
-----Original Message-----
Simon,

It sounds like your install of the framework and/or

VS.NET could be
hosed. Are you hosting .NET 1.1 on your machine as

well? My recommendation
would be to remove VS.NET 2002, and then reinstall.

Assuming your code is
correct, you shouldn't be receiving those errors.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jax" <an*******@discussions.microsoft.com> wrote in

message
news:b1****************************@phx.gbl...
I have Visual Studio 2002 Standard Edition.
It has been working fine up to a point and now i'm at that point.
Due to the limitations of the edition i am not using any
of my own .dll's and instead have
a range of .cs classes doing that role for me. Does that
matter?

I have four errors that I just dont understand, I really
need some help on this or pointers to where I can find the right help.
I can sometimes fix these errors but they are returning
with alarming frequency and at present I cant work because of errors 2 and 3.

1.The first problem happens occasionally where it claims
that the .pdb file in obj/debug/myApp.pdb is corrupted and cant be used.
I find that this can be fixed by replacing it from the
directory /bin/debug/identical.pdb.
This still worries me as this sounds like a crap fix.

2.The second problem is less occasional but is one that
i'm tackling at the moment.
When compiling i get: Error in reading metadata from file x.cs unspecified error(this file (x) changes between five classes as I exclude and re-include them 3 of which are
classes, two are forms).

3.I sometimes get this error:
An unhandled exception of
type 'System.IO.FileLoadException' occurred in Unknown
Module.
Additional information: The located assembly '<Module>' is not strongly named.
Last time it disappeared when I removed a reference to
Directory Services which I no longer needed.
This time the reference is no longer there to remove.
Error 2 usually follows this error.

4.And I usually get this error when I close the project:

(It's something like this) Unable to call invoke or
InvokeAsync. And then something about a window handle.

I really need some help with this I will be eternally
grateful to those that can help
me out and point me in the right direction.

Many thanks for listening
Simon Tamman
Vesta Money
Simon.Tam[NOSPAM]ma*@VestaMoney.co.uk

.

Nov 15 '05 #6

P: n/a
Jax
Nicholas, Daryl and Grant,

Wow a great response, thankyou everyone!
I'm using a single project in the solution and I'm not
using an incremental compiler so I guess it would be
corruption within my install.
I'm re-installing today and i'll post up if this problem
continues.
Thanks again for everyones help, it's appreciated.

jax/simon
-----Original Message-----
Simon,

It is possible that there could be code that is doing this, but to behonest, it seems like some of the internals of the framework are corrupted(because of the corrupted LIB and OBJ files that you are getting). I don'tknow of any code that would produce those results (I'm not saying it'soutside the realm of possibility, but rather, very unlikely that your codewould do it).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jax" <an*******@discussions.microsoft.com> wrote in messagenews:0b****************************@phx.gbl...
Nicholas,

Thankyou very much for the reply, it has been confusing me a lot today, I do intend to re-install tomorrow as this
problem keeps appearing again and again.
I've solved it once more by simply moving one file out of a folder compiling, getting a different error and then
putting it back !?!
I'm just worried that it wont last that long.

A re-install certainly seems to be the best option I dont think i'm hosting 1.1, I still only have V1 on my system. Is there any way that my code could be responsible for
these errors though? And how would that be?
I am completely self taught with the exception of a few
books so i've been worried i'm missing out some key rules about how to design a solution properly.

Once more, a grand thanks and salute for your reply
Nicholas, and I don't think this is the first time you've helped out. Cheers :)

jax/simon
>-----Original Message-----
>Simon,
>
> It sounds like your install of the framework and/or

VS.NET could be
>hosed. Are you hosting .NET 1.1 on your machine as

well? My recommendation
>would be to remove VS.NET 2002, and then reinstall.

Assuming your code is
>correct, you shouldn't be receiving those errors.
>
> Hope this helps.
>
>
>--
> - Nicholas Paldino [.NET/C# MVP]
> - mv*@spam.guard.caspershouse.com
>
>"Jax" <an*******@discussions.microsoft.com> wrote in

message
>news:b1****************************@phx.gbl...
>> I have Visual Studio 2002 Standard Edition.
>> It has been working fine up to a point and now i'm at

that
>> point.
>> Due to the limitations of the edition i am not using any >> of my own .dll's and instead have
>> a range of .cs classes doing that role for me. Does that >> matter?
>>
>> I have four errors that I just dont understand, I really >> need some help on this or pointers to where I can find
the
>> right help.
>> I can sometimes fix these errors but they are
returning >> with alarming frequency and at present I cant work

because
>> of errors 2 and 3.
>>
>> 1.The first problem happens occasionally where it claims >> that the .pdb file in obj/debug/myApp.pdb is corrupted and
>> cant be used.
>> I find that this can be fixed by replacing it from
the >> directory /bin/debug/identical.pdb.
>> This still worries me as this sounds like a crap fix.
>>
>> 2.The second problem is less occasional but is one that >> i'm tackling at the moment.
>> When compiling i get: Error in reading metadata from

file
>> x.cs unspecified error(this file (x) changes between

five
>> classes as I exclude and re-include them 3 of which are >> classes, two are forms).
>>
>> 3.I sometimes get this error:
>> An unhandled exception of
>> type 'System.IO.FileLoadException' occurred in Unknown >> Module.
>> Additional information: The located assembly '<Module>' is
>> not strongly named.
>> Last time it disappeared when I removed a reference

to >> Directory Services which I no longer needed.
>> This time the reference is no longer there to remove.
>> Error 2 usually follows this error.
>>
>> 4.And I usually get this error when I close the project: >>
>> (It's something like this) Unable to call invoke or
>> InvokeAsync. And then something about a window handle. >>
>> I really need some help with this I will be eternally
>> grateful to those that can help
>> me out and point me in the right direction.
>>
>> Many thanks for listening
>> Simon Tamman
>> Vesta Money
>> Simon.Tam[NOSPAM]ma*@VestaMoney.co.uk
>>
>>
>
>
>.
>

.

Nov 15 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.