Authorizing Salesforce from Visual Studio Code - visual-studio

I'm new to VS Code and am not Tech professional. When attempting to connect VS Code to my Salesforce sandbox, I continually receive a "proxy" related error. Here's a copy of the output from VS Code:
10:53:01.154 sfdx force:auth:web:login --setalias Larry Dev --instanceurl https://test.salesforce.com --setdefaultusername
ERROR running force:auth:web:login: connect ETIMEDOUT 13.108.232.3:443
10:53:39.474 sfdx force:auth:web:login --setalias Larry Dev --instanceurl https://test.salesforce.com --setdefaultusername ended with exit code 1
My Proxy settings in VS Code are as follows: http://proxy.kdc.capitalone.com:8099
The browser response I'm receiving is: This page isn’t workinglocalhost didn’t send any data.
ERR_EMPTY_RESPONSE
The browser response URL I'm receiving is: http://localhost:1717/OauthRedirect?code=aPrxa8HQGmZn7E8rvcIpewa2fL4CooKkj1C4g8uByPKnLtVExljf1tmLACz6hcSBcDbJhb6Gww%3D%3D&state=9f150cdce50c
I'm not sure what else I can share with you to assist in troubleshooting this issue but let me know.
Thanks,
Larry

Related

CRM 2016 html page 500 - internal server error

In dynamics CRM 2016 I have a custom button that opens up a HTML WebResource and runs some JavaScript.
It works perfectly in our development environment.
However, in our pre-production it gives the message:
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
F12 Debugging only provides the same message, and i cannot access the specific resources (the code) because it is a managed solution in preproduction.
Google only return very general "500 error fixes", or similar questions that have not been answered, that are very old.
Any suggestions how to go about this?
(And yes I have checked that it is actually pointing at the correct files).
It turns out that in the RibbonWorkbench in the Url command the path called, begins with /Udv/WebResources/myPage.htm, which is a hardcoded part of the development path.
The answer was to change the parameter to $webresource:myPage.htm

CRM Web Resource Linker/Publisher: Connection Failed to CRM 2013

I am try to use the visual studio add-in "CRM 2011 Web Resource Linker/Publisher" from http://webresourcelinker.codeplex.com/.
When connecting to CRM 2013 Online, I get this error "Connection failed: There is an error in XML document(5, 5)"
I have checked Discovery Url, Username, Password, Unique Org Name.
Could you tell me what's wrong?
Thank you
I've found out how to resolve it, but still don't know the root cause. Here the steps:
Go to path: C:\Users\<current user>\LiveDeviceID
Delete the LiveDevice.xml
Try to connect from the application.
If this doesn’t solve the error, follow steps 1 and 2, reboot and try connecting from the application.
This should solve the problem.
Reference: http://skynetr.wordpress.com/2012/04/24/crm-2011-error-there-is-an-error-in-xml-document-5-5/

"MAPI_E_FAILONEPROVIDER (0x8004011D)" error message. When i am trying to access an Exchange Server 2013 mailbox by using a MFCMAPI utility.

I have installed Exchange server version 2013. Then I tried to create and connect to the server using MFCMAPI tool manually. While login to the message store it throws the following error
"Error:
Code: MAPI_E_FAILONEPROVIDER == 0x8004011D
Function CallOpenMsgStore( lpMAPISession, (ULONG_PTR)m_hWnd, lpEntryID, ulFlags, (LPMDB*)lppMAPIProp)
File MainDlg.cpp
Line 437 "
And i had gone through to the article given below and followed the instructions given in the same. But, now also i get the same "MAPI_E_FAILONEPROVIDER == 0x8004011D"error as before.
link : http://blogs.msdn.com/b/dvespa/archive/2013/05/21/how-to-mfcmapi-create-mapi-profile-exchange-2013.aspx
Please help me to resolve my problem.
Problem:
You will get this error message if the Outlook profile is in the Cache mode.
Solution:
On the client computer, open the Control Panel and click the Mail icon.
Open the <Profile>, click the email account and select the related <Account>.
Click Change.
Verify that the Use Cached Exchange Mode box is unchecked.
Exchange 2013 only allows ROH (RPC-over-HTTP) connections. See http://blogs.msdn.com/b/dvespa/archive/2014/01/16/create-outlook-profile-exchange-2013.aspx and http://blogs.msdn.com/b/dvespa/archive/2014/01/17/how-create-outlook-profile-office-365.aspx for the steps on how to create ROH profiles.
I had a similar problem and found that the link on dave vespas blog is pointing to an old version of mapicdo.
Make sure you have the latest version of mapicdo & mfcmapi and try again.

Debugging PHP code of a AJAX project using Eclipse PDT and Zend Debugger

I'm not sure if I'm right or not but it seems that Eclipse PDT + Zend Debugger have problems when it comes to debugging Ajax projects. I'm working on a project in which all of the requests are passed through a single PHP file (even resource requests like downloading images). And when I want to start a debug session in Eclipse after the first request returns successfully, second forth requests return the following error message:
A communication error occurred with the Zend Studio debugger due
to an unfinished debug session. Uncaught SyntaxError: Unexpected token
<
To reload the page click Refresh
It seems to me that since the first request is keeping the Zend Server busy, the second forth requests can not make a successful connection to it. It's in the case that I've configured the Eclipse so it won't stop at the first line of every page but still no luck.
Does this mean that in PHP + Ajax projects which requests are sent freely, it is impossible to debug? Has anyone tested this and/or the xdebug in a similar scenario?
Regards,
I just wanted to let my fellow developers to know that the same problem DOES NOT exist when I switched to xdebug.

Can not Browse any Asp.Net File system website in any browser

I am making asp.net website in my system using web location File System. i try to browse my localhost website but it cannot be browse in any browser(Firefox,chrome etc). after searching error on google i also made changes in LAN setting of browser but still can't get any result.
In Chrome i am receiving following error
"This webpage is not available
The webpage at http://localhost:2625/Website/Default.aspx might be temporarily down or it may have moved permanently to a new web address.
Error 101 (net::ERR_CONNECTION_RESET): Unknown error."
In Firefox i am receiving following error
"The connection was reset
The connection to the server was reset while the page was loading."
How can i resolve this problem ?
i have resolved my problem.
i got help from following link
http://forums.asp.net/t/1437368.aspx

Resources