XrmToolbox Connectivity issue with Dynamics 365 environment - microsoft-dynamics

I am trying to create connection on my XrmToolbox using Connection Wizard.
I am trying to establish connection with the Dev environment. I pass the the instance url and credentials. But, upon finishing the setup, the connection is switching to our prod environment. The org ID is switching to that of the prod environment.
I tried to use the url using my dev environment org unique name and it is still switching to my prod environment.
Url I'm pasisng: https://org2c******.crm.dynamics.com
It is switching to: https://orgd1******.crm.dynamics.com
I am tried with the previous version of XrmToolbox and I am still having the issue.
Please someone help me with this.

Try to confirm internal and display names. Also you can connect via SDK login Control, that will give you the ability to switch org.

This was an issue with user type in the AAD. I was setup as a guest user. this is why system was not allowing me to access the Dev environment from the XRMToolBox or Plugin Reg tool. This was sorted when my user type was changed.

Related

wso2is start in developer mode

I'm working with WSO2 Identity Server and I'm curious if there is a way to run the product in developer mode without building each component of identity server. I found a way to start the "My Account" component in dev mode by following this tutorial ( https://is.docs.wso2.com/en/5.11.0/develop/setting-up-my-account-in-a-dev-environment/ )
but I want to be able to modify different components such as recovery-portal and authentication-portal by forking and cloning the required github repositories and starting the entire app in developer mode in order to see the code changes in real-time.
AFAIK the developer mode will work only for the MyAccount and Console. You can refer to the doc for more details on that.
The recovery portal, the authentication portal etc. cannot be tried with the developer mode. However, there are two ways that you can try this.
Build the war files manually and add them to the WebApps directory. If the server is running, war file changes will automatically get deployed. If the server is not running, you have to delete the existing directory and restart the server.
You can do the changes to the JSPs that are deployed inside the pack. Once the changes are done, you can save the changes and the changes will automatically get deployed.

How to access same account using SSH and RStudio server with an EC2 instance

I'm trying to create a tutorial to teach users how to use a command line software package that we've developed with RStudio to analyze a preset collection of data files. To do this, I want to create AMI that comes with a directory that contains a number of files and is pre-loaded with the necessary software including RStudio server. To install RStudio server, I've been following Randy Zsitch's instructions and I'm able to login to RStudio using the user account. However, if the user is logged into RStudio, they can't see the default home directory (i.e. /home/ubuntu), their home directory (i.e. /home/rstudio) only has the R directory. I could certainly install the data files for the tutorial into /home/rstudio. However, if they SSH into the default account to access the command line software then they can't get the rstudio account without using sudo.
I'm looking for help to achieve one of two options...
Enable user to SSH into the EC2 instance using the rstudio account and password and access RStudio server with the rstudio account. Currently, I can seem to do this
Enable user to access RStudio server with the ubuntu account. This doesn't seem possible since the log in uses key-pair and not a password making it impossible to access RStudio server with a password since there isn't one.
I feel like I must be missing something obvious, but I'm still pretty new to the world of AWS. How do I set things up so that someone can directly log into the same account using RStudio server and SSH?

Sharepoint 2013 CMIS Workbench Login Fails with "One or more of the input parameters to the service method is missing or invalid"

Sharepoint 2013 CMIS Workbench Login Fails with "One or more of the input parameters to the service method is missing or invalid"
I have an install of Sharepoint 2013 and in the site settings I have enabled "Content Management Interoperability Services (CMIS) Producer". I am using CMIS Workbench 0.9.0 (the latest at this time) to connect to the Sharepoint 2013 CMIS service.
I am logging in with this URL:
http://machinip:35382/cmis/_vti_bin/cmis/rest?getRepositories
When I click "Load Repositories" and I get a selection of 2 repositories to choose from: 1. "Administrative Report Library" 2. "Shared Document". Regardless of which repository I pick, I get the following error: InvalidArgument: One or more of the input parameters to the serivce method is missing or invalid.
I have tried using the machine name instead of the IP address, and I receive the same error.
I also have an "Internal" url setup with the machine name and port as "default":
"http://machinename:35382"
I have authentication setup as "Basic". I'll admit that I am not a Sharepoint expert. I have also tried running workbench directly on the machine hosting SharePoint 2013 and still receive the same error. I have also tried adding the machine name to the hosts file on the client running Workbench but that did not fix the problem.
I am able to connect to the InMemory server. I have also successfully connected to a different machine running SharePoint 2010.
Can someone help with this issue? Are there other settings that need to be setup to make this work?
I found this issue that says an alternate mapping needs to be setup, but I believe I have one setup correctly already using the machine name.
Login error to Sharepoint 2013 repository using openCMIS Workbench
I have found this link and I am not sure if it applies. If it does, how can I get around this issue? If this is the problem, I would not be able to utilize the solution.
https://issues.apache.org/jira/browse/CMIS-294
I receive the same error when I tried to connect to Sharepoint 2013 with my own application that works OK with the InMemory and SharePoint 2010 servers.
Here is the log from CMIS Workbench:
11:19:04 ERROR hemistry.opencmis.workbench.ClientHelper: CmisInvalidArgumentException: One or more of the input parameters to the service method is missing or invalid.
org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: One or more of the input parameters to the service method is missing or invalid.
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:423)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.read(AbstractAtomPubService.java:554)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getTypeDefinitionInternal(AbstractAtomPubService.java:821)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryServiceImpl.getTypeDefinition(RepositoryServiceImpl.java:88)
at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getTypeDefinition(RepositoryServiceImpl.java:137)
at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getTypeDefinition(SessionImpl.java:518)
at org.apache.chemistry.opencmis.workbench.model.ClientSession.createOperationContexts(ClientSession.java:244)
at org.apache.chemistry.opencmis.workbench.model.ClientSession.createSession(ClientSession.java:195)
at org.apache.chemistry.opencmis.workbench.LoginDialog$2.actionPerformed(LoginDialog.java:204)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2006)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2329)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:398)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:253)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:247)
11:19:04 ERROR hemistry.opencmis.workbench.ClientHelper: Error code: 0
I was getting the same error as you. Double check your Alternate Access Mapping Settings:
Go to the Central Administration page
Under System Settings, click Configure Alternate Access Mappings
There should be at least two urls. One with server short name and one with server full name.
If the url is missing, click Add Internal Urls
For the Alternate Access Mapping Collection, click the No Selection link, change and select:
SharePoint - 80
Set the url such as http://myserver.abc.xyz.com
Set Zone: any such as Intranet
Click Save
(Note: I had posted the question that you had referenced and only finally had the time to get back to it)

