deployment problems with visual studio 2012 and mvc4 - c#

I am using the default iis of win 8.1 with visual studio 2012 and mvc4. I already have achieved deploy it locally in my intranet with the option of file system, but not all my ActionResult methods are executed. te server tell me that it can not find the specified path. but when I run it from visual studio locally everything works perfectly. if someone could help me because I'm pretty new to all this.

Related

Unable to launch the configured Visual Studio development web server

I'm using VS2017 and when I tried to run my app just standard noting extra with IIS express it fails.
Error:
An error occurred launching IIS Express. Unable to launch the configured visual studio development web server. Uncaught exception thrown by method called reflection.
I've set the port to 8080 instead of 56000.
Any ideas how what is wrong? Yes I installed IIS Express but it's not running in the background. I've tried to start VS in Administrtor mode but no luck. I've also deleted the .vs folder and restarted but again no luck.
According to this blog, the following steps should fix the issue:
close all Visual Studio instances
go to your ASP.NET project/solution folder, delete “.vs” hidden folder
click “Start”, search IISExpress, go to IISExpress folder, go upper level and delete whole IISExpress folder
start Visual Studio with Administrator privilege
create a fresh new ASP.NET project
run this project, this time you should see IIS Express is launched by Visual Studio correctly
close this solution but not close Visual Studio, open the ASP.NET project which you have problem with, and run it now, you should see IIS Express is launched correctly

VS2010 Building Installer Failing on Setup

I have created an application in C# visual studio 2010.
The application works fine in debug mode and builds successfully. The application has three aspects to the solution. When i build and deploy the setup file i get an error on the install as soon as i click install in the steps.
The error says Installation Incomplete, The installer was interuppted before InvoiceProcess could be installed. You need to restart the installer to try again.
When i restart i get the same error.
Both the development machine and machine to deploy on are both 64 bit windows 10.
What could be causing this?
One of the possible reasons that it is not getting installed because IIS6 management compatibility is not configured on IIS.
Visual Studio 2010 installer still targets the older version of IIS (means IIS6) although IIS7 was publicly available in 2008. That’s why IIS6 compatibility is required.

Initializing the applicationhost.config file failed. Cannot find IIS Express

I recently installed the Visual Studio 2017 RC and created AngularJS SPA application. I had to uninstall the VS 2017 RC as it was hanging multiple times. Now, Whenever I try to open this SPA application using VS 2015 I get this error. Any help to resolve this would be helpful. Thank you.
Initializing the applicationhost.config file failed. Cannot find IIS
Express
I have got the same issue.
So I install the IIS Express from https://www.microsoft.com/en-us/download/details.aspx?id=48264
Then reload the solution. problem solved.
Follow this link :
https://drive.google.com/open?id=0B9Q8e7mRZ7_oaXRHX01yMUNPbUE
You need to modify the visual studio web services. The video shows how to modify VS. Modification depends on which type of template you are using that shows error.
If its WCF, then you make web service updates during modification of VS.
I couldn't fix this issue, But I managed to resolve by Uninstalling and reinstalling the Visual Studio 2015.
you can download IIS express from this link and install it
https://www.microsoft.com/en-us/download/details.aspx?id=48264
I had faced the same problem while trying to "Live Share" my web development project on the web browser.
I was using the latest version of Visual Studio still I got this issue.
Then I go to the Visual Studio Downloader to download the ASP.NET and web development Workloads which is available in the Workloads section.
Here I had attached the image in which you can see in the details it is clearly written that Live Share is available.
visual studio downloader where you can see the Live Share option

DataBase Error while running Asp.NET project in Visual Studio

This is the error image showing when tried to register to the app:
This is the register button image:
I've tried to run my first Asp.net project in visual studio 2015 on my windows 8.1 PC. But when i was trying to register in the site clicking on the register button, it's showing SQL Server not found this type of error. i've uploaded the pic of the error. So, Do i need to install SQL server differently with VS 2015? or it's already installed by default with VS 2015? Need help from any expert please.
I've solved this problem. The SQL database server was not installed by default when i installed the visual studio 2015. I again modified the visual studio with the database server and now it's working. Thanks all.

in visual studio 2012, when i open an existing web site project, it causes a full recompile of the web site. why? and how do i stop this?

specs:
windows server 2008
visual studio 2012 premium
website hosted in IIS 7
website is compiled and running fine. I can browse it from IE. but If I then open the web site in visual studio, it recompiles my site. this site is rather large and takes about 15 minutes to recompile. how do I stop visual studio from doing this.

Categories