Error deploying SSRS report to Dynamics AX 2009 - ssrs-2008

I have a very simple Dynamics AX Reporting project with a dataset using the Dynamics AX data source hitting a custom query I created in the AOT. The report builds succesfully in VS2008, and when I attempt to deploy the report, an error is returned "Deployment failed unexpectedly with the message: The following components have not been installed or are not configured correctly: Reporting Extensions". The "Save to AOD" function also returns an "unknown error."
The VS2008 error shows the problem to be on the line referencing the DeployToReportsServerTask in the file:
Microsoft.Dynamics.Framework.Design.Reporting.Modeling.targets
From within AX, using the Reporting servers form (Administration > Setup > Business analysis > Reporting Services > Reporting Servers), the Validate (button) returns a "success" message. Also, I can browse the reports directory on the server and my local PC through IE. My AX client configuration also launches & connects to the correct AOS.
Any ideas as to what may be the problem? Not sure what else I can check.
Thanks in advance!

Is this helpful?
Then login to aos server. Open internet explorer. browse the report server and manager url. If you can
see the dynamics ax folder just try to get inside the folder and browse a single report manually. If you
may able to browse then there is no issue eixt. Just restart the iis on reporting server. If you may not
able to browse then add the particular port to firewall. or disable the firewall. In the mean time just chekc
you may using NTLM authentication or kerberos authentication.
From:
http://daynamicsaxaptatutorials.blogspot.no/2012/03/reports-get-build-up-secussfully-bot.html

Using the Dynamics AX Configuration utility, is the Target "Business connector (non-interactive use only)" set up to point to the correct AOS?

The problem was reporting tools also had to be installed on the AOS server (with the reporting extensions). The reporting tools were only installed on my dev box. Additionally, my deployment process was also not correct. The correct process in my environment is:
1) In VS (on dev box), on the reports library project node in the solution explorer, right click, Save to AOD
2) In AX (on AOS), open report libraries in AOT, find library, right click, deploy (follow prompts).
3) open in IE and run reports.

I had the same error, but I resolved this by using VS in Administrative Mode i.e. Open the VS as Administrator.
Don't know how but it will help me.
HTH
Sachin

Related

Visual Studio 2019 "no repositories available" for an Azure DevOps Server

We have an Azure DevOps server that's used as source control. I am able to open DevOps in the browser (tested with Chrome and IE) with my credentials and see all the repositories but I can't connect to it through VS.
When I go to Visual Studio -> Team Explorer -> Manage Connections -> Connect to a Project -> Add Azure DevOps Server and type in the URL of the server, the server is successfully added but it has a warning sign (yellow triangle with an exclamation mark) and if I hover it, it says "no repositories available" -- see screenshot.
Are there any more details available to me? I tried launching VS with the /logs argument but that had nothing useful. It sounds like a permissions issue to me, my user being able to connect to the server, but not having read permissions to the repos, but, my user can see everything through the browser so I am not sure what to make of this. I installed the latest VS update and am on 16.3.9.
The DevOps server is technically hidden behind a VPN, not sure if that's important. I can't open DevOps in the browser if my PC is not connected to the VPN.
screenshot of the error icon/message
I had the exact same scenario and the same issue and I managed to solve it eventually.
Background
* Two company sites connected via company fixed VPN (not on client machine)
* Two local tfs installations (different versions)
* Visual Studio 2019
When I add the remote tfs using tfs name http://tfs01.xxx.yyy.net (port 80) it seems to work but no repositories found, only a yellow warning sign.
Reason
The url name http://tfs01.xxx.yyy.net/ is stored as http://tfs01/ in all local cache.
The name http://tfs01 is not found (can't ping it, not resolved)
Solution
Edit files in cache and change http://tfs01/ to the full url path on every occation (at least two places)
- Go to c:\users[users]\appdata\local\microsoft\team foundation\8.0\cache
- Look in LocationServerMap.xml
- Note every unique guid for your server with issues
- Find every occation of the file LocationServiceData.config in sub directories with your guids
or use the ugly solution and add the tfs server name (tfs01 in my case) to the local host file to ensure it resolves.
c:\windows\system32\drivers\etc\hosts - add new row with ip address and short name
Thanks everybody for replying. Here are our latest finds:
Domain-joined computers would present this bug, whereas non-domain joined would work fine.
Go to cmd, type systeminfo. If your domain is WORKGROUP you will be fine. If it's anything else, you might have the same issue.
This was enough for us to work around the issue without resolving it.
Just wanted to reply in case somebody runs into this in the future.

Service 'MongoDB Server' (MongoDB) failed to start

