473,418 Members | 4,041 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,418 software developers and data experts.

VS.NET 2005 Vb Compiler Errors

This really is the worst Microsoft product I have ever had the misfortune to
work with. After the excellent feattures and stability of VS.NET 2002 and
2003, I was confident enough to start a major project in beta 2 of VS 2005.
But as I began to use the Beta I had major concerns about the product and
every subsequent CTP and the RC did nothing to put ease my concerns.

I even took out an MSDN universal subscription so I could begin using the
final release as soon as possible. I really wish I hadn't. I'm just
wondering if anyone ever bothered to test this product?

On several machines, most of which are clean builds, I am spending about 25%
of my development time dismissing VB Compiler Error Message boxes. If I
want to save before closing down VS.NET, I am subjected to at least another
20 VB Compiler Error Message boxes. When I am finally able to close my
solution I have to dismiss several more VB Compiler Error Message boxes
before I get a feeble apology.

This happens randomly on several machines. It's not a particularly complex
solution but occasionally (when I can get there) I can see the errors in the
error list. For each of the nine projects in the solution I get:-

Error 73 The "Vbc" task failed unexpectedly.
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT
E_FAIL has been returned from a call to a COM component.
at Microsoft.Build.Tasks.Hosting.IVbcHostObject.EndIn itialization()
at Microsoft.Build.Tasks.Vbc.InitializeHostCompiler(I VbcHostObject
vbcHostObject)
at Microsoft.Build.Tasks.Vbc.InitializeHostObject()
at Microsoft.Build.Utilities.ToolTask.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup
projectPropertiesAvailableToTask, Boolean& taskClassWasFound) CommonObjects

So it's some COM component (at a rough guess). There are a couple of COM
components in there but only two of the projects reference them. I'm
getting this error for every single project. VS 2003 had no trouble with them
by the way.

There are some great additions to VS.NET 2005 which I really wanted/needed
to use. But if the basics (excuse the pun) no longer work, the new
additions and the entire product is nothing more than pointless.

Russ



Nov 23 '05 #1
6 1541
I've found that almost all those errors are caused by bad code from the user
from .net 2003 source upgraded... if you start a project from scratch you
see basicly nothing like that because it prevents you from writing bad code
that would cause that now...
"Russ" <Ru**@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
This really is the worst Microsoft product I have ever had the misfortune
to
work with. After the excellent feattures and stability of VS.NET 2002
and
2003, I was confident enough to start a major project in beta 2 of VS
2005.
But as I began to use the Beta I had major concerns about the product and
every subsequent CTP and the RC did nothing to put ease my concerns.

I even took out an MSDN universal subscription so I could begin using the
final release as soon as possible. I really wish I hadn't. I'm just
wondering if anyone ever bothered to test this product?

On several machines, most of which are clean builds, I am spending about
25%
of my development time dismissing VB Compiler Error Message boxes. If I
want to save before closing down VS.NET, I am subjected to at least
another
20 VB Compiler Error Message boxes. When I am finally able to close my
solution I have to dismiss several more VB Compiler Error Message boxes
before I get a feeble apology.

This happens randomly on several machines. It's not a particularly
complex
solution but occasionally (when I can get there) I can see the errors in
the
error list. For each of the nine projects in the solution I get:-

Error 73 The "Vbc" task failed unexpectedly.
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT
E_FAIL has been returned from a call to a COM component.
at Microsoft.Build.Tasks.Hosting.IVbcHostObject.EndIn itialization()
at Microsoft.Build.Tasks.Vbc.InitializeHostCompiler(I VbcHostObject
vbcHostObject)
at Microsoft.Build.Tasks.Vbc.InitializeHostObject()
at Microsoft.Build.Utilities.ToolTask.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask,
BuildPropertyGroup
projectPropertiesAvailableToTask, Boolean& taskClassWasFound)
CommonObjects

So it's some COM component (at a rough guess). There are a couple of COM
components in there but only two of the projects reference them. I'm
getting this error for every single project. VS 2003 had no trouble with
them
by the way.

