.NET FRAMEWORK 2.0 (C#) PROBLEM ???

1. I have installed .NET Framework 2.0 on my Windows XP system.
2. I do not use any special tool to compile my projects; i just use CSC
3. When i first install the framework everything works fine , csc works fine, xsd works fine; after a few command line compiles and an undefined ammount of time , a lot of tools stop working ;
for example : XSD, RESXGEN and others; they issue a ".NET Framework initialization error" "Unable to find a version of the runtime to run this application" . Incredible, ... , a few moments ago everything worked fine and now xsd and and lot's of other .NET framework tools stop working ...
Also , let's say i compile a project with csc and everything works fine; if i restart the pc and execute the program file it issues an error , either a "NET framework initialization error" , or some other kind of special error ... this happens even though the app has a App.Config file that specifies the correct version of the runtime to use ...

What is this problem I've googled lot's of info on the net but haven't been able solve the problem ...
Thanks !!!


Answer this question

.NET FRAMEWORK 2.0 (C#) PROBLEM ???

  • Steven Berger

    can u tell me hv u got the solution yet. if yes then please tell how fix this

  • klai

    Sounds like you're having some Windows setup kinda problem. You'll see "Framework initialization error" when your program cannot find/load mscorwks.dll. First thing to suspect is your virus checking tool. Panda is known to be especially hostile to .net apps...


  • Ramjane

    Hi,

    You might get this error when the .NET executable is not able to find any of the referenced dll's. Check if the referenced dll's are available to the executable before executing it.

    Regards

    Arvind T N


  • Smalldust

    TRY

    <startup>
    <requiredRuntime safemode="true" imageVersion="v2.0.50727"/>
    </startup>




  • DaveInCT

    are you connected to a network

    are you the account administrator



  • .NET FRAMEWORK 2.0 (C#) PROBLEM ???