I have a web application developed in .net and deployed on IIS and easily accessed from other systems on the LAN.
All working fine in local system but when deployed into IIS data not coming from database and only UI is getting loaded.
I post a picture for your information.
Related
I wish to deploy an asp.net core web api to IIS on a windows server. On
that windows server the api can be accessed using http://localhost:5000/api/values.
But on another computer it can't be accessed using http://MyWebsiteIp:5000/api/values.
Chrome says
Can't access the website,ERR_CONNECTION_TIMED_OUT
And the firewall I have is closed so it doesn't work too. The api connects with a SQL Server Database and when I use VS debug on my commputer IIS Express the CRUD function can work using http://localhost:53450/api/{controller}.
But when I deploy to IIS on windows server it doesn't using http://localhost:5000/api/{controller}. I have copied the Database to Windows Server and placed it in the same path with my computer.
Could you help me ?
how can I deploy/publish my asp.net MVC application made in visual studio 2015 .net version 4.5 ,and sql server database 2016 database using localhost (.) with windows authentication ...to online ..so it can be accessed to everyone ....with code updations and sql server edition..thank you
You can host your application using IIS. IIS can be setup in any machine.
Steps :
Install IIS
Open IIS manager by entering inetmgr in Run(win+R)
Add website by browisng to its location to the published website location. (Hope you know how to publish a website in visual studio)
Edit the web config file to configure the sql server credentials(Sql db could be hosted separately or in the same machine)
Right click the website in IIS Manager and click start.
Click browse to view the website
You could either access the site by localhost:portnumber or by specifying IP:port number in settings of the website in IIS manager
You can access the website from mobile or external devices if you select public IP for your website. Incase you're connected to a local network, then the website could be accessed only from within your work place. Discuss with your network admin about exposing your server to public by providing a public IP address, if you're on local network.
Feel free to revert if you have more doubts.
If you have a VPS or DS us can use this Article it teaches localy but it is same with real VPS or DS
Also if have a Host you should publish your project on your system and upload it to your Host Provider and make backup of your SQL Server Database and set your host provider IP in Web.Config.
I'd like to know whether anyone has successfully created ASP.NET MVC Core App with Azure hosted SQL Server as backend?
I'm trying to follow/mix up following tutorial.
https://learn.microsoft.com/en-us/aspnet/core/tutorials/publish-to-azure-webapp-using-vs
I created MVC app using yeo generator, it is running fine locally including Register link on landing page.
I deployed to Azure using local git, it runs upto displaying landing page, when I submit signup page I get error. Locally it's using SQLite .db file which I want to change to MS SQL Server db created on Azure. I put correct connection for this Azure SQL Server db in application settings and ran app from Azure link but got error.
Has anyone tried similar approach? I'm stuck here, any help is appreciated.
I have migrated my developement app from my local machine running XAMPP to the Google App Engine with Bitnami on LAMP. Everything has run smoothly and even accessing the database name in the server returns the same 0 to demonstrate that it is working:
However, in updating this information within my android mobile application and attempting to allow a user to log in, the background service is not able to make a connection to the server and refuses the user to authenticate and log in.
This is the first time I have attempted deploying a server to the Google App Engine.
Is there a way to debug this issue to see what the server is doing? Is there a configuration that would work?
I want to publish my WinForms Application on remote server to enable web installation for the application.
I need some relevant information how to configure IIS 7.5 web site to enable publishing by VS2012. I've found some links but it mostly about publishing web application and as I could understand the process is different in some points.
Where I could find information for the configuring IIS web site?
Are you referring to a ClickOnce application?
If this is the case, you simply need to have write access to where it is going to be deployed, and users need read access.