I am dockerizing an asp.net mvc app with base image microsoft/aspnet (framework 4.8). I am able to deploy the app in an Aws Ec2 instance and was able to launch the app successfully but search AD users module seems to be failing. C# Directory sevices is failing connect to Ldap service and getting service not found error. I am able to do this search using the same code from local Machine and from a console application hosted inside the server.
Any thoughts?
Related
I'm new to this and I followed the instructions here https://code.visualstudio.com/docs/java/java-spring-apps#:~:text=Java%20on%20Azure%20Spring%20Apps%201%20Scenario%20We,...%206%20Deploy%20to%20Azure%20Spring%20Apps%20 to deploy the "hello world" app to azure. However, it's not clear to me how to access the deployed spring app? When I stream logs, I can see "Tomcat initialized with port(s): 1025 (http)".
I tried following this guide https://learn.microsoft.com/en-us/azure/spring-apps/quickstart?WT.mc_id=Portal-AppPlatformExtension&tabs=Azure-CLI
and used
https://<service instance name>-<app-name>.azuremicroservices.io/
and it didn't work.
How do I find out how to access this deployed app on Azure? Thanks!
I figured it out. After deploying in VSCode following the steps, you need to also make select the app deployed in azure explorer and "assign public endpoint". Then following this link and it's accessible
https://<service instance name>-<app-name>.azuremicroservices.io/.
I have tried creating/updating a Virtual Directory under a website --> web application in Windows IIS server from Azure DevOps Release pipelines using the IIS web app Manage task in a Deployment Group Job. When we trigger the release, the process is trying to add a virtual directory if not exist and then fails with ##[error]Access is denied on adding the credentials and then it is setting the value to default which is the application pool identity on the server. If the virtual directory exists, even then we are seeing the same error on the release ##[error]Access is denied without making any changes to the existing configurations.
PS: we are adding g an AWS FSX share to the IIS Web app on the AWS EC2 windows machine.
Steps performed:
• Created a website.
• Created a web application under a website.
• Trying to create a virtual directory under a Web application using the below configs.
task: IISWebAppManagementOnMachineGroup#0
displayName: 'Create virtual directory'
inputs:
IISDeploymentType: IISVirtualDirectory
ParentWebsiteNameForVD: '$(DEV_SiteName)'
VirtualPathForVD: '/$(sitename)/webapplicationname'
PhysicalPathForVD: '$(AWSFSXPath)'
VDPhysicalPathAuth: VDWindowsAuth
VDAuthUserName: '$(DEVIISUserFSX)'
VDAuthUserPassword: '$(DEVIISPwd)'
Is there something that I need to additionally configure on the server(target) to get this working?
TIA
I have deployed a Flask web app on Heroku platform.
This app has a functionality of user registrations.
Is there any way I can access the database and check who all have registered on my application?
When I used to run my app on local machine, it used to create a database file, .sqlite file and I could check the user credentials.
How can I do that once the app is deployed ?
I am having some challenges deploying from Amazon Web Services AWS Code Deploy from a github repository.
The repository houses a web application using the codeigniter framework.
When deploying to an EC2 instance using the AWS Code Deploy, it would start the deployment process and then fail. No error message was provided.
Can anyone provide some further guides on how to deploy codeigniter apps to AWS without using FTP.
Thanks,
Rick
i created a ruby application and its working fine but when i run it as service it giving trouble. actully i have mysql as a databse in my application and i am using it to store only name of the file and placing the physical file on sambha server now when i run my applioaction as as service it's not able to find the path of sambha server... any hlep...
What user account is running the service? Windows defaults to using the local SYSTEM account, which cannot/should not access the network. If you change the service to run under the "Network Service" or a specific user account, it may succeed.