There are some great additions to VS.NET 2005 which I really wanted/needed
to use. But if the basics (excuse the pun) no longer work, the new
additions and the entire product is nothing more than pointless.

Russ


Nov 23 '05 #2
So you're suggesting that Beta 2, three CTPs and a Release Candidate were
happy with my "bad code" but the developers decided to add a "let's bomb out
if we encounter a problem" feature in the final release?

"Brian Henry" wrote:
I've found that almost all those errors are caused by bad code from the user
from .net 2003 source upgraded... if you start a project from scratch you
see basicly nothing like that because it prevents you from writing bad code
that would cause that now...
"Russ" <Ru**@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
This really is the worst Microsoft product I have ever had the misfortune
to
work with. After the excellent feattures and stability of VS.NET 2002
and
2003, I was confident enough to start a major project in beta 2 of VS
2005.
But as I began to use the Beta I had major concerns about the product and
every subsequent CTP and the RC did nothing to put ease my concerns.

I even took out an MSDN universal subscription so I could begin using the
final release as soon as possible. I really wish I hadn't. I'm just
wondering if anyone ever bothered to test this product?

On several machines, most of which are clean builds, I am spending about
25%
of my development time dismissing VB Compiler Error Message boxes. If I
want to save before closing down VS.NET, I am subjected to at least
another
20 VB Compiler Error Message boxes. When I am finally able to close my
solution I have to dismiss several more VB Compiler Error Message boxes
before I get a feeble apology.

This happens randomly on several machines. It's not a particularly
complex
solution but occasionally (when I can get there) I can see the errors in
the
error list. For each of the nine projects in the solution I get:-

Error 73 The "Vbc" task failed unexpectedly.
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT
E_FAIL has been returned from a call to a COM component.
at Microsoft.Build.Tasks.Hosting.IVbcHostObject.EndIn itialization()
at Microsoft.Build.Tasks.Vbc.InitializeHostCompiler(I VbcHostObject
vbcHostObject)
at Microsoft.Build.Tasks.Vbc.InitializeHostObject()
at Microsoft.Build.Utilities.ToolTask.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask,
BuildPropertyGroup
projectPropertiesAvailableToTask, Boolean& taskClassWasFound)
CommonObjects

So it's some COM component (at a rough guess). There are a couple of COM
components in there but only two of the projects reference them. I'm
getting this error for every single project. VS 2003 had no trouble with
them
by the way.

There are some great additions to VS.NET 2005 which I really wanted/needed
to use. But if the basics (excuse the pun) no longer work, the new
additions and the entire product is nothing more than pointless.

Russ



Nov 23 '05 #3
ive had the same thing happen too... but when i dug into the code pretty far
i always traced it back to code the RTM see's as "inpropper" now... they
really made the compiler strict on a lot of things and the design
environment really strict on others...

"Russ" <Ru**@discussions.microsoft.com> wrote in message
news:A8**********************************@microsof t.com...
So you're suggesting that Beta 2, three CTPs and a Release Candidate were
happy with my "bad code" but the developers decided to add a "let's bomb
out
if we encounter a problem" feature in the final release?

