visual-studio-2012,iis,web-applications,localhost,iis-8 , I created a web app in VS, how do I open it in IIS?


I created a web app in VS, how do I open it in IIS?

Question:

Tag: visual-studio-2012,iis,web-applications,localhost,iis-8

I have a Web App created in Visual Studios 2012. I need to open it in IIS but am having difficulties. I tried the add website function but the browser address is a localhost:12345 (e.g.) and it won't accept this as the host name. What must I do to open my web app in IIS? Thanks in advance for any help, it is much appreciated.


Answer:

You have to create new site on your IIS or change default web site path. If you chose to change path (simplest solution)

  1. Go to IIS manager and point your default website path to your project path

  2. In VS2013 go to Project Properties -> Web -> Servers - change IIS Express to Local IIS and add http://localhost as Project Url


Related:


IIS and Windows authentication not allowing error pages


asp.net,iis,web-config,windows-authentication,global-asax
I have been trying this from last two days. I am not getting whats the problem. I searched the web but didn't find any solution. i tried all the settings of IIS like "Moving negotiate down, disable other authentication" but doesn't work. SO here is my problem: I have a...

Issue running stored procedure from .net


asp.net,sql-server,visual-studio-2012,stored-procedures,sql-server-2008-r2
I have this stored procedure : CREATE PROCEDURE [dbo].[GetTransactionFeeType_Pager] @PageIndex INT = 1 ,@PageSize INT = 10 ,@ProgramName VARCHAR = '' ,@RecordCount INT OUTPUT AS BEGIN SET NOCOUNT ON; SELECT ROW_NUMBER() OVER ( ORDER BY ID ASC )AS RowNumber ,FeeType,TransactionNumber,Amount,TransactionDate,ResponseDescription,PaidUsing INTO #Results FROM TransactionLog where [email protected] SELECT @RecordCount = COUNT(*)...

Conflict when running IIS and WCF application listening on the same port (443)


c#,asp.net,wcf,iis
I'm in the process of doing a server migration, and I've come across an issue when trying to host a WCF application and IIS at the same time using the same IP address and port. (this works perfectly on our other server) The new server is a Windows 2012 R2...

VS2012 Identifer not found when part of static lib


c,visual-studio-2012,linker,static-libraries
Using VS2012 C/C++: I created and linked a static lib called "libtools" to my project. Calls to functions in the libtools lib worked as expected. I created and linked a second static lib called "shunt" to my project. But when I incorporate a call to a function in shunt, I...

Cannot start Website in IIS - W3SVC running


asp.net,iis
I am trying to start a Website in IIS but it doesn't get started and gives me following error: The World Wide Web Publishing Service (W3SVC) is stopped. Websites cannot be started unless the World Wide Web Publishing Service is running. How can I resolve it? I donot even know...

Running a specific version of visual Studio


windows,visual-studio-2012
I have Visual studio 2012 Ultimate and Professional installed on my computer. By default Windows opens up Ultimate, is there a way to specify which version I want to open?

SQL server & Visual Studio


sql,sql-server,visual-studio,visual-studio-2012
i need help with SQL server in visual studio. I can't seem to connect my visual studio with internal SQL server. I had created a database with visual studio earlier and it was working fine but now i'm getting an error saying; "The attempt to attach to the database failed...

Partial specialization of nested template types produces “internal error” in VC++ 2012 compiler


c++,templates,visual-studio-2012,nested
In the following example, I have an object class which defines a reference class. Both accept mutability as a template argument. In the case that 'obj' is 'Const', I want to disallow a reference of type 'Non_Const'. The example produces the ambiguous message, "An internal error has occurred in the...

NUnit Categories not showing up in Visual Studio


unit-testing,visual-studio-2012,nunit
I want to custom group my tests by function so I'm using the nunit Category attribute, like this: [Test, Category("Cat1")] public void SomeMethod() { } [Test, Category("Cat2")] public void AnotherMethod() { } But in Visual Studio the categories do not show up, all I see are the defaults to group...

Recycling app pool each time something is published


.net,iis,lucene,umbraco,application-pool
I'm working on an Umbraco site where I have custom sections, and therefore use the application.config and trees.config files. I have a problem where every time I publish something, the app pool recycles with the following message: w3wp.exe Information: 0 : _shutDownMessage=CONFIG change HostingEnvironment initiated shutdown CONFIG change HostingEnvironment caused...

Dapper, MS Access, Integers and “no value given for one or more required parameters”


c#,ms-access,visual-studio-2012,oledb,dapper
I keep getting the error "no value given for one or more required parameters" on the third attempt to insert in the code below. The first two attempts work fine. I'm running in .NET 4.0, against MS Access in VS 2012. And this problem appears to be consistent whether I'm...

