Sharepoint Designer 2007 configuration - sharepoint-designer

Every time I open SPDESIGN 2007 it runs through the configuration. It runs for about 30 seconds and then opens the program. This is nothing if not annoying. Is there any way to fix this?
OS: Windows 7 x64, SP 1; Version: Sharepoint Designer 2007, SP1

Are you running several versions of Office side by side? If so, you may want to set a registry key that prevents the dialog. For details see http://support.microsoft.com/kb/928091?wa=wsignin1.0
The gist is:
To bypass the auto-registration for Word 2007, follow these steps:
Exit Word 2007. Start Registry Editor. In Windows Vista, click Start,
type regedit in the Start Search box, and then press ENTER.
If you are prompted for an administrator password or for a
confirmation, type the password, or click Continue. In Windows XP,
click Start, click Run, type regedit in the Open box, and then click
OK. Locate and then click to select the following registry subkey:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\Options After
you select the subkey that is specified in step 3, point to New on the
Edit menu, and then click DWORD Value. Type NoReReg, and then press
ENTER. Right-click NoReReg, and then click Modify. In the Value data
box, type 1, and then click OK. On the File menu, click Exit to close
Registry Editor.

Related

Why Visual Studio code and most of the applications are not installing in fresh windows 10?

I am trying to install Visual Studio Code in my fresh windows 10 but it is throwing an error Setup was unable to create a directory
Error 5: Access is denied
Since your UAC(User Account Control) is turned off, and you are running the install as Admin (because you already are admin), it seems like a permission issue and not a UAC issue. Try this:
Create a folder name "Temp" under C:\ // This step is important, the
folder has to exist.
Right click the Computer in Start menu and select Properties. Click
Advanced System Setting. In System Properties windows, click
Advanced tab.
Click Environment Variables button. Under User
variables list, double click TMP.
Change Variable value: from
"%USERPROFILE%\AppData\Local\Temp" to "C:\Temp".
Try to install.

Opening outlook in safe mode via powershell

How do you open Outlook in safe mode by default? Is there a powershell/cmd script I can use?
I'm assisting a user who's Outlook crashes after every 2nd email. The user doesn't experience these issues while opening Outlook in safe mode. User is currently able to access outlook in safe mode by holding down the ctrl key and double-clicking the Outlook icon. Looking for an easier solution for user such as a desktop icon.
Copy\Paste from here:
- If you are using Windows Vista or Windows 7, then there is a Search box in the Start Menu. Here type outlook.exe /safe
- In Windows 8, the search box will automatically show when you start typing. So simply open the Start Screen and type outlook.exe /safe
- In Windows 10, there is a search box on the Taskbar by default but if you have set to hide this, it will automatically show when you start typing after opening the Start Menu as well. Here type outlook.exe /safe
- You can also create a new shortcut to outlook.exe and add the /safe switch;
First, determine the location of outlook.exe on your system. In general you’ll find it under;
32-bit version of Windows
C:\Program Files\Microsoft Office\Office
64-bit version of Windows
C:\Program Files (x86)\Microsoft Office\Office
If you can’t find it, do a search for outlook.exe or use OutlookTools (free) instead.
Once you’ve found outlook.exe we create a shortcut to it with the /safe switch to prevent Outlook from opening an extra window each time you click the shortcut or use your keyboard shortcut.
Right click on an empty space on your Desktop and choose New-> Shortcut
Type the path to outlook.exe between quotes or browse to its location via the Browse… button
Type a space behind that and /safe
The entire line should now look like this (example is for a 32-bit version of Outlook 2010 on a 64-bit version of Windows);
"C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.EXE" /safe
Click Next
Name your shortcut for instance: Outlook Safe Mode
Click Finish

Windows developer license (permissions)

I tried to set up a Windows Developer license on my computer, but it fails.
I am running Visual Studio 2012.
When I click Project -> Store -> "Acquire Developer License" It gives me an info dialog and says, "If you agree to these terms and want to install a developer license, click 'I agree'. The 'I agree' button has a Windows admin shield.
When I click that 'I agree' button and wait nothing happens.
My next attempt was to do this from the command line, so I brought up PowerShell and typed:
Show-WindowsDeveloperLicenseRegistration
And I get:
Show-WindowsDeveloperLicenseRegistration : You need administrator
privileges to acquire or remove a developer license.
So I right click Windows PowerShell and click "Run As Administrator" and wait ... and wait ... nothing happens.
I'm getting the feeling the Windows Store is not ready for prime time.
Apparently I don't restart Windows 8 frequently enough, which #Ken helped me figure out.
Restarting fixed it.
Getting the license from VS was easy once I was able to run it as administrator.

"Open containing folder" hotkey in Visual Studio 2012

