CSS Source Editor won't open in Visual Studio 2010 Professional
-
venerdì 1 luglio 2011 15:11
The title more or less says it all. I'm trying to open a .css file from my App_Theme folder and when I click the file I get an alert box which reads, "The Operation could not be completed. Unspecified Error"
Things I've tried:- Double-clicking the .css file
- Right-clicking the .css file and trying to open with CSS Source Editor
- Rebooting my machine.
- Creating a new project to see if this is localized to my current project
- Reinstalled Visual Studio 2010 Professional (via Repair function, which triggered a new download of the software.)
Does anyone have a suggestion for fixing this? Is there a way I can download a new CSS Source Editor in hopes it'll over-write the one that isn't loading?
Tutte le risposte
-
lunedì 4 luglio 2011 05:48Moderatore
Hi Rockstarter,
Welcome to the MSDN forum.
First, could you please try to open the .css file on any other computer to see if the problem is related to your .css file?
Here are my suggestions:
· Please try to run devenv /ResetSettings (in command prompt) to eliminate the related potential settings problem.
· Try disabling Add-ins (e.g. “Tools” | “Add-in Manager”) or run “devenv.exe /SafeMode”.This can eliminate the possibility that third party Add-ins or packages are causing problems. (For more detailed VS command line switches information, see: http://msdn2.microsoft.com/en-us/library/xee0c8y7.aspx)
· Try creating a new project. Sometimes corrupted project settings can cause problems. These are project specific.
· Try to create a new user account. This can help isolate user profile corruption related causes.
If the problem is not be resolved after these steps, could you please collect the crash information using devenv switch?
First, we should create the log file.(Start Menu>>Run>>Type “devenv /Log”) After this step, the log file has been created. Please try to open the .css file as usual. Then We can open the file.(Start Menu>>Run>>Type “%APPDATA%\Roaming\Microsoft\VisualStudio\<version>\ActivityLog.xml.”) Then you can send the ActivityLog.xml to me. (E-mail: v-alsun_at_microsoft_dot_com)
Note: Please attach the link of this post in the mail.
If you have any other concerns, please feel free to let me know.
Best Regards,
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

- Contrassegnato come risposta Alexander SunModerator lunedì 18 luglio 2011 10:13
- Contrassegno come risposta annullato Rockstarter mercoledì 23 novembre 2011 16:46
- Contrassegnato come risposta Rockstarter mercoledì 23 novembre 2011 16:46
-
martedì 5 luglio 2011 13:59
Hey Alexander,
I copied my solution over to another machine and the .css file opened without problems. I tried your suggestions and nothing worked so I'm sending you the activity log. When I opened visual studio I clicked the .css file and got the error. I went to the folder in AppData where the .xml file was held and I saw the size was 0kb, so I tried opening it. It said another app had it locked (Visual Studio) so I went back into visual studio and clicked the .css file again. Then I closed visual studio.
Just wanted to explain that in case you see two attempts to open the .css in the log I sent to you. -
giovedì 7 luglio 2011 09:43Moderatore
Hi Rockstarter,
Thank you for your reply.
Based on your log, there are no fatal error at all. In my opinion, this problem probably caused by corrupt files of Visual Studio. Thus I recommend you uninstall your Visual Studio via Visual Studio 2010 Uninstall Utility: http://archive.msdn.microsoft.com/vs2010uninstall
Please run this tool as the complete mode:
Complete (VS2010_Uninstall-RTM.ENU.exe /full /netfx)
Removes entire set of Visual Studio 2010 and supporting products, including Microsoft .NET Framework 4.0 and components shared with previous versions of Visual Studio. Note: may break features of previous versions of Visual Studio or other products taking dependency on Microsoft .NET Framework 4.0.
Second, follow these steps to install Visual Studio 2010:
- Please download the ISO files of Visual Studio 2010 Professional from here: http://www.microsoft.com/visualstudio/en-us/try
- Extract the ISO files to your local hard disk.
- Complete or dismiss Windows Updates before installation (but turn on Windows Update service).
- Clean up your “%temp%” folder (Start>>Run>>%temp%).
- Check if there are any anti-virus or antispyware applications running. Make sure they are turned off during installation.
- Run the setup file with Administrator privileges: Right-click the installer > Run as administrator.
If you have any other concerns, please feel free to let me know.
Best Regards,
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

-
venerdì 8 luglio 2011 17:58
Hi Alexander,
I have the same problem. I found out it happens after installing the visual studio lightswitch beta 2. Right after installing this the default CSS Source Editor is not working anymore.
Can you find a proper solution?
Thnx,
Gerrit
-
martedì 12 luglio 2011 03:32Moderatore
Hi Gerrit,
Welcome to the MSDN forum.
First, I recommend you create a new thread to ask your question. If everything will be ok after you uninstall Visual Studio LightSwitch Beta 2, I recommend you go to the Visual Studio LightSwitch forum to ask for helps.
Thanks.
Best Regards,
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

-
giovedì 14 luglio 2011 15:18
Hi all, will try to uninstall since nothing else seems to work for me.
Just wanted to let Alexander know that the same started to happen to me after the the Windows Azure tools were installed.
Regards
http://bit.ly/sebagomez -
venerdì 15 luglio 2011 08:33Moderatore
Hi Sebastian,
Thank you for your sharing.
Rockstarter, could you please try to check if you have installed Windows Azure Tools?
If you have any other concerns, please feel free to let me know.
Best Regards,
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

-
giovedì 28 luglio 2011 17:21emailing you with my dump!
-
martedì 16 agosto 2011 15:12I've run into the same issue after installing the "Windows Phone Developer Tools 7.0" and then having to reinstall SP1 for visual studio. Still looking for a solution short of reinstalling. I've created a log an there were no obvious issues there.
-
martedì 6 settembre 2011 02:25
Did you install the Web Standards Update for Visual Studio 2010 SP1? It was released about two weeks before your (Rockstarter) original post and promised all kinds of great enhancements for HTML 5 and CSS3. For me one enhancement was I could no longer edit .css files in Visual Studio 2010 or Visual Web Developer Express 2010. Once I uninstalled that update my .css editing worked in both tools again.
Link to the update:
http://visualstudiogallery.msdn.microsoft.com/a15c3ce9-f58f-42b7-8668-53f6cdc2cd83
- Proposto come risposta ClausP giovedì 22 settembre 2011 12:31
- Contrassegnato come risposta Rockstarter mercoledì 23 novembre 2011 16:46
-
venerdì 16 settembre 2011 16:47
This solved it for me.Did you install the Web Standards Update for Visual Studio 2010 SP1? It was released about two weeks before your (Rockstarter) original post and promised all kinds of great enhancements for HTML 5 and CSS3. For me one enhancement was I could no longer edit .css files in Visual Studio 2010 or Visual Web Developer Express 2010. Once I uninstalled that update my .css editing worked in both tools again.
Link to the update:
http://visualstudiogallery.msdn.microsoft.com/a15c3ce9-f58f-42b7-8668-53f6cdc2cd83
-
domenica 18 settembre 2011 02:51
This solved it for me.
x2
Sincerely,
Todd M. Taylor -
giovedì 22 settembre 2011 02:50
This solved the same problem (unable to edit .css files in Visual Studio 2010) for me as well.Did you install the Web Standards Update for Visual Studio 2010 SP1? It was released about two weeks before your (Rockstarter) original post and promised all kinds of great enhancements for HTML 5 and CSS3. For me one enhancement was I could no longer edit .css files in Visual Studio 2010 or Visual Web Developer Express 2010. Once I uninstalled that update my .css editing worked in both tools again.
Link to the update:
http://visualstudiogallery.msdn.microsoft.com/a15c3ce9-f58f-42b7-8668-53f6cdc2cd83
-
domenica 25 settembre 2011 01:59
I re-downloaded this and ran repair and it worked for me. Thank you.Did you install the Web Standards Update for Visual Studio 2010 SP1? It was released about two weeks before your (Rockstarter) original post and promised all kinds of great enhancements for HTML 5 and CSS3. For me one enhancement was I could no longer edit .css files in Visual Studio 2010 or Visual Web Developer Express 2010. Once I uninstalled that update my .css editing worked in both tools again.
Link to the update:
http://visualstudiogallery.msdn.microsoft.com/a15c3ce9-f58f-42b7-8668-53f6cdc2cd83
Mastro -
domenica 25 settembre 2011 21:59
Just to give an update since I vanished from this thread...
I resolved the issue before 3 Putt Bogey's reply by backing up all my projects and doing a complete re-installation of Visual Studio. I'd certainly try the solution proposed by 3 Putt before going through the re-install.
To follow up with Alexander's question about Azure... I don't believe that I had that installed. It's been so long though.
-
lunedì 3 ottobre 2011 14:42
Did you install the Web Standards Update for Visual Studio 2010 SP1? It was released about two weeks before your (Rockstarter) original post and promised all kinds of great enhancements for HTML 5 and CSS3. For me one enhancement was I could no longer edit .css files in Visual Studio 2010 or Visual Web Developer Express 2010. Once I uninstalled that update my .css editing worked in both tools again.
Link to the update:
http://visualstudiogallery.msdn.microsoft.com/a15c3ce9-f58f-42b7-8668-53f6cdc2cd83
Solved for me too... thanks
http://bit.ly/sebagomez -
domenica 9 ottobre 2011 21:35
Just thought I'd throw in that this fixed the issue for me as well. Thanks for sharing.Did you install the Web Standards Update for Visual Studio 2010 SP1? It was released about two weeks before your (Rockstarter) original post and promised all kinds of great enhancements for HTML 5 and CSS3. For me one enhancement was I could no longer edit .css files in Visual Studio 2010 or Visual Web Developer Express 2010. Once I uninstalled that update my .css editing worked in both tools again.
Link to the update:
http://visualstudiogallery.msdn.microsoft.com/a15c3ce9-f58f-42b7-8668-53f6cdc2cd83
-
giovedì 13 ottobre 2011 14:38
Did you install the Web Standards Update for Visual Studio 2010 SP1? It was released about two weeks before your (Rockstarter) original post and promised all kinds of great enhancements for HTML 5 and CSS3. For me one enhancement was I could no longer edit .css files in Visual Studio 2010 or Visual Web Developer Express 2010. Once I uninstalled that update my .css editing worked in both tools again.
Link to the update:
http://visualstudiogallery.msdn.microsoft.com/a15c3ce9-f58f-42b7-8668-53f6cdc2cd83
Yet another thank you, solved it for me post:
I'll add a little bit: I went to VS -> Tools -> Extension Manager. The Web Standard update wasn't listed as installed. I then went to the Online gallery and found it. I tried to install it, and was prompted to remove or repair. Repair repeatedly gave a strange network error. Finally I removed the extension. This worked, and my CSS opened.
Then I went pack through the same path and installed the Web Standards Update extension. It installed successfully, and I can still open my .css file.
- Proposto come risposta Christopher Broome mercoledì 3 ottobre 2012 17:51
-
giovedì 13 ottobre 2011 22:34Exactly, it works for me too!!!! Thanks a lot for sharing the solution.
-
venerdì 23 dicembre 2011 19:21******* This is a very cool tool and works fine when:
I uninstalled the VS2010 SDK and installed VS2010 SDK SP1 (install says delete old sdk unlike other service packs) and everything works as should. Super great tool guys. Thanks.
Great tool like CSSCop. Collasping regions are a time saver and the display of the file contents is way easier on my eyes - out of box.- Proposto come risposta Prontoware venerdì 23 dicembre 2011 19:21
- Proposta come risposta annullata Rockstarter lunedì 13 febbraio 2012 03:06
-
giovedì 12 gennaio 2012 19:32
After installing Microsoft Visual Studio 2010 Service Pack 1, I began receiving the "The Operation could not be completed. Unspecified Error" message when attempting to open CSS files. Surprisingly, installing the Web Standards Update for Microsoft Visual Studio 2010 SP1 caused it to start working again.
Hope this helps others.
-
domenica 22 gennaio 2012 00:02
I had same problem than I installed this and it solved my problem.
http://visualstudiogallery.msdn.microsoft.com/7211bcac-091b-4a32-be2d-e797be0db210
- Proposto come risposta Alexander SunModerator venerdì 27 gennaio 2012 07:16
-
giovedì 26 gennaio 2012 17:07
I just finished installing the MVC 4 beta and all CSS files stopped opening with Visual Studio. They threw errors. They open fine with Notepad.
I had previously installed http://visualstudiogallery.msdn.microsoft.com/7211bcac-091b-4a32-be2d-e797be0db210. I ran the repair tool from the install package and that solved my problem.
CSS files open successfully after running the repair.
-
giovedì 26 gennaio 2012 23:38
"Update for Microsoft Visual Studio 2010 Service Pack 1 (KB2635973)" installed last night and caused the editor to stop working again.
Running CSS 3 Intellisense Schema repair (http://visualstudiogallery.msdn.microsoft.com/7211bcac-091b-4a32-be2d-e797be0db210 described below in hbb akckle's post) fixed it.
- Modificato Vert Mountain Rambler giovedì 26 gennaio 2012 23:39
-
giovedì 16 febbraio 2012 06:55
Thank you!
Solved the problem for me
-
venerdì 17 febbraio 2012 20:39
Well, here's another wrinkle. I've tried installing and re-installing the Web Standards Update any number of times, and as long as it is installed, CSS files will not open with the proper editor. They will open as text files, except that defeats the entire purpose of having a CSS editor. I have also installed and removed the Intellisense add-on, and it did not fix the problem.
HOWEVER, if I run Visual Studio as Administrator, then it all works. This says to me that somebody screwed up big-time and has embedded some kind of permissions issue in the code. I have not yet attempted to uninstall and re-install all of Visual Studio with Service Packs and patches, because I am in the middle of a very tight project, and don't feel like spending the time. I may have no choice, but there is no proof that this will actually fix anything.
I am adamantly opposed to running any development tool in admiinistrator mode, since there should never be any need for this. If you can't build code as a normal user, then there is a problem with teh development tool.
Norm
-
sabato 31 marzo 2012 12:29I think it would be about time MSFT would fix this - I've just installed web standards update and the same error - .css files cannot be opened anymore. @Aleksander Sun - this is most definitely an errror and not a corrupted VS install, unless web standards update corrupted it. After removing this update css editor works again.
-
mercoledì 4 aprile 2012 15:58
Hi,
A user above got a solution from: http://social.msdn.microsoft.com/Forums/br/vseditor/thread/0a01d1d5-e9ba-49f9-a3f8-46b39108fa0d
Installing the web standards update failed as a newer version is already installed. Always happens when Microsoft release a Windows Update for VS 2010.
The devenv /reset... never worked for me. All it done was run and add the start page which I checked to remove at startup
Like another user, copy to another machine and the css works fine
Create a new profile on the problem machine and still cannot open css files but projects are fine
Any ideas?
Crouchie
-------------
Homepage
-------------- Proposto come risposta Vert Mountain Rambler giovedì 5 aprile 2012 16:19
- Proposta come risposta annullata Vert Mountain Rambler giovedì 5 aprile 2012 16:19
-
giovedì 5 aprile 2012 16:25
Received the same error again today - for the 3rd time - after automatic updates!
Running CSS 3 Intellisense repair once again fixed it.
http://visualstudiogallery.msdn.microsoft.com/7211bcac-091b-4a32-be2d-e797be0db210
- Proposto come risposta Christopher Szabo sabato 7 aprile 2012 19:56
- Proposta come risposta annullata Christopher Szabo sabato 7 aprile 2012 19:56
-
sabato 7 aprile 2012 19:58It would really be nice if Microsoft released an update to Visual Studio that DID NOT break the original install. I've been pulling my hair out with this for the last six hours. Nothing suggested is working on my end. The SharePoint team must have been contributing to this release.
-
sabato 14 aprile 2012 18:02
I had the same problem today after Installing latest Windows 7 updates.
Running CSS 3 Intellisense repair once again fixed it.
http://visualstudiogallery.msdn.microsoft.com/7211bcac-091b-4a32-be2d-e797be0db210
This solution worked for me.
- Proposto come risposta Adel Mansour sabato 14 aprile 2012 18:02
-
giovedì 19 aprile 2012 13:17
Installing the Web Standards Update solved the issue for me as well.
Thanks!
-
mercoledì 2 maggio 2012 14:18
I was getting the "The operation could not be completed" when trying to run a project. The project was located on a corporate network drive.
I moved the project to my C drive and it worked without problem or modification.
-
venerdì 18 maggio 2012 08:31
Removal of the Web Standards Update for Visual Studio SP1 was the only thing that worked for me too (i tried the proposed solutions and i used the original ánd the latest installer to try to repair it, but that gave this error: 'Can't access network-related resource'...)
I installed it in March 2012 by the way.
After that i reinstalled it, using the link above and everything was well again.
CSS3 and HTML5 support is still a great enhancement!
Michael Bakker
- Modificato -Michael Bakker- venerdì 18 maggio 2012 08:40
-
domenica 10 giugno 2012 18:26
Rockstarter,
I was having the same problem after installing Visual Studio 2010 SP1 update.
I followed the link provided by 3 Putt Bogey, uninstalled the Web Standards Update for Microsoft Visual Studio 2010 SP1 and now my CSS EDitor works as it should.
Thank you 3 Putt Bogey!!!!!
-
mercoledì 3 ottobre 2012 18:02
Did you install the Web Standards Update for Visual Studio 2010 SP1? It was released about two weeks before your (Rockstarter) original post and promised all kinds of great enhancements for HTML 5 and CSS3. For me one enhancement was I could no longer edit .css files in Visual Studio 2010 or Visual Web Developer Express 2010. Once I uninstalled that update my .css editing worked in both tools again.
Link to the update:
http://visualstudiogallery.msdn.microsoft.com/a15c3ce9-f58f-42b7-8668-53f6cdc2cd83
Yet another thank you, solved it for me post:
I'll add a little bit: I went to VS -> Tools -> Extension Manager. The Web Standard update wasn't listed as installed. I then went to the Online gallery and found it. I tried to install it, and was prompted to remove or repair. Repair repeatedly gave a strange network error. Finally I removed the extension. This worked, and my CSS opened.
Then I went pack through the same path and installed the Web Standards Update extension. It installed successfully, and I can still open my .css file.
This solved the issue for me as well. List of steps:
- Close Visual Studio
- Get the latest Web Standards Update MSI from its Visual Studio Gallery Page.
- Open "Web Standards Update.msi"
- Select the "Repair Web Standards Update for Visual Studio 2010 SP1" option
- Click Finish
- Watch progress bars flicker
- On the "Installation Complete" screen, click the "Close" button
- Open Visual Studio
- Open a css file
- It should display in the css editor
Hopefully future updates won't break the editor.
- Modificato Christopher Broome mercoledì 3 ottobre 2012 18:02
- Modificato Christopher Broome mercoledì 3 ottobre 2012 18:04
-
venerdì 2 novembre 2012 08:31
I had same problem than I installed this and it solved my problem.
http://visualstudiogallery.msdn.microsoft.com/7211bcac-091b-4a32-be2d-e797be0db210
Had the same problem and this solved it for me. :) Much easier than re-installing other stuff. -
lunedì 12 novembre 2012 17:10
I was having the same issue and found that by going to the Tools -> Extension Manager -> Online Gallery and search for/install the "Web Standards Update for Microsoft Visual Studio 2010 sp1" I was able to open CSS files again.- Proposto come risposta Shantanu Chandra lunedì 12 novembre 2012 17:10