control may reach end of non-void function xcode


c++,xcode,visual-studio-2012
I have a third party library code segment which has the following structure: class A; A func() { if(...) { return A(...); } else if(...) { return A(...); } else { LOG(...); } } And it gives the error "control may reach end of non-void function" in Xcode. The same...

VS 2012: Konfiguration Combo too Small


visual-studio-2012
Is it possible to change the size of this combo? Thank you!...

Spaces displayed as dots and tabs displayed as arrows


visual-studio-2012
In my Visual studio 2012 editor I erroneously pressed some obscure key combination (Ctrl-Alt-something or so) and now spaces are displayed as little dots and tabs are displayed as arrows. I'd like to get rid of this, but I haven't found the corresponding option in TOOLS-Options-Text editor....

The difference between EF6 and EF4.1 in files hierarchy


c#,entity-framework,visual-studio-2012,entity-framework-6,edmx
I'm a beginner to Entity Framework . I notice that When I use EF6 with Visual studio 2013: I have .Designer.cs empty file with this comment: // T4 code generation is enabled for model 'C:\Users\Luka\Desktop\Test\EF-db2008\AdventureWorks\AdventureWorksLib\AdventureWorksLib\AWLTModel.edmx'. // To enable legacy code generation, change the value of the 'Code Generation Strategy' designer...

TFS 2013: HTTP code 503: Service Unavailable


iis,tfs
All of a sudden, our TFS server down. When I checked in IIS, http://localhost:8080/tfs is giving 503 service error. Below application pools are getting stopped automatically, even though I manually made them start in IIS manager. Microsoft Team Foundation Server Application Pool, Microsoft Team Foundation Server Proxy Application Pool Please...

How to track 500 errors on WebSockets (ws://)


c#,asp.net,iis,websocket
I'm trying to play around with WebSockets on IIS 8.5. I started off with a couple of very basic C# classes from a lesson: using Microsoft.Web.WebSockets; using System.Web; public class ChatHttpHandler : IHttpHandler { public void ProcessRequest(HttpContext context) { if (context.IsWebSocketRequest) context.AcceptWebSocketRequest(new WebSocketChatHandler()); } public bool IsReusable { get {...

IIS Express 8 - Max allowed length


c#,asp.net,iis,visual-studio-2013,iis-express
In case the below is too long, my question is whether IIS Express 8 in Visual Studio 2013 obeys the maxAllowedContentLength attribute or if it has some overriding value that prevents large requests When debugging some webapi calls against Visual Studio 2013, I'm receiving this error: Maximum request length exceeded....

How do I get Visual Studio 2012 to generate code from a windows form design?


vb.net,winforms,visual-studio-2012
I am trying to add a simple windows form to my VB.Net project. I have used the designer to design the form how I want it with buttons, a text box and a Timer. The problem is when I try to view the code, there is only an empty class...

ASP.NET address in IIS


asp.net,asp.net-mvc,iis
We have an ASP.NET MVC Intranet hosted on our IIS server. As you'll know, a Visual Studio project/solution called "MyProject" for example, will have the first folder containing the solution, then another one containing the project files, so it would be http://intranet/myproject/myproject/ for example. Is there a way to change...

Using an iPad as the networked Mac for Xamarin.iOS for Visual Studio


c#,ios,ipad,visual-studio-2012,xamarin
This guide explains how to use Xamarin.iOS for Visual Studio and a network available Mac as the host for Apple's complier: http://developer.xamarin.com/guides/ios/getting_started/installation/windows/introduction_to_xamarin_ios_for_visual_studio/ It is possible to use an iPad as the networked Apple compliler?...

jQuery or AngularJS Ajax “POST” request to server using code below however do not sending param data to server.


javascript,jquery,ajax,angularjs,iis
"POST" request to server using code below however do not sending param data to server. I tried jQuery Way and var request = $.ajax({ url: baseUrl, type:'post', data: 'userId=userabcd&passwd=abcd1234', }); request.done(function( msg ) { console.log(msg); }); request.fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); AngularJS...

How to display the physical path of a web application using appcmd.exe?


iis,iis-7,iis-7.5,appcmd
Please, observe: PS C:\Dayforce\DayforceRTQA\150520_747\SharpTop> $a C:\Program Files\IIS Express\appcmd.exe PS C:\Dayforce\DayforceRTQA\150520_747\SharpTop> &$a list app "MyDayforce/" /text:* APP path:"/" APP.NAME:"MyDayforce/" APPPOOL.NAME:"Clr4IntegratedAppPool" SITE.NAME:"MyDayforce" [application] path:"/" applicationPool:"Clr4IntegratedAppPool" enabledProtocols:"http" serviceAutoStartEnabled:"false" serviceAutoStartProvider:"" preloadEnabled:"false" [virtualDirectoryDefaults] path:"" physicalPath:""...