I'm trying to install mongo DB on my local machine with the installer from the official website. But I'm continuously getting this message, can someone help?
I've tried the solution provided here but didn't help.
I suggest doing the following:
Hit Win+R to open up you run.exe then inside of it enter services.msc to open up services. Try locating the service under the name of MongoDB Server and set the Startup Type manually to Automatic - [In addition to that, you could set the username and password manually. If you get a message saying the user was granted login as a service right, try hitting retry on the MSI dialog and see if it starts].
Important:
Don't forget to save and close everything (services.msc) before continuing.
Also very important, you should (must) check your .NET framework version and update it to version 4.5 and above. You could download a software like eg Driver Booster to update all of your drivers and additional components that are outdated.
I ran into the same issue. My problem was the installation location. I was trying to install under C:\MongoDB. I resolved it by installing in the default MongoDb location which is C:\Program Files\MongoDB.
For me this is usually an issue with the configuration file %ProgramFiles%\MongoDB\Server\x.x\bin\mongod.cfg
At some time there was an invalid option "snmp" enabled (only valid in enterprise version).
Nowadays, although the installer asks for directories for data and logs it doesn't ALWAYS seem to use these, but defaults to %MONGO_DATA_PATH% or %MONGO_LOG_PATH%, respectively. I don't know where these should be defined, but the server fails at accessing c:\data\db (which doesn't exist). So you have to correct the paths.
I also faced this kind of error. But I just change the Network service to Local system in Log On As tab.
Follow my step-by-step below to resolve it:
Press Win+R, type: services.msc, then looking for MongoDB Server (MongoDB)
Double click on MongoDB Server (MongoDB).
Then it will open properties tab. On that tab click on Log On
After that check two items i.e. Local System account and Allow service to interact with desktop
After that press Apply and OK button. That's it, cheers!!
Open command prompt and copy the following command:-
"C:\Program Files\MongoDB\Server\4.2\bin\mongo.exe"
NOTE: This Tricks is work on my Windows 8.1 PC.
Comment out string with mp: in configuration file: %ProgramFiles%\MongoDB\Server\x.x\bin\mongod.cfg
Like this:
...
#snmp:
#mp:
Click Windows+r, type lusemgr.msc , Go to Groups and double click Administrators, Click Add, Click Advanced and click Find Now. Double click in Network Service (in bottom list) and click OK.
It worked for me.
Installing in the other locations other than the windows directory caused me this error. Reinstalling the setup with the recommended method of "complete" fixed it.
The problem occurs if you have Windows version previous to Windows 10.
Install the following update before installing MongoDB. Click on the link below.
https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows
It worked for me.
The problem occurs if you have Windows version previous to Windows 7. Install the following update by going to below link you have to download
Windows6.1-KB2999226-x64.msu
#You have to download and install then go to servies.msu and start MongoDB server by Start also go into log on and set to #local machine
https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows

Connecting to TFS with the Cross-platform Command-line Client for Team Foundation Server

Has anyone used the Cross-platform Command-line Client for Team Foundation Server? I am trying to connect and it's basically giving me no response or a vague error every time I try to connect. I have set up the proper paths and it seems to be responding - just not authenticating. The specific error text, when present is: error: "An argument error occurred"
You can make the tool authenticate (and move on to even more annoying errors) by providing a profile file in the ~/.microsoft/.../profiles directory. The easiest way to do this (IMHO) is to install the eclipse plugin and use the GUI to fill in the parameters for establishing a connection to the repository. This will create a profile file, which you can then refer to in the -profile option on the command line tool.

Eclipse plug-in (OpenEdge Architect 10.2B) blocked by firewall

Yesterday I installed OpenEdge Architect 10.2B (that is Object Oriented Progress adopted to Eclipse IDE) on my Windows 7 premium platform. The installation went fine without any error messages.
When I start OpenEdge Architect I get the following error message:
"Not licensed to run OpenEdge Architect for version 10.2B".
This error message is strange since it is not the case.
Also, it seems like parts of the Eclipse-plugin are blocked
The main menu looks ok
In the views there are error messages like: "Could not create the view: Plug-in com.openedge.pdt.text was unable to load class com.openedge.pdt.text.explorer.OEExplorer...."
I noted that if I open my firewall (F-Secure) and choose to allow all, then everything works fine but then, of course, the computer is vulnerable. Then I thought I should abandon the F-secure firewall and use Windows firewall instead, setting up exceptions for OE Architect. But at this point I can not see what the exceptions should be since there are plenty of processes involved!
Any suggestion on how to proceed? How can I see what is blocked (is it Eclipse related or Eclipse plug-in related or is it something else in the OpenEdge package?)
Migrated from https://softwareengineering.stackexchange.com/
I solved the issue, this is how I did it:
Open F-secure, change the firewall setting to allow all.
Open Windows firewall, turn it on.
Start OpenEdge Architect
A warning from Windows firewall appears a .\jre\bin/javaw.exe is blocked by the firewall, check the allow boxes and press "Allow access".
Done.
It my be that the license manager is a process itself thatthe Architect is only connecting to - thus the problem with the firewalls. Most of this stuff is either a java process or one of the processes from your \bin directory. To figure out which process is trying to open which port, open a command shell (windows+r, enter 'cmd' and press 'run'), and then run 'netstat -ao', which gives you a list of all processes running and the ports thy are listening on. If you search this list while running the Architect with your firewall turned off, you might be able to find the processes involved with licensing (either a java process or one of the binaries from the aforementioned 'bin' folder).
hope that helps!

ColdFusion debugging problem in Eclipse (Break points not hit)

I am trying to get the debugger (CF extension for Eclipse) working for last few hours. And struck in strange situation.
My settings are listed below
ColdFusion 8
Eclipse 3.4
I set up the RDS & modified the JVM.config settings and verified the connection & debugger, both returns successful in test run. But When i attach a debugger to the site, breakpoints are not hit.
My Eclipse workbench & site virtual directory pointing to the same path. It is in a remote server.
I left Eclipse-CF mapping blank since both pointing the same remote path.
And i am using WYSE thin client emulator.. does it anything to do with this..?
Can someone help me to resolve this problem?
Cheers
If your eclipse configuration is ok, could be that something is not confgured right on server side. Check if Line Debugger Settings > Allow Line Debugging feature is enabled and that Debugger Port (5005) is opened and accessible form client machine.
Articles that should walk you through proper setup:
http://eclipse.sys-con.com/node/382427
http://www.adobe.com/devnet/coldfusion/articles/debugger.html
Also you could try using CF Builder and/or FusionDebug http://www.fusion-debug.com/fd/ .
You do need to specify at least one mapping. Eclipse needs to know what folder in your project maps to the http root. Even if the mapping is / -> /, you need to specify that. The only time you can leave mapping blank is when the CF server is on the same machine as Eclipse.