One of my client has node server installed on Ec2 instance. I am able to access the files and edit them. However changes are not reflecting. I guess I need to restart the server.
However I am not able to do so. Terminal is showing "Command not found" when using both "node" and "nodejs" (Even with sudo).
I am new to both AWS and Angular. Any help will be appreciated.
Related
I have installed OPDG using below document (https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-gateway-install). I could able to successfully install on my machine , But when I tried to create the gateway connection on Azure I couldn't find the instance. Here I have attached the screenshot. Appreciate if you can support.
Note : I am using the same email address to install and Azure Access and both region are same
I can't say for sure what your issue is but I would try troubleshooting it further with the help of Powershell, I had a similar issue where I could not install a new gateway. The issue for me was that a gateway was previously installed on the same machine. By using the PowerShell OnPremisesDataGatewayMgmt module I could remove what seemed to block me.
https://www.powershellgallery.com/packages/OnPremisesDataGatewayMgmt/1.0.0-beta1
I have a small asp.net core website that I push to my server via jenkins. Jenkins does git checkout and then dotnet restore and dotnet run. It works for the website, but I added entity framework and I'm a little confused. How exactly do I move my local database to the server? Or should I create one on the server and then reference it?
I have one mssql database on (localdb)\MSSQLLocalDB, but when I run the server and try to go to a page which gets data from the database I get 500 Internal Server Error.
I would like to have one local db for testing and one on the server, but I just can't wrap my head around all of this.
Well in development, you should write a init script for your database. This will create all the required stuff your application needs.
So in linux...
Install the MySQL, get the users set up, and init the database.
In your application...
Provide the connection string for the DB installed in Linux.
I am not running my app in c# but this is similar to my node app. That is what I do. I develop in windows with Postgres. Then my prod is on a GoDaddy Linux cloud server and I have Postgres installed in that. When I do my git pull for the latest, I don't have to change much because of the .env file for my environment variables.
I have been trying to connect to db on EC2 from my local machine, I am not able to do and have tried many steps such as inserting data through my application to my Ec2 database using the connection string but failed came up with a database fail connection error, i also tried to deploy my application to my ec2 which seemed to have worked however i can see the folders but the files are missing. i tried to look for answer on the internet however there are too many different ideas.
Can anyone provides guidance or help would appreciate it. thanks in advance
I developed an application using Oracle ADF in Jdev 11.1.1.5.0.
I deployed application in weblogic server and working fine.
I kept one setup.exe file and supported files in server.
Now I want the installation should be done on client machine while the page is loading itself.
Using servlet, how can we achieve this?
The installation(exection of setup.exe file) should be done automatically in client machine.
and what are the steps should I follow to accomplish this?
Any suggestion would be appreciated.
Thank You.
You can't do this automatically. The sandbox can't execute anything on the client side without a change of the policy. This change can't be done without the user on the client side.
What you can do is to ask the user to download the files and then execute the setup.exe after downloading.
However, I personally would not do this without knowing what the exe is doing on my pc. A web application normally don't need to be installed on a client pc.
Timo
I am a newbie with DotNetNuke and have been stumbling on how to deploy from the development server to the deployment server. For starters my development and deployment servers are one and the same machine. Here are the steps that I did:
DNN Setup
Downloaded DNN using WebMatrix.
Launched DNN and proceeded with the installation wizard, which is basically just testing the environment and then creating the DNN database.
After the wizard's installation launching DNN will now proceed to the Getting Started page
Added "localhost/dnn" in the site alias list
Moving to ISS
In IIS I added application (folder) DNN in the web root
I copied all the files from the original webmatrix path to the dnn folder in c:\inetpub\webroot making sure that the file/folder hierarchies are the same
Result:
When launching DNN using my browser I am directed to the installation wizard page instead of the Getting Started page. What am I missing?
Thanks!
Confirm that the permissions on the folder containing DNN are the same on your test server as they are on your development server. (I give Network Service read/write and IUsr Read/Execute)
Confirm that the application pool running your application has the proper identity (Network Service is suggested) and is running the proper .NET Framework version; based upon your question, I think you are set on this.
Gain access to your web.config file. You will see a ConnectionStrings section. You probably need to update the connection strings.
If your test server runs off of a different database than your dev server, figure out the connection string of your test server and update your connection string accordingly
You may be able to restore a .BAK file of your DB to your test server
If you do this, you will probably need to (in SSMS) edit your Portal Alias table to include the host name that you are using in your test server environment. Examples: Maybe you access the site via localhost/ on your dev environment, but you access to test site via test.Ronald.com? test.Ronald.com would be your PortalAlias
If your test server runs off the same database server as your dev server, it sounds like you need to open up access in firewalls so that your test server has connectivity to your dev database
A word of advice
Once you get it running, you will be making changes to each database separately (assuming your test site and dev site use different DB Servers). This sync issue can be a royal pain with DNN, as your page structures, module assignments, html module contents, installed modules/extensions will get out of sync. While restoring backups is nice, it is not a very good long-term solution. I recommend database-syncing tools
The problem is most likely a problem with DNN not being able to find the Database. If it can't find the database, it will run the wizard in order to create one.