473,320 Members | 2,161 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 10961
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.microsoft.com ("Gary Chang[MSFT]") wrote in
news:NT**************@TK2MSFTNGXA01.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.microsoft.com ("Gary Chang[MSFT]") wrote in
news:IL**************@TK2MSFTNGXA01.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.microsoft.com ("Gary Chang[MSFT]") wrote in
news:Aa**************@TK2MSFTNGXA01.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
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...
0
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...
145
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...
4
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...
0
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()...
2
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...
4
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...
37
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...
5
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...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.