Link to home
Start Free TrialLog in
Avatar of cakirfatih
cakirfatih

asked on

Have to reinstall Visual Studio

hi guys,

i had to uninstall the . NET Framework from my Win 2k sever computer. I had Visual Studio installed at the same time.

Now i reinstall the  .NET Framwork 1.1 from Windows update site, but i cannot open the projects in Visul Studio anymore.

Message says that  Project could not be opened because the Microsoft  Visual Basic .NET compiler could not be created. Cannot find the .NET framework directory:System Error &H80131700&.

At some point it gave a message to reinstall the Visual Studio.

IS there a way to fix this problem without uninstall and reinstalling Visual Studio.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of andrewpk
andrewpk
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DotNetLover_Baan
DotNetLover_Baan

Reinstall ur .Net Framework... again. reboot ur computer. Keep in mind while reinstalling, no VS application should be running.
The following error message appears:
Project 'myproject' could not be opened because the Microsoft Visual Basic .NET compiler could not be created. Cannot find .NET Framework directory: System Error &H80131700&
--------------------------------------------------------------------------------
Solution
   This could be a sign of corruption, and may require a reinstall of visual studio, but before performing an install, check the following:

Microsoft allows the for multiple versions of the .net framework to run side by side. Applications at run time are geared to use the latest version of the framework.
The development environment is not as flexible. If you have added a newer version of the framework and removed the old version, you may get the above error.
to resolve: install the needed version of the .net framework that the development environment is expecting. you can determine which version of the framework the development environment is expecting by clicking help/about from the IDE

andrew
Avatar of cakirfatih

ASKER

I had the 2002 version, so framework 1.1 would not work .
i uninstalled that , and installed the 1.0 version
and then updated from windows update

it works well noww
thanks for the help
great, good to hear.  I recently had a user with the same problem, so that came to mind.
Only problem with sticking to the .net 1.0 framework is that you can't then use the new .net 1.1 libraries (i.e. the Odbc namespace) without a lot of trouble in getting VS .NET (not 2003) edition to recognise that the libraries exist, even when these features are installed separately. (sorry I can't propose a solution, but just highlighting a problem)
Scratch the Odbc bit... I found a separate download for it (ODBC .NET) on the microsoft download center that works with VS .NET  2002 and .NET 1.0 as long as you have MDAC 2.8 installed. (You have to add a reference to x:\Program Files\Microsoft .Net\Odbc .NET\Microsoft.Data.Odbc.dll" to your solution.)
Still a fair amount of messing about to get it to work though.