"Brian Henry" wrote:
I've found that almost all those errors are caused by bad code from the
user
from .net 2003 source upgraded... if you start a project from scratch you
see basicly nothing like that because it prevents you from writing bad
code
that would cause that now...
"Russ" <Ru**@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
> This really is the worst Microsoft product I have ever had the
> misfortune
> to
> work with. After the excellent feattures and stability of VS.NET 2002
> and
> 2003, I was confident enough to start a major project in beta 2 of VS
> 2005.
> But as I began to use the Beta I had major concerns about the product
> and
> every subsequent CTP and the RC did nothing to put ease my concerns.
>
> I even took out an MSDN universal subscription so I could begin using
> the
> final release as soon as possible. I really wish I hadn't. I'm just
> wondering if anyone ever bothered to test this product?
>
> On several machines, most of which are clean builds, I am spending
> about
> 25%
> of my development time dismissing VB Compiler Error Message boxes. If
> I
> want to save before closing down VS.NET, I am subjected to at least
> another
> 20 VB Compiler Error Message boxes. When I am finally able to close
> my
> solution I have to dismiss several more VB Compiler Error Message boxes
> before I get a feeble apology.
>
> This happens randomly on several machines. It's not a particularly
> complex
> solution but occasionally (when I can get there) I can see the errors
> in
> the
> error list. For each of the nine projects in the solution I get:-
>
> Error 73 The "Vbc" task failed unexpectedly.
> System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT
> E_FAIL has been returned from a call to a COM component.
> at Microsoft.Build.Tasks.Hosting.IVbcHostObject.EndIn itialization()
> at Microsoft.Build.Tasks.Vbc.InitializeHostCompiler(I VbcHostObject
> vbcHostObject)
> at Microsoft.Build.Tasks.Vbc.InitializeHostObject()
> at Microsoft.Build.Utilities.ToolTask.Execute()
> at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
> howToExecuteTask, Hashtable projectItemsAvailableToTask,
> BuildPropertyGroup
> projectPropertiesAvailableToTask, Boolean& taskClassWasFound)
> CommonObjects
>
> So it's some COM component (at a rough guess). There are a couple of
> COM
> components in there but only two of the projects reference them. I'm
> getting this error for every single project. VS 2003 had no trouble
> with
> them
> by the way.
>
> There are some great additions to VS.NET 2005 which I really
> wanted/needed
> to use. But if the basics (excuse the pun) no longer work, the new
> additions and the entire product is nothing more than pointless.
>
> Russ
>
>
>
>
>
>
>


Nov 23 '05 #4
But this is happening when I'm editing code - and only sometimes - It works
fine for a few hours then bombs when I do something like press the Save
button. I'm very strict with my coding (I've even got rid of all the
warnings) and I'm not doing anything unusual. My colleague is getting the
same problem on an entirely different project! My guess is when other VB
developers start creating large projects, this will become a major issue with
this release. I'm going to call MSDN support and use one of my incidents -
this is losing me hours.

"Brian Henry" wrote:
ive had the same thing happen too... but when i dug into the code pretty far
i always traced it back to code the RTM see's as "inpropper" now... they
really made the compiler strict on a lot of things and the design
environment really strict on others...

"Russ" <Ru**@discussions.microsoft.com> wrote in message
news:A8**********************************@microsof t.com...
So you're suggesting that Beta 2, three CTPs and a Release Candidate were
happy with my "bad code" but the developers decided to add a "let's bomb
out
if we encounter a problem" feature in the final release?

"Brian Henry" wrote:
I've found that almost all those errors are caused by bad code from the
user
from .net 2003 source upgraded... if you start a project from scratch you
see basicly nothing like that because it prevents you from writing bad
code
that would cause that now...
"Russ" <Ru**@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
> This really is the worst Microsoft product I have ever had the
> misfortune
> to
> work with. After the excellent feattures and stability of VS.NET 2002
> and
> 2003, I was confident enough to start a major project in beta 2 of VS
> 2005.
> But as I began to use the Beta I had major concerns about the product
> and
> every subsequent CTP and the RC did nothing to put ease my concerns.
>
> I even took out an MSDN universal subscription so I could begin using
> the
> final release as soon as possible. I really wish I hadn't. I'm just
> wondering if anyone ever bothered to test this product?
>
> On several machines, most of which are clean builds, I am spending
> about
> 25%
> of my development time dismissing VB Compiler Error Message boxes. If
> I
> want to save before closing down VS.NET, I am subjected to at least
> another
> 20 VB Compiler Error Message boxes. When I am finally able to close
> my
> solution I have to dismiss several more VB Compiler Error Message boxes
> before I get a feeble apology.
>
> This happens randomly on several machines. It's not a particularly
> complex
> solution but occasionally (when I can get there) I can see the errors
> in
> the
> error list. For each of the nine projects in the solution I get:-
>
> Error 73 The "Vbc" task failed unexpectedly.
> System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT
> E_FAIL has been returned from a call to a COM component.
> at Microsoft.Build.Tasks.Hosting.IVbcHostObject.EndIn itialization()
> at Microsoft.Build.Tasks.Vbc.InitializeHostCompiler(I VbcHostObject
> vbcHostObject)
> at Microsoft.Build.Tasks.Vbc.InitializeHostObject()
> at Microsoft.Build.Utilities.ToolTask.Execute()
> at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
> howToExecuteTask, Hashtable projectItemsAvailableToTask,
> BuildPropertyGroup
> projectPropertiesAvailableToTask, Boolean& taskClassWasFound)
> CommonObjects
>
> So it's some COM component (at a rough guess). There are a couple of
> COM
> components in there but only two of the projects reference them. I'm
> getting this error for every single project. VS 2003 had no trouble
> with
> them
> by the way.
>
> There are some great additions to VS.NET 2005 which I really
> wanted/needed
> to use. But if the basics (excuse the pun) no longer work, the new
> additions and the entire product is nothing more than pointless.
>
> Russ
>
>
>
>
>
>
>


