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

Cannot run VB.NET/VC#.NET applications

Hi All,

I am facing a show stopper problem with my development environment. I have
VS2005 installed on my system. I wrote a simple C# application that does
nothing more than print a Hello World on the screen. I build the application
successfully. However when I try to run the application eithe via the .NET
IDE or by going to the folder where the executable is placed and double
clicking on it I get the following error:
"Application Failed to initialize correctly(0xC000007b).Click OK to
terminate the application".
This error also occurs evn with a VB.NET application.
I have been running the current installation of VS2005 for the past six
months. I started encountering this problem after I started Assembly Binding
logging. However even after I disable the Assembly binding log this error
does not seem to go away.

I have tried reinstalling VS 2005; installing a different and older version
of VS.NET ( VS2002) but still the error persists.
One additional point to mention is that I am not even able to run the
basic tools like "resgen.exe" and "genasm.exe" from the Visual Studio command
prompt as these terminate with the same error.

Disabling the antivirus and firewalls does not help either.
Does assembly binding logger have something to do wih this? I have tried all
methods of debugging and am still not able to guess the cause of the problem.

Please help me out to find a work around for this strange error that I am
encountering as my development tasks are stuck and cannot progress.

Thanks in advance for the help

Prahalad
----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/communities...dotnet.general
Dec 10 '07 #1
3 3938
It sounds like anything that is .net won't run (including tools you haven't
built that came with the compiler/sdk), not just stuff generated by the IDE.
I would suggest, perhaps, reinstalling the .net framework on your PC, without
knowing anything about what the error message(s) mean. This would seem to me
to be a logical first step, unless you are sure there are some .net apps that
run on your system. It's possible they became corrupt (?) after either a
virus or perhaps something as simple as a crash (blue screen) or some other
improper system shutdown.

You didn't mention what your operating system was or what version of .net
you were using.

-Rob

"Prahalad Deshpande" wrote:
Hi All,

I am facing a show stopper problem with my development environment. I have
VS2005 installed on my system. I wrote a simple C# application that does
nothing more than print a Hello World on the screen. I build the application
successfully. However when I try to run the application eithe via the .NET
IDE or by going to the folder where the executable is placed and double
clicking on it I get the following error:
"Application Failed to initialize correctly(0xC000007b).Click OK to
terminate the application".
This error also occurs evn with a VB.NET application.
I have been running the current installation of VS2005 for the past six
months. I started encountering this problem after I started Assembly Binding
logging. However even after I disable the Assembly binding log this error
does not seem to go away.

I have tried reinstalling VS 2005; installing a different and older version
of VS.NET ( VS2002) but still the error persists.
One additional point to mention is that I am not even able to run the
basic tools like "resgen.exe" and "genasm.exe" from the Visual Studio command
prompt as these terminate with the same error.

Disabling the antivirus and firewalls does not help either.
Does assembly binding logger have something to do wih this? I have tried all
methods of debugging and am still not able to guess the cause of the problem.

Please help me out to find a work around for this strange error that I am
encountering as my development tasks are stuck and cannot progress.

Thanks in advance for the help

Prahalad
----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/communities...dotnet.general
Dec 10 '07 #2
Hi Robert,
Thanks for the quick reply. Well I realized I did miss out supplying the OS
details yesterday.

Well I am running Windows XP Sp2 on a P4 2.00 GHz box with 512 MB RAM.
One more point I would like to bring to your notice is that I am able to run
ildasm.exe and the Fusion log viewer (Fuswlog.exe) from the SDK.

Even C++ applications(not having any managed code in them) built by the IDE
does not work. And as mentioned earlier reinstallation and repair does not
seem to resolve the problem

Thanks once again for your time on this

Regards
Prahalad

"RobertW" wrote:
It sounds like anything that is .net won't run (including tools you haven't
built that came with the compiler/sdk), not just stuff generated by the IDE.
I would suggest, perhaps, reinstalling the .net framework on your PC, without
knowing anything about what the error message(s) mean. This would seem to me
to be a logical first step, unless you are sure there are some .net apps that
run on your system. It's possible they became corrupt (?) after either a
virus or perhaps something as simple as a crash (blue screen) or some other
improper system shutdown.

You didn't mention what your operating system was or what version of .net
you were using.

-Rob

"Prahalad Deshpande" wrote:
Hi All,

I am facing a show stopper problem with my development environment. I have
VS2005 installed on my system. I wrote a simple C# application that does
nothing more than print a Hello World on the screen. I build the application
successfully. However when I try to run the application eithe via the .NET
IDE or by going to the folder where the executable is placed and double
clicking on it I get the following error:
"Application Failed to initialize correctly(0xC000007b).Click OK to
terminate the application".
This error also occurs evn with a VB.NET application.
I have been running the current installation of VS2005 for the past six
months. I started encountering this problem after I started Assembly Binding
logging. However even after I disable the Assembly binding log this error
does not seem to go away.

I have tried reinstalling VS 2005; installing a different and older version
of VS.NET ( VS2002) but still the error persists.
One additional point to mention is that I am not even able to run the
basic tools like "resgen.exe" and "genasm.exe" from the Visual Studio command
prompt as these terminate with the same error.

