Richard
Richard

Reputation: 23

Why is my visual studio 2008 project read-only

I'm working on a project for school, we use visual studio 2008 there and I use it at home, both are express edition. The project in question I started at school, but I cannot edit it at home, when I open the .sln I get this

"The IntelliSense information will not be available for .VC++ projects because the Intellisense database file Location/Junk.ncb could not be opened for writing.

Other features will also be affected if the solution directory is read-only."

How do I open my project so that I can edit it?

Upvotes: 2

Views: 4633

Answers (5)

Igor
Igor

Reputation: 27258

Probably because you already have this solution open in another Visual Studio window.

Upvotes: 1

zeroboo
zeroboo

Reputation: 8985

Maybe an instance of Visual Studio hang up and didn't response but it still held Junk.ncb

Upvotes: 0

John
John

Reputation: 16007

  • It's open somewhere else?
  • You saved the solution on a CD and copied the files to your hard drive? (I have to change the attributes manually on my files because the read-only attributes transfer to the copies on the hard drive.)
  • It's checked in under source control?

Upvotes: 2

Robert Harvey
Robert Harvey

Reputation: 180858

To make your solution directory writable, right-click on the solution directory, select Properties, and uncheck the Read-Only checkbox in the dialog that opens.

Upvotes: 3

James McNellis
James McNellis

Reputation: 355197

Two suggestions:

  • Make sure you don't already have the solution open in Visual Studio (this may sound dumb, but you can't open a solution in two Visual Studio instances at the same time)
  • Delete the Junk.ncb file (this file is generated by Visual Studio; it will be recreated when you reopen the solution).

Upvotes: 5

Related Questions