Bonobo Git Server Configruation: HTTP Error 500.19 - Internal Server Error at line 71


iis,windows-server,windows-server-2012-r2,iis-8.5,bonobo
I have tried to configure Bonobo Git Server. I have followed the included instructions, and after trying to visit the server for the first time, I get the following error: There is a similar question; however, it gives an error at one line prior and the solution the author answered...

Any way to use XML axis properties in C#?


c#,xml,visual-studio-2012
Is there any way at all, by using some imports or usings, to use XML axis properties in C#? I mostly work in VB, and am so used to being able to just query XML with (from xel in xdoc.<names>) Having to do a little work in C# now, it...

How to get started with Visual studio 2012


c#,asp.net-mvc,asp.net-mvc-3,asp.net-mvc-4,visual-studio-2012
I want to create web application using Visual Studio 2012. The application should login into a website and report numerical findings on the UI. The language used will be Visual C#. I have loaded the application and selected on the menu: File> New > Projects. A window appears with multiple...

Host Four ASP.Net Projects in IIS as single direcory(maintain more projects in same url)


asp.net,iis,hosting,web-deployment
I m having a ASP.Net Webapplication it accessed by from many geography like India,China&America.In that application's login page fields are username,Password & Geography. Based on this login page geography option the application's functionalities will change in all page. In this project,If we add a feature for Indian users but that...

Wordpress on IIS with shared wp-content


php,wordpress,iis,permissions
I've been trying to install Wordpress on IIS and everything went smoothly with a standard installation and an handler mapping for php-cgi. Since I have a public server (A) and a private shared server (B), I need to have a WP installation on server A with a shared database and...

Set the Enable Parent Paths = True of ASP Application in IIS for all available websites by Power shell Script


