Cannot run VB.NET/VC#.NET applications

P

Prahalad Deshpande

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/communitie...828dbad3f2&dg=microsoft.public.dotnet.general
 
R

RobertW

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
 
P

Prahalad Deshpande

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
 
B

Bob Powell [MVP]

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top