In versions of Visual Studio before 2012, I was able to create a hotkey to perform "Open Containing Folder" for the current active text file. I accomplished this by creating a macro that had a keystroke assigned to it.
Visual Studio 2012 does not have macros. How would I accomplish the above in this version?
Unfortunately you'll now need to download the VSSDK and create a VSPackage to do that, now that macros have been dropped from the IDE.
The closest thing to a macro now is a PowerShell script, which you could run from the console but I'm not aware of any way to assign a keyboard shortcut to it.
Running PS outside of the IDE is an option (via an External Tool command with a keyboard shortcut configured), but obtaining the EnvDTE outside of process could be complicated.
EDIT: There is a much simpler solution. I can't believe I didn't realise it to begin with!
Simply go into Tools... Options... Environment... Keyboard locate File.OpenContainingFolder and assign a shortcut. This command will open the active document's containing folder.
I found a keyboard shortcut for Open Containing Folder: Alt + - + O
When you press Alt + - it opens Tab Context Menu Then you see that the shortcut key for Open Containing Folder is O key, then you should press O.

Visual Studio/C#: Nuget Unable to connect to remote server

In MS Visual studio, I'm trying to install Nuget packages into my solution.
When I choose the option "Manage Nuget Packages for Solution" and attempt to install a package, I get the message "Unable to connect to the remote server".
I do have Internet connection so do not understand why I always get this message.
Is anyone aware of some steps that can be taken to rectify this issue?
Thanks
Clearing HTTP_PROXY worked for me.
Let me fix it myself
Important: This section, method, or task contains steps that tell you
how to modify the registry. However, serious problems might occur if
you modify the registry incorrectly. Therefore, make sure that you
follow these steps carefully. For added protection, back up the
registry before you modify it. Then, you can restore the registry if a
problem occurs. For more information about how to back up and restore
the registry, click the following article number to view the article
in the Microsoft Knowledge Base: 322756 How to back up and restore the
registry in Windows
To reset your Internet Explorer proxy settings yourself, follow these
steps:
On Windows XP, click Start, or on Windows Vista or Windows 7, click
, and then click Run. On Windows 8 or Windows 8.1, to access the Run
command, press the Windows logo key Windows logo key + R. Or, swipe
in from the right edge of the screen, and then tap Search (or if you
are using a mouse, point to the upper-right corner of the screen,
move the mouse pointer down, and then click Search). Type Run in
the search box, and then tap or click Run.
In the Run text box, copy (CTRL+C) and paste (CTRL+V) or type the
following: reg add
"HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
/v ProxyEnable /t REG_DWORD /d 0 /f
Click OK.
On Windows XP, click Start , or on Windows Vista or Windows 7, click
, and then click Run. On Windows 8 or Windows 8.1, to access the Run
command, press the Windows logo key Windows logo key + R. Or, swipe
in from the right edge of the screen, and then tap Search (or if you
are using a mouse, point to the upper-right corner of the screen,
move the mouse pointer down, and then click Search). Type Run in
the search box, and then tap or click Run.
In the Run text box, copy (CTRL+C) and paste (CTRL+V) or type the following: reg delete
"HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
/v ProxyServer /f
Click OK.
From http://support.microsoft.com/kb/2289942 Thanks #Sandy
Solved. that's because Visual studio is using fiddler http connection.
all you have to do is to open fiddler=> fiddler option => connection => uncheck "act as system proxy on startup".
thats all!
This started happening to me quite randomly today on Visual Studio 2012. A bit simplistic but, after checking if the Nuget site itself was up and trying the Package Manager Console, my solution was to:
Close and reopen Visual Studio
Suddenly it could connect to the Nuget server again and download my much needed packages.
Tools -> Library Package Manager -> Package Manager Settings -> Clear Package Cache
That worked for me
Clearing the Proxy Cache in IE Fixed this for me. Use these two command lines in the command prompt (run as administrator)
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f
then
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /f
The details can be found at https://support.microsoft.com/en-us/kb/2289942
I solved it on mine by commenting out the
<system.net></system.net>
section from the devenv.exe.config located at
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe.config
Here's how I fixed this issue after none of the suggestions above worked:
Internet Explorer > Tools > Connections > Lan Settings
Uncheck 'Automatically Detect Settings' box. This solved the Nuget Package Manager issue for me. Additionally it fixed another connectivity problem I was having with a VMWare virtual desktop AND... it greatly increased speed in Internet Explorer when trying to connect to secure sites.
I had this issue with VS 2010 package restore even after updating the Nuget Package Manager to the latest and also unselecting all package sources I could. I was getting an error while enabling the Nuget Package Restore option on the solution.
I resolved this by using a different box that didn't have restricted https access to the nuget server. When I used VS 2012 from a different box to enable package restore, it worked fine. I believe it needs to be able to connect to the nuget online server to download the latest nuget.exe used during restore operations. So one option you can use is to perform the Enable Package Restore process from a server that has all the internet access necessary, and then check-in the changes. Once these changes are checked-in, you can then load the solution again from VS 2010 or VS 2012 and use the nuget restore capabilities.
Hope that helps!
Restarted Visual Studio twice solved my problem.
First, I restarted but it did not work. Then, I did almost everything but still didn't work.
Then, restarted again solved my problem.
I had the same symptoms, and apparently visual studio was using some proxy setting set up in IE. It turned out that my problem was one of the following:
My IE had been updated to IE 9, but the update wasn't completed because I hadn't completed the 'update wizard'
Some obscure proxy setting was set up in IE (a remnant of a selenium RC test run)
After completing the update wizard, and clearing all proxy settings, my NuGet package manager was working again.
Had the same issue, it was solution specific, and none of the above worked. I deleted the visual studio solution user options file (.suo) and restarted VS 2013 and now I can update and install packages again.
Finally resolved. I disabled an extension in Chrome. I had installed it to hide my real location.
To reset your Internet Explorer proxy settings yourself, follow these steps:1.On Windows XP, click Start, or on Windows Vista or Windows 7, click
2459687, and then click Run. On Windows 8 or Windows 8.1, to access the Run command, press the Windows logo key
Windows logo key+ R. Or, swipe in from the right edge of the screen, and then tap Search (or if you are using a mouse, point to the upper-right corner of the screen, move the mouse pointer down, and then click Search). Type Run in the search box, and then tap or click Run.
2.In the Run text box, copy (CTRL+C) and paste (CTRL+V) or type the following:
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f
3.Click OK.
4.On Windows XP, click Start , or on Windows Vista or Windows 7, click
2459687, and then click Run. On Windows 8 or Windows 8.1, to access the Run command, press the Windows logo key
Windows logo key + R. Or, swipe in from the right edge of the screen, and then tap Search (or if you are using a mouse, point to the upper-right corner of the screen, move the mouse pointer down, and then click Search). Type Run in the search box, and then tap or click Run.
5.In the Run text box, copy (CTRL+C) and paste (CTRL+V) or type the following:
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /f
6.Click OK.
i could not install globalize in V.S. 2015 and after trying all the answers i tried this. I opened my project in V.S. 2013 and it worked 1st time. hope this helps somebody else
Modem re-start fixed my problem.!
In my case(visual studio 2012-windows10 OS) the problem was with security protocols. Only TLS 1.2 was the enabled protocol and TLS1.1 and TLS1.0 was disabled for some reason. So going into registry and making changes to enable TLS1.0 and TLS1.1 solved the problem.
To enable these protocols you can follow directions on here
I fixed it by uninstall the system proxifier : WideCap
That happened to me when I tried to use Visual Studio from home being connected via public WiFi and my work station was configured to block connections in/out from Internet to VS2017. Check you local firewall setting and ensure that you have Allow for VS2017 when on Public network. (in Windows Defender Firewall & Advanced Security)
nugget.org was blocked in my network for security reason so all the nugget packages are installed from Artifactory via JFrog. After configuring my nugget package manager setting to the link provided by my employer the problem is resolved.
One route that I haven't seen people mentioning is setting the proxy for Nuget in your user folder.
Browse to C:\Users[yourProfile]\AppData\Roaming\Nuget and change your Nuget.config file to the following:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<config>
<add key="http proxy" value="http://yourProxy.yourCompany.org"/>
</config>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>
We set this setting and then Nuget immediately worked.
Ok, but now I get a credentials prompt!
If you also end up getting a credentials prompt when trying to load packages from Nuget in Visual Studio, you should try to manually browse to http://www.nuget.org/downloads. I've seen proxies like BlueCoat display a Content Filter Warning the first time someone visits a site, and since you can download content from Nuget, it get's flagged.
So you may need to browse there one time to click 'Accept Terms', and then you'll be able to access it.
If you are using a developer server, sometimes the TLS is not active. Reach with regedit.exe the following path of register, and if not present, add the following keys. Reboot and try again nuget online from visual studio.
To enable TLS 1.2 support in Windows Schannel
From Notepad.exe, create a text file named tls12-enable.reg.
Copy, and then paste the following text.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
"DisabledByDefault"=dword:00000000
"Enabled"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server]
"DisabledByDefault"=dword:00000000
"Enabled"=dword:00000001
Save the tls12-enable.reg file.
Double-click the tls12-enable.reg file.
Click Yes to update your Windows Registry with these changes.
Restart your computer for the change to take effect.
Internet Properties -> LAN Settings -> uncheck "Automatically detect settings"
Steps:
Close Fiddler.
Restart Visual Studio.