RDS falls over after server creation in CFBuilder

I am using CFBuilder 2.0.0 and I can connect to RDS fine so my CF instance is definitely set up correctly. However, as soon as I create a server using the following technique:-
Right click on project name > ColdFusionServer Settings
In servers drop down select 'Add Server...'
In new dialogue choose 'Import configurations from RDS server' selecting me RDS configuration
I leave all the settings the same on the first page apart from selecting Is Local and changing the Host Name as my CFadmin and my website are on different hosts
In local server settings I choose the JRun4 install folder for Server Home and the the root of the project in Eclipse as the Document Root
I do not install the extensions
Click finish
Now when I try and expand the RDS connection I get an alert box saying:-
Could not initialize class com.adobe.rds.core.services.messages
I am totally stuck here and would appreciate any help.
It turns out that you cannot configure CFBuilder to work if your CF Admin and your application do not reside on the same host name. Quite why this is is anyone's guess.
To resolve this I needed to make the server I configured on my project use the same host as my CF Administrator. This is obviously very counter intuitive, and means that if CFbuilder launches the browser for you for debugging it will get the wrong domain name. However, if you start the debugging session and then manually browse to the page in the browser then the debugging does work.

Yet another elmah problem ... works everywhere but production

I have elmah setup to use SqlErrorLog and this is running fine on both my local using the developer webserver, and my integration environment under IIS. On my production box elmah is able to log exceptions with XmlFileErrorLog writting to the app_data directory. When I switch back to SqlErrorLog I get nadda. I have ensured that the database exists has the required table and three procedures. I have tested the connectionstring. I have compared the web.configs from my local to prod and the only differences are the database server name in the connection strings.
Any thoughts as to what else can be blocking in a production installation?
~-=Mike=-~
Have you properly setup the permissions on the database for ELMAH? Depending on if you are you using impersonation with your web application, you may have to grant privileges to additional users to the stored procedures/tables.