Disabling the antivirus and firewalls does not help either.
Does assembly binding logger have something to do wih this? I have tried all
methods of debugging and am still not able to guess the cause of the problem.

Please help me out to find a work around for this strange error that I am
encountering as my development tasks are stuck and cannot progress.

Thanks in advance for the help

Prahalad
----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/communities...dotnet.general
Dec 11 '07 #3
I seriously suggest you upgrade that PC. 522 mb is pretty slim.

--
--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Prahalad Deshpande" <Pr***************@discussions.microsoft.comwrot e in
message news:03**********************************@microsof t.com...
Hi Robert,
Thanks for the quick reply. Well I realized I did miss out supplying the
OS
details yesterday.

Well I am running Windows XP Sp2 on a P4 2.00 GHz box with 512 MB RAM.
One more point I would like to bring to your notice is that I am able to
run
ildasm.exe and the Fusion log viewer (Fuswlog.exe) from the SDK.

Even C++ applications(not having any managed code in them) built by the
IDE
does not work. And as mentioned earlier reinstallation and repair does not
seem to resolve the problem

Thanks once again for your time on this

Regards
Prahalad

"RobertW" wrote:
>It sounds like anything that is .net won't run (including tools you
haven't
built that came with the compiler/sdk), not just stuff generated by the
IDE.
I would suggest, perhaps, reinstalling the .net framework on your PC,
without
knowing anything about what the error message(s) mean. This would seem
to me
to be a logical first step, unless you are sure there are some .net apps
that
run on your system. It's possible they became corrupt (?) after either a
virus or perhaps something as simple as a crash (blue screen) or some
other
improper system shutdown.

You didn't mention what your operating system was or what version of .net
you were using.

-Rob

"Prahalad Deshpande" wrote:
Hi All,

I am facing a show stopper problem with my development environment. I
have
VS2005 installed on my system. I wrote a simple C# application that
does
nothing more than print a Hello World on the screen. I build the
application
successfully. However when I try to run the application eithe via the
.NET
IDE or by going to the folder where the executable is placed and double
clicking on it I get the following error:
"Application Failed to initialize correctly(0xC000007b).Click OK to
terminate the application".
This error also occurs evn with a VB.NET application.
I have been running the current installation of VS2005 for the past six
months. I started encountering this problem after I started Assembly
Binding
logging. However even after I disable the Assembly binding log this
error
does not seem to go away.

I have tried reinstalling VS 2005; installing a different and older
version
of VS.NET ( VS2002) but still the error persists.
One additional point to mention is that I am not even able to run the
basic tools like "resgen.exe" and "genasm.exe" from the Visual Studio
command
prompt as these terminate with the same error.

Disabling the antivirus and firewalls does not help either.
Does assembly binding logger have something to do wih this? I have
tried all
methods of debugging and am still not able to guess the cause of the
problem.

Please help me out to find a work around for this strange error that I
am
encountering as my development tasks are stuck and cannot progress.

Thanks in advance for the help

Prahalad
----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the
"I
Agree" button in the message pane. If you do not see the button, follow
this
link to open the suggestion in the Microsoft Web-based Newsreader and
then
click "I Agree" in the message pane.

http://www.microsoft.com/communities...dotnet.general
Dec 11 '07 #4

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

Similar topics

8
by: Carel Lotz | last post by:
H We have ported our VB 6 application into VB .NET but are still integrating with a few COM + applications written in VB6 running on our application server (Win 2000 Server). We have the proxies...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
10
by: Jean-David Beyer | last post by:
I have some programs running on Red Hat Linux 7.3 working with IBM DB2 V6.1 (with all the FixPacks) on my old machine. I have just installed IBM DB2 V8.1 on this (new) machine running Red Hat...
1
by: Chris | last post by:
I built small C# Web and Web Service applications in a training class last week. The applications worked in the class, but when I tried to run them again over the weekend, they both bombed....
6
by: Peter Afonin | last post by:
Hello: I'm running Windows server 2003. I've never had any problems with debugging, but now I cannot debug ANY of my projects. I'm getting this error: "Error while trying to run project:...
4
by: Chris | last post by:
I posted this in the C# language group, then thought it might be more appropriate in this group. I would not cross-post except I want the answer so badly. I built small C# Web and Web Service...
2
by: Jay Bienvenu | last post by:
I cannot create new Web applications in Visual Studio .NET 2003. I get this error message: "Visual Studio .NET cannot create or open the application. The likeliest problem is that required...
8
by: Michael | last post by:
I am running a web server (IIS) on Windows 2003 SP 1. My ASP.NET C# applications run fine. However, my application is a combination of Classic ASP and C#. For some reason when you attempt to...
4
by: Patrick | last post by:
I have a middle tier object that generates Excel spreadsheet here is the code moExcel = CreateObject("Excel.Application") moWorkBook = moExcel.Workbooks.Add moSheet =...
1
by: Simon Harvey | last post by:
Hi everyone, If anyone can help me with the following - I would be VERY grateful. I need to deploy an 2 ASP.net applications that I've been creating onto one of our live servers. Both...
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: 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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.