8
02
2012
I was getting the errors below when publishing to a file system:
Connecting to C:\inetpub\wwwroot\webapp…
Transformed Web.config using Web.Debug.config into obj\Debug\TransformWebConfig\transformed\Web.config.
Copying all files to temporary location below for package/publish:
obj\Debug\Package\PackageTmp.
Publishing folder /…
Unable to add ‘Web.config’ to the Web site. Unable to add file ‘Web.config’. Access is denied.
Publishing folder Account…
Publishing folder bin…
Unable to add ‘bin/webapp.dll’ to the Web site. Unable to add file ‘bin\webapp.dll’. Access is denied.
Unable to add ‘bin/webapp.pdb’ to the Web site. Unable to add file ‘bin\webapp.pdb’. Access is denied.
Publishing folder Scripts…
Publishing folder Styles…
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========
The fix: Open Visual Studio 2010 with “Run as Adminstrator” (right-click it and choose that option).
Comments : No Comments »
Categories : General Development, Microsoft
11
07
2011
PS C:\workspace> (gc “fileToParse.txt”) -notmatch "<criteria>" | out-file
"resultFile.txt"
Note: <Criteria>, for example, “not".
Comments : No Comments »
Categories : Microsoft, PowerShell, Scripting
14
04
2011
Cut-and-paste wasn’t working from me between my RDP session to an XP box from my Windows 7 box. Apparently, the problem was rdpclip.exe wasn’t running. So, if you come across the same issue, check for that process and turn it on if necessary via Run > type rdpclip.
Comments : No Comments »
Categories : How-to, Microsoft
18
03
2011
You may notice that when you attempt to add your solution to a source control in Visual Studio 2010, that it only shows a TFS server as a choice. Don’t be alarmed, however, just:
1. Go to Tools > Options.
2. Click Show all settings if not checked, then go to Source Control.
3. Go to Plug-in Selection, then change the dropdown to Microsoft Visual SourceSafe.
4. That’s it!
Happy Trailing!
Comments : No Comments »
Categories : General Development, How-to, Microsoft
17
03
2011
As long as you have administrative access on your work computer, all you have to do is change the following key to ‘0’ (from ‘1’): UseWUServer under the following location in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
Hope this helps someone out there.
Comments : No Comments »
Categories : How-to, Microsoft