473,809 Members | 2,708 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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:
"Applicatio n Failed to initialize correctly(0xC00 0007b).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 3978
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:
"Applicatio n Failed to initialize correctly(0xC00 0007b).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(no t 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:
"Applicatio n Failed to initialize correctly(0xC00 0007b).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.comw rote in
message news:03******** *************** ***********@mic rosoft.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(no t 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:
"Applicatio n Failed to initialize correctly(0xC00 0007b).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
775
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 to link to the application server installed but we every now and then get a error when we try to make a call to a component running on the app server. The error message is something like Object reference not set to an instance of an objec at...
8
5484
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 -------------------------------------------------------------------------------- Hello, I have a very simple problem but cannot seem to figure it out. I have a very simple php script that sends a test email to myself. When I debug it in PHP designer, it works with no problems, I get the test email. If
10
4479
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 Enterplise Linux 3 ES, and applied FixPack fp5_mi00069.tar to it. After creating an instance, starting the database, creating a database, and entering the table definitions, all of which seems to work OK, I entered a tiny 8-row table and can do...
1
3641
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. Instead of getting my Web page, or the Web Service page, I get a page full of error text (below). I am hoping the anwser will be obvious to someone. I've tried a few things to address the problem, including
6
1864
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: Unable to start debugging on the web server. Access is denied." The only thing I've done recently was installing all the latest Microsoft
4
7883
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 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. Instead of getting my Web page, or the Web Service page, I get a page full of error text...
2
9783
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 components are not installed on the local Web server. Run Visual Studio .NET setup and add the Web Development commponent." So I ran the Visual Studio .NET setup and added the Web Development component...and get the same problem. The thing is that...
8
10785
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 access the Classic ASP components of the application you are presented with this useless error message: "The system cannot find the file specified" The ASP.NET applications are contained within one directory, for instance...
4
3246
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 = moWorkBook.Worksheets(liSheetNum) moSheet.Delete() moSheet = moWorkBook.Worksheets(liSheetNum) moSheet.Delete()
1
2044
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 applications use the Microsoft Enterprise Library dlls and have them located in their respective bin directories. Everything works fine on my development machine.
0
10376
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10379
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10115
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9199
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7660
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5687
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3014
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.