473,569 Members | 2,916 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VS8 C# error - "compiler could not be created."

In my office, we have workstations with standard Win 2000 images (OS plus
standard apps like Office, etc.) as developers, we then install our
development tools on top of those images. other developers in my office
have installed VS8 and use it with no problems. however, on a new
workstation that I recently got, I have installed VS8, and get this error
whenever I try to access a C# project or create a new C# project:

"Project 'XYZ' could not be opened because the Microsoft Visual C#
compiler could not be created. Please re-install Visual Studio."

I have tried repairing VS, and uninstall/reinstall of VS, with no
resolution, this error does not go away.

Googling on this problem, I've seen messages talking about problems with
the PATH or other environment variable settings, but I've checked them
against functional machines, and they are the same.

I am about ready to have the machine re-imaged clean to try again, but if
anyone here has any insight on how to resolve this problem, I would
appreciate the help.

Thanks.

-- Mike J
Apr 20 '06 #1
8 10982
Hi Mike,
"Project 'XYZ' could not be opened because the Microsoft
Visual C# compiler could not be created. Please re-install
Visual Studio."


Such a problem also happens when the Visual Studio could not find its
corresponding .NET Framework. In this regards, I suggest you try to
reinstall the .NET Framework 2.0 for a test.

By the way, according to your description, do you mean this problem only
occurs in your virtual machine?

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 21 '06 #2
v-******@online.m icrosoft.com ("Gary Chang[MSFT]") wrote in
news:NT******** ******@TK2MSFTN GXA01.phx.gbl:
Hi Mike,
"Project 'XYZ' could not be opened because the Microsoft
Visual C# compiler could not be created. Please re-install
Visual Studio."
Such a problem also happens when the Visual Studio could not find its
corresponding .NET Framework. In this regards, I suggest you try to
reinstall the .NET Framework 2.0 for a test.


thanks for responding.

tried it. now it's getting weirder. now it alternates between the old
message and a new one: "Attempted to read or write protected memory.
This is often an indication that other memory is corrupt."

I'm running a memory tester on the computer now, but so far the physical
memory is coming up fine.

any other ideas?
By the way, according to your description, do you mean this problem
only occurs in your virtual machine?


no, the native operating system is win 2000. our PC deployment people
have a standard ghost image that they use to install the OS on new PCs.

-- Mike J
Apr 21 '06 #3
Hi Mike,

Thanks for the response!

I have already checked our database for this issue, but I didn't find a
similar case. In this scenario, it appears to be a machine specific
problem. I am afraid you need a re-imaged machine and have a clean Visual
Studio 2005 installation to workaround this problem.

If you have any issues or concerns, please let me know. It's my pleasure to
be of assistance.

Thanks for your understanding.

Best regards,

Gary Chang
Microsoft Online Community Support
=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 24 '06 #4

This has become quite aggevating. I just had my development box re-
images with a clean OS plus standard apps, that everyone in my office
has. did nothing else with it. installed VS. same problem, getting the
two error messages (cannot create C# compiler, and corrupt memory.)

decided to try it out with a VB project, same error (cannot create VB
compiler...)

any more help would be appreciated. thanks.

v-******@online.m icrosoft.com ("Gary Chang[MSFT]") wrote in
news:IL******** ******@TK2MSFTN GXA01.phx.gbl:
I have already checked our database for this issue, but I didn't find
a similar case. In this scenario, it appears to be a machine specific
problem. I am afraid you need a re-imaged machine and have a clean
Visual Studio 2005 installation to workaround this problem.

Apr 26 '06 #5
No idea yet, Mike.

Could that machine run any .Net Framework 2.0's application?

Best regards,

Gary Chang
Microsoft Online Community Support
=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 28 '06 #6
v-******@online.m icrosoft.com ("Gary Chang[MSFT]") wrote in
news:Aa******** ******@TK2MSFTN GXA01.phx.gbl:
No idea yet, Mike.

Could that machine run any .Net Framework 2.0's application?


yes. I just had a co-worker create a little Hello World win-app, and it
runs fine on the troubled computer.

May 1 '06 #7
Hi Mike,

Based on my experience, there is a similiar issue in VS 2003 when dealing
with project that has long path (under complex folder hierarchy) which is
about to exceed the OS path limitation. Is the project try accessing that
report the error also under a deep folder hierarchy?(like the document
settings ..... my document ......) If so, you can try moving the project
to a driver's root folder and try accessing it again. In addition, you can
also use filemon tool to trace the file system accessing during the VS IDE
opening or creating projects to see whether there is any file accessing
failure.....

Hope this helps a little

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

May 2 '06 #8
problem resolved: it was bad memory.

our PC Staging people swapped out the memory, then I uninstalled and
reinstalled VS8, and now it's working.

May 10 '06 #9

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

Similar topics

0
417
by: Martin | last post by:
When I open MySQL Control Center, it shows "server properties" window when the server is selected on the left pane. One of the property is "date created". I have not found this variable in server and status variables .... Does anyone know how to read this variable using MySQL SQL query or MySQL API (not file system, etc. ) ? Martin
0
1250
by: Sotiris Filippidis | last post by:
Does anybody have a decent solution for the "Compiler could not be created" error message that appears when starting VS.NET 2003? I've got a side-by-side installation with VS.NET 2002. VS.NET 2002 works fine. VS.NET 2003 can't open any project due to the above error. I've reinstalled Framework 1.0. No change. I've reinstalled Framework...
145
6193
by: Sidney Cadot | last post by:
Hi all, In a discussion with Tak-Shing Chan the question came up whether the as-if rule can cover I/O functions. Basically, he maintains it can, and I think it doesn't. Consider two programs: /*** a.c ***/
4
3310
by: David Sworder | last post by:
Consider the following line of code (it's not important what it does): resp.DocItem=Relations.SelectDocItems_BySearchString(req.SearchPhrase); It turns out that this line is in error. The property 'DocItem' should be 'DocItems.' The problem is that instead of notifying me of where the problem has occurred, the compiler just crashes with an...
0
1748
by: Hendrik Schober | last post by:
Hi, in one file had fatal error C1055: compiler limit : out of keys for this void f() {__LINE__;} at the top of the file. I didn't get the error for these: void f() {__FILE__;} void f() {__DATE__;}
2
8457
by: Tommy Vercetti | last post by:
I am working on a Managed C++ project and I get the following error: TestThread.cpp(3) : error C2859: c:\projects\ProjectName\debug\vc70.pdb is not the pdb file that was used when this precompiled header was created, recreate the precompiled header. Why would I get this error? How do I rebuild the precompiled header? Clean Solution,...
4
2404
by: mcwooq | last post by:
Hi, I just installed the VS.Studio 2005 Team Edition for Developper and encountered severe problems with debugging ASP.NET 2.0 projects. Even newly empty created ASP 2.0 projects can't debug (setting breakpoint in page_load()). I'm getting the following message: "Unable to start debugging on the web server. An error occurred that usually...
37
3912
by: jht5945 | last post by:
For example I wrote a function: function Func() { // do something } we can call it like: var obj = new Func(); // call it as a constructor or var result = Func(); // call it as a function
5
2578
by: Gianni Mariani | last post by:
I'm hoping someone can tell me why using member address of works and why using the dot operator does not in the code below. The code below uses the template function resolution mechanism to determine wether a class contains a member. My understanding is that if a template function has an error during resolution of the function types, it is...
0
7605
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7917
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8118
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...
1
7665
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...
0
6277
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...
0
3651
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...
1
2105
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
933
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...

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.