powershell,iis
I am trying to update Enable Parent Paths = True of ASP Application in IIS for all available websites by Power Shell Script. Below is my power shell script which I tried but it works for Specific Website only. Set-WebConfigurationProperty ` -PSPath MACHINE/WEBROOT/APPHOST ` -Location 'Default Web Site' ` -Filter...

Visual Studio C++ access violation when modifying a pointer passed into a function


c++,pointers,visual-studio-2012
I want to implement a simple function that gets a string as a char pointer and modifies the string in a function. The requested function must be void then I have to modify the primary string passed into my function. I got an access violation error and googled it but...

Cant find File System, Registry icon in WIX setup project in Visual Studio


visual-studio-2012,wix
I installed WIX in my machine. I followed the video of https://www.youtube.com/watch?v=CoFPyIbcqN8enter link description here I can not find any way to add File Systems, no icon for it, no context menu entry on project. I am using Visual Studio 2012....

how to stop“build must be stopped before the solution can be closed”


c#,visual-studio-2012
The "Build" menu appears as it would if the solution were building, but the Cancel Build (Ctrl+Break) menu item has no effect. Trying to close the application prompted as: The build must be stopped before the solution can be closed. Can anyone help me to resolve this problem...

Is it possible to share session between different PHP versions?


php,apache,symfony2,session,iis
I am starting an old app refactoring, I will rebuild some functionality from spaghetti code to MVC (Symfony). Plan was I will set up new IIS app, using subdomain. Now, old app is running PHP 5.3 which can't be upgraded. New app will be running on PHP 5.6. Only thing...

Asp.Net Website extension for visual studio 2012 express for windows desktop [closed]


asp.net,visual-studio-2012
Currently,I have Visual studio 2012 express for windows.I want to build asp.net website on it but it currently does not have any provision for it.What should i do?

Convert Double from String


asp.net,vb.net,visual-studio-2012,converter
When converting string to floating, the converter creates wrong results. ?Global.System.Convert.ToDouble("635705821821928755").ToString("0") "635705821821929000" ?Global.System.Convert.ToSingle("635705821821928755").ToString("0") "635705800000000000" I am working with VB.Net Visual Studio 2012, Framework 4 on ASP.Net Webpage. Is there any solution for converting huge numbers from string into floating?...

AvailableVirtualMemory on IIS and Console application


asp.net,iis,memory,console-application
I'm having problems to get the real value of AvailableVirtualMemory in IIS and a Console application, as detailed below: When i run these commands on a Console application: Console.WriteLine(String.Format("Memoria virtual total: {0}MB", My.Computer.Info.TotalVirtualMemory / 1024 / 1024)) Console.WriteLine(String.Format("Memoria virtual disponible: {0}MB", CDec(My.Computer.Info.AvailableVirtualMemory / 1024 / 1024))) The Console shows me...

AccountDomainSID is the same for all users accessing ASP.Net MVC site


asp.net,asp.net-mvc,iis
The site is under ApplicationPoolIdentity in IIS7.5, we are using Windows Authentication. When running this code, AccoundDomainSID is the same for all users accessing the site, not unique. Are there any IIS settings that need to be configured for this to work properly? string SID = new WindowsIdentity(WindowsIdentity.GetCurrent().Token).Owner.Value; Is there...

Using single precision floating-point with FFTW in Visual Studio


c++,windows,visual-studio-2012,fftw
I am trying to use the FFTW library in a Visual Studio project, and I am having trouble with getting the floating point precision to work. I have created the library files and linked them as in this post and I have only included the libfftw3f-3.lib library as it says...

Web API Sync Calls Best Practice


c#,iis,.net-4.5,web-api
Probably this question has already been made, but I never found a definitive answer. Let's say that I have a Web API 2.0 Application hosted on IIS. I think I understand that best practice (to prevent deadlocks on client) is always use async methods from the GUI event to the...

IIS cannot write file if called from remote, only from the server


c#,.net,iis,file-permissions
I am running a web api on a IIS on Windows Server 2012 R2. The application has a controller, that on a get request will write to a file on a network share. If I access the site from a browser on the server it works fine, however if I...

How to uninstall a program using C#? [duplicate]


c#,visual-studio,visual-studio-2012,command-line,windows-installer
This question already has an answer here: How to uninstall MSI using its Product Code in c# 4 answers I'm trying to uninstall a program using C# via Visual Studio and possibly CMD. I made several attempts but could not getting anything to go. Attempt #1: RegistryKey localMachine =...

deployment of a site asp.net and iis


c#,asp.net,iis
I know this is for some of you a stupid question but for me is a real problem. I have never deployed a site before What i have done so far: 1) publish the site from visual studio to a folder. 2) added to iis for testing everything works great...

Add Binding To IIS With PowerShell Without Overwriting Existing


powershell,iis,octopus-deploy
We use OctopusDeploy to create the website and we use the create website template that is on the community step sites. I have modified it slightly to ensure that if the website exists it adds the default binding however it is removing all the existing bindings. Is there a way...

Cannot create link between WorkItem and Server object in TFS 2012


visual-studio-2012,tfs,tfs-sdk
I'm trying to create a link from a work item to the current server version of a file in TFS via the API. I can do it within Visual Studio (2012) so I know it's possible. However when I try and do it via code it fails with TF201038: Linked...

Tfs and nuget: project files are forever in check out after build with restore nuget packages


visual-studio-2012,tfs,nuget
MS VS 2012 I have solution in tfs with enabled nuget packages restore. Every time when I build solution all my project files are cheked out with this changes: <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" /> <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> <PropertyGroup> <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet...

What does IIS do with MVC projects


asp.net-mvc,iis
IIS seems to be an application that listens for incoming connections, parses the data sent there as HTTP requests, and maps request urls to directories based on a site an application and a virtual directory, and then does something based on the file present (or not present) on that location....

How IE setting affect authorization


asp.net,iis
I have a Webform app written in asp.net 4.5 and trying to understand how IE plays a role for authentication. So far my search has not provided a solid answer I know webconfig setting override iis setting. But assume we set the authorization mode to anonymous in both of iis...

IIS 6 Allow anonymous access by default


asp.net,iis,website,iis-6
I have automated builds the will create IIS websites for me using FinalBuilder scripts. The problem is that in FinalBuilder there is no option to set 'allow anonymous access' to true on creation of the website, so I am forced to go into IIS manager and change this manually. In...

Visual Studio 2012 - Fill message test result


c#,asp.net,unit-testing,visual-studio-2012,testing
When a test end its running i have a list like this Result1 Name: 01- AutoGenerateRequest (requestgenerationtest) Result1 Outcome: Passed Result1 Duration: 0:00:26,2924949 Result1 Message: Result1 StackTrace: how can i write something in the result message or stacktrace?...

Angular Structure Incorrect Somewhere


c#,angularjs,visual-studio-2012,angularjs-controller,angularjs-controlleras
All i am trying to do is call my back-end through an ng-Click and $http.get. I am then trying to set the value of the item i get to show up in my html. Here is my structure. Not really getting any errors so any information on how to see...