I am running VSCode as administrator and while editing some read-only files I get the following message:
click to see image
Then if I click: Retry as Admin... I get the following message: click to see the next image
Afterwards I can click Retry as many times as I want but the second message will always appear.
To solve the issue I need to go to that file and remove the Read Only flag but it's so annoying to do that everytime. Ins't there a workaround for this? Thanks :).
Related
I am having a weird error when it comes to one of my projects in visual studio. I can start to debug, but when I run into an error or Visual Studio needs time to create a data tip my IIS express instance is lost and it will create a duplicate. After this happens and I try to hit the page again my browser will try to connect but will never get a response. I have tried to stop debugging and then start back up, but the IIS instance persists and I get the same result, trying to connect but no response. Also all of my break points turn to the not able to hit symbol.The only way to get back to being able to debug is to close visual studio and open it back up again. I'm sorry I don't have anymore information, but it almost seems to happen randomly.
Thanks in advance
Edit
This is what the break point looks like after I have stopped and restarted debugging.
I end up finding out the issue for anyone having the same problem. My initial question was not exactly what was happening. Whenever I stopped the IIS instance, the port that I was running the server on was being taken over by a Microsoft process. So when I hit run again my process was blocked and then showing the error above.
In order to fix this issue. I had to change the virtual directory for the project. You can do so by clicking in the web project and selecting properties. Pick Web on the left hand side and then change the url with to contain a different port and then click on create virtual directory.
I need to edit a gem(Devise) in order to understand where exactly a particular error occurs, so I need to put a "logger.debug" after every variable.
Problem is, I cannot edit any of the Gems, as they appear locked in Rubymine under 'external libraries".
Is there an easy way to do what I am trying to do?
Thank you!
Open the file, attempt to edit it, and you should see the following pop-up:
Choose the appropriate option, click "OK", and edit away.
I downloaded the VS2015 Preview and tried to create a Web Project.
I am getting the following errors when creating the project itself.
I get a Watson error first 'Unspeciifed error HRESULT:0x80004005 (E_FAIL)' ,
Then When I tried to open the Project Directly from the physical location it is throwing the other error 'Unable to create the Virtual Directory Localhost:5544 ...Error:Filename:redirection.config'
I had tried each of the steps recommended and didn't work. So, my last resource was to review the registry to find out if my user was pointing to a temp or cache folder.
Some posts were suggesting to check on HKEY_LOCAL_MACHINE; but nothing there. So, I finally found it by going into the HKEY_CURRENT_USER as recommended by boilers222.
Opened registry (CTRL+R, regedit, OK)
Navigated to
KEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\
Found out the Personal key was pointing to
\OurServer\RedirectedFolders\MyName\MyDocuments
Selected the Personal key, right clicked on it, and selected Modify
Entered a location pointing to my user's documents file:
%USERPROFILE%\Documents\
Clicked OK and closed the registry editor
When I opened Visual Studio and opened my solution, it loaded without the "unable to access the IIS metabase" error.
Last year I thought I would give Dart a try, so I downloaded the Dart + Editor zip from the dartlang.org website and got it working on my Ubuntu 12.04 environment. When trying to get the Sunflower demo to run (by clicking the Run button), I got the "Unable to run current selection - please select a runnable resource" error. After exploring Google for answers, I found nothing, so I gave up on Dart at the time, not wanting to spend the time on something that is still buggy. Since then I prepared a completely new Ubuntu 14.04 environment on a new computer and thought I would give Dart another try. So I downloaded and installed it again this year and I am experiencing the exact same problem, still with no answers from Google searches. If this were a bug, I figured something like this would have been resolved after a year, or at least some discussion somewhere on Google about it. Am I doing something consistently wrong?
I extracted the dart zip into /opt/dart
I installed openjdk-7-jre
I executed DartEditor and it runs
I select the Sunflower demo
I click the green Run button
I get the following error: "Unable to run current selection - please select a runnable resource"
Any ideas?
Try the context menu on the entry page file (index.html or sunflower.html) in the web sub-directory and choose Run in Dartium
There is no unique or default entry point in a Dart package and no way to configure one.
You always have to run a specific Dart script file or HTML page that contains a ` tag.
I almost never used the run Button in the toolbar.
When you have for example the menu Run/Always run last launch activated and run an entry point like described above the toolbar run button should work to run the same entry point again.
I guess there are other ways to make this run button work but as I said, I almost never use this one myself.
Context menu Run in Dartium, Run as Javascript for web applications and context menu Run for command line scripts worked always for me.
I've been using PsPad for quite some time now, always on Windows XP never a problem. But since I've upgraded to Windows7, PsPad is throwing the confirmation dialog "File contents were changed. Reload?" when it doesn't have to. I can reproduce this annoying message by: editing a file, saving it (to the fileserver win3k over a network), viewing that file/page in the browser, going back to PsPad to work on the file. After that last point it throws the dialog, while obviously nothing has changed in the meantime.
Does anybody experience the same bug? Is there something to do about it? PsPad forum has a thread about this, but no solution is provided there.
You can switch it off in program settings / Direct edit button
CheckDocChanges=0
You can switch it off in program settings / Direct edit button CheckDocChanges=0
The DIRECT EDIT button it's a button to the left of the OK button on the program settings dialog box ( in version 4.5.4 ). It's not entirely intuitive but it's there alright if you look.
This occurs because the time on your server and your workstations are not in sync. You can set your workstation to synchronize with the same timeserver as your server, which you will have to find out yourself or from your admin.
To change the time server on your workstation do the following
Open date and time
Go to Internet Time
Change Settings
Put in the server
Click update now and OK