Nov 23 '05 #5
yeah I have had forms one day work perfectly, and the next day they will not
load and show a white page with a pinkish read box for a title basicly
saying i cant load this there is an error... get that a lot randomly...

"Russ" <Ru**@discussions.microsoft.com> wrote in message
news:FC**********************************@microsof t.com...
But this is happening when I'm editing code - and only sometimes - It
works
fine for a few hours then bombs when I do something like press the Save
button. I'm very strict with my coding (I've even got rid of all the
warnings) and I'm not doing anything unusual. My colleague is getting
the
same problem on an entirely different project! My guess is when other VB
developers start creating large projects, this will become a major issue
with
this release. I'm going to call MSDN support and use one of my
incidents -
this is losing me hours.

"Brian Henry" wrote:
ive had the same thing happen too... but when i dug into the code pretty
far
i always traced it back to code the RTM see's as "inpropper" now... they
really made the compiler strict on a lot of things and the design
environment really strict on others...

"Russ" <Ru**@discussions.microsoft.com> wrote in message
news:A8**********************************@microsof t.com...
> So you're suggesting that Beta 2, three CTPs and a Release Candidate
> were
> happy with my "bad code" but the developers decided to add a "let's
> bomb
> out
> if we encounter a problem" feature in the final release?
>
> "Brian Henry" wrote:
>
>> I've found that almost all those errors are caused by bad code from
>> the
>> user
>> from .net 2003 source upgraded... if you start a project from scratch
>> you
>> see basicly nothing like that because it prevents you from writing bad
>> code
>> that would cause that now...
>>
>>
>> "Russ" <Ru**@discussions.microsoft.com> wrote in message
>> news:5C**********************************@microsof t.com...
>> > This really is the worst Microsoft product I have ever had the
>> > misfortune
>> > to
>> > work with. After the excellent feattures and stability of VS.NET
>> > 2002
>> > and
>> > 2003, I was confident enough to start a major project in beta 2 of
>> > VS
>> > 2005.
>> > But as I began to use the Beta I had major concerns about the
>> > product
>> > and
>> > every subsequent CTP and the RC did nothing to put ease my concerns.
>> >
>> > I even took out an MSDN universal subscription so I could begin
>> > using
>> > the
>> > final release as soon as possible. I really wish I hadn't. I'm
>> > just
>> > wondering if anyone ever bothered to test this product?
>> >
>> > On several machines, most of which are clean builds, I am spending
>> > about
>> > 25%
>> > of my development time dismissing VB Compiler Error Message boxes.
>> > If
>> > I
>> > want to save before closing down VS.NET, I am subjected to at least
>> > another
>> > 20 VB Compiler Error Message boxes. When I am finally able to
>> > close
>> > my
>> > solution I have to dismiss several more VB Compiler Error Message
>> > boxes
>> > before I get a feeble apology.
>> >
>> > This happens randomly on several machines. It's not a particularly
>> > complex
>> > solution but occasionally (when I can get there) I can see the
>> > errors
>> > in
>> > the
>> > error list. For each of the nine projects in the solution I get:-
>> >
>> > Error 73 The "Vbc" task failed unexpectedly.
>> > System.Runtime.InteropServices.COMException (0x80004005): Error
>> > HRESULT
>> > E_FAIL has been returned from a call to a COM component.
>> > at
>> > Microsoft.Build.Tasks.Hosting.IVbcHostObject.EndIn itialization()
>> > at Microsoft.Build.Tasks.Vbc.InitializeHostCompiler(I VbcHostObject
>> > vbcHostObject)
>> > at Microsoft.Build.Tasks.Vbc.InitializeHostObject()
>> > at Microsoft.Build.Utilities.ToolTask.Execute()
>> > at
>> > Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
>> > howToExecuteTask, Hashtable projectItemsAvailableToTask,
>> > BuildPropertyGroup
>> > projectPropertiesAvailableToTask, Boolean& taskClassWasFound)
>> > CommonObjects
>> >
>> > So it's some COM component (at a rough guess). There are a couple
>> > of
>> > COM
>> > components in there but only two of the projects reference them.
>> > I'm
>> > getting this error for every single project. VS 2003 had no trouble
>> > with
>> > them
>> > by the way.
>> >
>> > There are some great additions to VS.NET 2005 which I really
>> > wanted/needed
>> > to use. But if the basics (excuse the pun) no longer work, the new
>> > additions and the entire product is nothing more than pointless.
>> >
>> > Russ
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>>
>>
>>


