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/
Related
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
I have a console application which hosts two WebApi applications using OWIN Self Host approach. One of the apps uses EF6 with Code First. When I run the executable from the bin folder and make a request to the WebApi, everything works like it should - if the database is already created it just returns the results, otherwise it creates the db first. But if I start the console app from Visual Studio (with debugging), I receive the following error:
Additional information: Cannot open database "{db name}" requested by the login. The login failed.
Login failed for user 'sa'.
Anyone has any ideas why this happens?
EDIT: Problem is not related to the self hosted apps. I referenced the dbcontext directly in the console app and the same issue happens. I also tried Integrated Security and it still fails with "Login failed for user '{DOMAIN\USERNAME}'."
EDIT 2: I fixed my problem by doing deleting the .suo file. That helped me find these two questions mentioning the same solution:
Login failed for user "xxx" Failed to open the explicitly specified database solution
EF 4.1 code first causes weird (login) runtime errors
Can anyone say the reason why the .suo file causes this?
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.
I have been trying to add https:///mscrmservices/2007/CrmService.asmx?WSDL to my service References after upgrading from CRM4 to 2011:
the error message:
There was an error downloading 'https://ServerName/mscrmservices/2007/CrmService.asmx?WSDL'.
The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to here.</h2>
Have also tried "https:///mscrmservices/2007/CrmServiceWsdl.aspx" as seen in error message but get same return.
When accessing via web it works fine just adding as a reference in Visual Studio
other urls work ok such as https:///XRMServices/2011/Organization.svc?wsdl=wsdl0
this link suggests it should be fine:
http://msdn.microsoft.com/en-us/library/gg334316.aspx
Has anyone seen this before?
Ok this was a weird one but i managed to get Visual Studio to download the service using the IP of the server as #ccellar had highlighted there was something wrong with the "server/{org}" part of the url i was using the "Host name" but anyway using the IP has worked!
https://{IP}/mscrmservices/2007/CrmServiceWsdl.aspx
If you dont know your IP use http://network-tools.com/ lookup
Hope this helps anyone who has a problem with this
Thanks #CCellar for your guidance
It looks like you are missing the organization name in your url. The url should look like this http{s}://server/{org}/mscrmservices/2007/crmservice.asmx?wsdl
I have developed a Web Pages 2 website for my company using WebMatrix 2 that includes a simple SQL Compact Edition (.sdf file) database. Sounds simple. Runs perfectly on my local development box.
However, upon FTP to my Web host, it's a no-go. The first error I received was this:
Server Error in '/' Application.
Unable to find the requested .Net Framework Data Provider. It may not be installed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.
Source Error:
Line 1: #{
Line 2: WebSecurity.InitializeDatabaseConnection("Omniflow", "UserProfile", "UserId", "Email", true);
Line 3: }
I have searched and searched and searched the Internet, trying to find out what the source of this problem is and how to fix it. I haven't found the answer yet. I gather than apparently some needed assemblies/dlls are not being uploaded with the application. I have tried both FTP and the Web Deploy method with no fix.
Is this the root of the problem? And why does WebMatrix not upload all its dependencies? If it cannot, why is there nothing in the online literature from Microsoft--and it should come from Microsoft--or anyone else describing this issue?
Are you using one of the hosting sites listed on the Microsoft WebMatrix page: http://www.microsoft.com/web/webmatrix/ ? I know that when I deployed my WebMatrix site to a generic IIS server, it took some extra DLL's in the bin directory, and a couple of settings to be fine tuned before it worked.
While publishing check whether your have selected Database file( .sdf file ) or not.If not then select it and publish.
Hope it will work for you.
Ensure that you have all the SqlCE DLLs required for accessing the SqlCE database.
They should be present in the bin\, bin\x86\ and bin\AMD64\ folders.
You can try creating a new site using Site from Template -> Empty Site (ASP.NET) and checking the bin folder to see which all dlls are present.
If you don't already have them in your site, add them. That should solve your problem.