deployment

Automatic menu creation for BATCH files

天涯浪子 提交于 2019-12-11 19:27:49
问题 I have a batch file that I use to install windows. It gives you a series of menus to navigate to get to the final WIM image number. It then uses imagex to apply the image to the specified drive letter. I want to make the menu dynamic so it only shows entries based what is in the WIM file. I currently have a WIM file that has every edition of windows from vista to server 2012. I am wanting to strip some the images out so it is more streamlined but I don't want to rebuild the installer because

Deploying a project that includes an MDF file to an external computer

谁都会走 提交于 2019-12-11 18:54:05
问题 Basically, I have a Windows Forms Application that includes a dataGridView with the DataSource being an MDF file named VoRteXData.mdf. Now, I need to deploy this to an external location. For my forms code, it includes: private void Form1_Load(object sender, EventArgs e) { SqlConnection sqlCon = new SqlConnection(); sqlCon.ConnectionString = @"Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\Moderator\Documents\VoRteXData.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True";

How to set “default page” for Angular in Azure Web App on Linux service plan

旧巷老猫 提交于 2019-12-11 18:43:25
问题 I can deploy Angular to Azure Web Apps on Linux service plan and it works fine when hitting {myapp}.azurewebsites.net/index.html I can navigate inside the app as expected. When hitting the root {myapp}.azurewebsites.net it just displays the hostingstart.html. It does not help to remove the hostingstart.html as suggested in some articles. If I try to hit a sub page url directly (like {myapp}.azurewebsites.net/mypage) then I get an error : Cannot GET /mypage (this works when I run locally) I

Is there a way to Deploy a .Net application without using an MSI?

懵懂的女人 提交于 2019-12-11 18:41:57
问题 I have a .Net program that I want to install on a terminal server. In the past I've created installer projects and generated an MSI. However, terminal servers require all users be bumped off before running an MSI and I want to avoid that. Is there a way to do an install without a MSI? Sometimes for some user accounts I can simply copy the .exe and use it. But for other users doing that throws wierd "file not found" errors for files that obviously exist. (Apparently there are registry settings

Substitute Service Fabric application parameters during deployment

↘锁芯ラ 提交于 2019-12-11 18:33:31
问题 I'm setting up my production environment and would like to secure my environment-related variables. For the moment, every environment has its own application parameters file, which works well, but I don't want every dev in my team knowing the production connection strings and other sensitive stuffs that could appear in there. So I'm looking for every possibility available. I've seen that in Azure DevOps, which I'm using at the moment for my CI/CD, there is some possible variable substitution

“..allowDefinition='MachineToApplication' beyond application level” error on deploying the website on web host

て烟熏妆下的殇ゞ 提交于 2019-12-11 18:15:34
问题 I came across the solution of this genetic problem all across the internet and Stackoverflow, but none of them talk about the same after/on deployment . I also read this famous article . So, my website runs absolutely fine via VS 2010. However, I get this problem the moment I deploy my website using the copy tool of VS 2010. There are three web.config files in. 1- root, 2- Users folder, 3- accounts folder . The tag exists in the web.config file in the root. The hierarchy of which looks like:

How and where to deploy an Angular 8 web application that needs two servers concurrently [MEAN stack]

限于喜欢 提交于 2019-12-11 18:00:30
问题 I have a web application. It's a blog and question-answer website made with MEAN stack making CRUD operations using Mongodb . Before this I have deployed many applications built in react and angular wherein only one server was required i.e. npm start as there was no back-end server code. But this time I decided to keep my back-end code separate from my front-end code. server.js is in a different folder and is running on port:3000 , while application is running on localhost:4200 . I am using

Using php5-fpm and nginx in a debian machine

六眼飞鱼酱① 提交于 2019-12-11 17:51:08
问题 I am trying to set up nginx server to run a php app in debian. I followed this tutorial among others. Most seems the same. My recent configuration is based on the link above. When I try to run this php script, <?php phpinfo(); ?> I get the same output on the browser instead of php info result. Kindly someone help me figure out where I went wrong. Note: My error logs are clean,contains details on nginx server start only. Thank you. 回答1: You might want to make sure php5-fpm is listening on the

deploying python flask project on azure using visual Studio

ぐ巨炮叔叔 提交于 2019-12-11 17:47:38
问题 I am having some trouble getting my Py project to be deployed on Azure. The message I get is "The page cannot be displayed because an internal server error has occurred." Which I know is a config error in the project. My web.config file has the below. Python is installed in D in my azure web service and in C in my local machine running Py2.7 Appname is whiteboard port 5965 on local host... What am I doing wrong?? MS documentation did not help <configuration> <appSettings> <add key="WSGI

missing a using directive or an assembly reference issue after deploying an ASP.NET “Website”

假如想象 提交于 2019-12-11 17:33:34
问题 So I have an ASP.NET website, which works great on my machine. But when I deployed it on web host server, its giving me an error saying: Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly