Can't change website url, VS2013 on win8.1 - windows-8

I'm trying to change IIS express and Website URL to point to a custom URL so i can try the website from my mobile. The point is, the changes I made (read below) don't change the website starting url.
I already changed the part at the IIS Express applicationhost.config file, from port:localhost to a port:custom name, tried to change the part at the .sln file where it points to the localhost.
I uploaded a screenshot from my project's property page, I can't find Use Custom Server option under Server or the Use Local IIS Web Server option.

First Right-click on your Web Site in Solution Explorer and select Convert to web application and then you can find the options you need under Properties -> Web

Related

website text only when run it from iis manager

this is my first time using IIS Manager to deploy Website, I built my website using MVC 4 Visual Studio. When i run from Visual Studio this is the
view
but when i deploy using IIS Manager. this is the
view
Please help me.
CSS are not loading Please verify the path of CSS and js files. For more information please use inspect element in your browser .
This Solve, I open IIS Manager and Open Directory Browsing, at the right side, click enable.

Deploying .vbhtml on Local IIS Installation

I've come into a company that has been using asp.net for some web applications stored on our local servers. There's no current programmer, so I've used what knowledge I have to build a new feature using MebMatrix Razor VB.NET pages and our current SQL Server database. I have to migrate the project over to a local server running IIS to deploy it.
I don't want to use the WebMatrix Web Deploy feature or anything, I'd rather just move the files over manually and have them run. I assume that IIS just needs to be configured to process .vbhtml file extensions. My understanding is that you don't have to build your solution with this method, as you do with ASP. Does anybody know how to do this, or where I might find a good tutorial?
Copy the directory for your website from the 'My Web Sites' folder in Documents. Paste it into the 'inetpub' directory on the server.
Now open IIS Manager, on the left hand side in the connections pane, right click on 'Sites' and 'Add Web Site'. Choose a name, select the default AppPool, browser to the 'inetpub' directory and select your site's folder, set a port that doesn't conflict with any other sites running, and click OK.
On the right hand pane, click browse, you should be able to see your new website.

Security notification bar

I need to add a web reference in Visual Studio 2012 (because service reference generates a blank reference CS and I have given up after hours of googling).
When I go to add the web reference (add service reference → advanced → add web reference) and enter the WSDL URL I get the IE Notification Bar in the dialog with the message:
To help protect your security, your web browser has blocked this site from downloading files to your computer. The option to "Download file" does not work.
I've changed IE security settings to minimum and added the domain to the list of trusted sites but did not have any effect. I also uninstalled IE10 completely and still get the notification bar. I am using Windows 8.
Anyone shed any light on this or had any success adding a web reference in VS 2012?
If you can download the WSDL with your browser, download it and save it to a file. You can then reference it from Visual Studio by pointing it to that file. Or you can use svcutil.exe or wsdl.exe to generate a proxy from the commandline.

Why am I am getting 404 errors when I try to access my newly-installed CruiseControl.NET Dashboard?

I've just got to the bottom of this, and couldn't find the problem documented anywhere, so thought I would post the question (and answer) for future reference:
I've just installed CruiseControl.NET on a (virtual) Windows Server 2003 and I can't access the Dashboard. CruiseControl (ccnet.exe) runs fine, and IIS6 is up and running, and the the CruiseControl installation installed the Dashboard app under Default Web Sites as "ccnet". It's pointing to the dashboard folder, and the dashboard files are visible in IIIS Manager, but when I try to access http://localhost/ccnet I get a 404: Page Not Found error. I get this whether I use IE or Chrome, or try to Browse the site from IIS Manager.
What's wrong?
ASP.NET was Prohibited, and needed to be Allowed - in IIS Manager, click on Web Service Extensions under the server, select ASP.NET and click Allow.

ASP.NET routing on IIS 6

I have created a basic site using ASP.NET routing according to Mike Ormond's example "Using ASP.NET routing Independent of MVC". This works fine on my local machine running the built-in web server.
However, when I deploy it to my server (Windows Server 2003, IIS 6, ASP.NET 3.5 SP1) it just shows a 404 error.
I have read somewhere that I am meant to set up wildcard routing. How can I do this?
What other configuration changes needs to be done to make it work on my server?
You will find some good information on Steve Sanderson’s blog post "Deploying ASP.NET MVC to IIS 6."
On the server, open IIS:
Right-click on the site/virtual directory, select properties
Goto the Home Directory/Virtual Directory tab, click Configuration (near the bottom)
Near the bottom again, click the insert button
Enter C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
Alternate: Enter C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll for ASP.NET 4.0
Uncheck the "Verify that file exists" button, click Okay and close all the dialogues
You can find the "official" discussion of wildcard mappings on TechNet here but I like Phil Haack's walkthrough that you can find here. Don't worry about the fact that it's a discussion of setting up ASP.NET MVC, just look for the section titled "IIS6 Extension-less URLs" - that set up applies to both MVC and using routing with a classic web form application.
Under IIS 6 64 bit, make sure that the path under 4.) points to
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll
Url rewriting can help you to solve the problem. I've implemented solution allowing to deploy MVC application at any IIS version even when virtual hosting is used.
http://www.codeproject.com/KB/aspnet/iis-aspnet-url-rewriting.aspx