Nov 23 '05 #6
We experianced a problem with forms no longer loading in the new version
after creating a project from scratch with Beta 2. We loaded the release
version and all of the sudden the forms would no longer load... As we
investigated, there were two problems and both were programmer error.
They were there in Beta 2 but they never stopped us from loading forms
and editing them. Don't rule anything out.

Russ wrote:
But this is happening when I'm editing code - and only sometimes - It works
fine for a few hours then bombs when I do something like press the Save
button. I'm very strict with my coding (I've even got rid of all the
warnings) and I'm not doing anything unusual. My colleague is getting the
same problem on an entirely different project! My guess is when other VB
developers start creating large projects, this will become a major issue with
this release. I'm going to call MSDN support and use one of my incidents -
this is losing me hours.

--
---
Aaron Smith
Remove -1- to E-Mail me. Spam Sucks.
Nov 23 '05 #7

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

Similar topics

5
by: Mike Owen | last post by:
Hi, I have just used the import Wizard to import a VS 2003 app to VS 2005. I have a lot of work to do to enable it to compile successfully with all the errors and warnings it gave me, but as a...
6
by: sathyashrayan | last post by:
Following are the selected thread from the date:30-jan-2005 to 31-jan-2005. I did not use any name because of the subject is important. You can get the original thread by typing the subject...
11
by: Peter Oliphant | last post by:
I've been trying all morning to convert my 2003 project (managed) to 2005 (/clr since I have both managed and unmanaged code). I'm guessing I have tens of thousands of lines of code to change. Did...
4
by: ARF | last post by:
I'm testing AutoCAD 2005 automation via VS2005 Pro C++/CLR and I'm getting fatal compiler errors. I start with a default C++/CLR class library project and modify it by adding the following...
0
by: Jim Heavey | last post by:
Hello, I am attempting to move an ASP.Net application from 2003 to 2005. I did not open the application up in 2005, but rather created a new application and moved all the components into the new...
3
by: carl | last post by:
I will be in charge of maintaining a VC6 written application, and I have Visual Studio 2005. They have sent a few 'compilable' programs to me and when I put them in VS2005 there's all kinds of...
2
by: VB | last post by:
Hi, I was attempting to implement partial specialization using VC 2005. However i cannot get my code to compile :( .. Can you please help me? template <typename TYPE1> class myClass<TYPE1,...
10
by: kimiraikkonen | last post by:
Visual C#.NET 2005 express has some issues, unlike VB.NET 2005 has none of them: The most annoying one is: For example if there's a coding error, it must be reported at the buttom of the screen...
2
by: Peted | last post by:
Hi, im moving a project from vs2005 to vs 2008. is doing so i have come across a compiler error regarding partial classes that i dont understand if anyone can explain it to me please the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.