Is there any possibility to prevent Visual Studio 2013 from opening my web application after I published them? I did not find anything on the web.
You should have a file containing your publish settings under Properties/PublishProfiles in your web application.
Open up the relevant Publish Profile for your target, and locate:
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
Change that to false and that should do the trick.
Related
My web application was working fine for months till today, don't know what has changed suddenly the project in my solution file says that it is "unavailable" when I open the solution. When I right-click on the web project and reload the project, I get the following error:.
The Web Application Project myproject.myapp.mywebproject is configured
to use IIS. You do not have permission to access the IIS configuration
file. Opening and creating web sites on IIS requires running visual
studio under Administrator account.
Note - All these months i was running visual studio normally(not under administrator account) and the application was working fine.
By seeing the above error i tried running my visual studio under administrator account and the project got loaded but the Source Control File Status beside all the files disappeared, i no longer see any blue lock icon beside any of the files and even when i edit any file also there is no status beside the file in my project and also when i right click on any of the file i don't see the view history option.
My project which was running successfully till now not loading the project. any suggestions on this ?
Browse to C:\Windows\System32\inetsrv and then double-click the “config” directory to get this warning dialog:
Click on the Continue button.
Do the same for the C:\Windows\System32\inetsrv\config\export directory and also the other directories in C:\Windows\System32\inetsrv.
Now you will be able to open the Visual Studio Web Application Project without a problem.
Just run Visual Studio as an Administrator and the problem will be solved.
from the Start menu or when Visual Studio is open on the taskbar, right-click the VS icon.
in the context menu, right-click the visual studio icon again.
left click on properties.
advanced choice.
choose Run as administrator.
I tried to open my old projects developed by VS2003 but I am not able to open in Visual studio 2003.
Whenever I tried to create a new project or open my existing project in VS 2003 it will populate a error dialogue box .
Its Showing error like "Visual studio .Net cannot create or open the application. The likeliest problem is that required components are not installed on the local web server. Run visual studio .net setup and add the web development component"
I noticed one thing that when I tried to create a new project It will automatically point to the location
http://localhost/newproject
I dont know why it is?
For opening existing project in my application Do I need to configure my application into IIS or in inetpub->wwwwroot folder? If so How can I configure my application into IIS? Please tell me the steps.
Anybody Please help me on this I have to solve this by today! Thanks !
open inetmgr (start - on search program and files type "inetmgr"
expand your server - sites - default web site - right click - add application
Enter Alias at your case : newproject
Application pool select ASP.NET 1.1 (must install first)
Physical path, choose your web folder.
turn off skype or Change skype port.
another suggestions, look CZFox's answer here
I'm evaluating single-page application frameworks, and I've just downloaded and installed the various templates from ScottGu's page.
However, when I attempt to create a "New ASP.NET MVC 4 Project", as detailed on the Durandal page, here, I see only the default, Visual Studio-installed templates.
I've checked in C:\Users\me\AppData\Local\Microsoft\VisualStudio\11.0\Extensions, and I can see a directory (called eislr0na.wgk) containing the Durandal bits. I've deleted the .cache files in the Extensions folder and restarted Visual Studio.
But, I can't see any of the single-page templates in the dialog box.
What's the problem?
In order to use the new templates you must have the Visual Studio 2012.2 update installed.
In Visual Studio 2010 there used to be an option to where you right-click on a project and convert it to a web application.
I want to do that and I cant seem to find that option to convert a web project to a web application with visual studio 2012
I have a Windows Azure web site. I started this web site as a New -> Compute -> Web Site -> From Gallery. Once here, I chose the Orchard CMS. I have the site successfully running in Windows Azure. My challenge is, I want to do some customizations to it.
How do I get this code into my local Visual Studio 2012 instance so that I can:
Make customizations to the site with Visual Studio 2012.
Check it into source control so other on my team can work on it
I saw the following post: http://www.davidhayden.me/blog/installing-orchard-cms-as-an-azure-web-site. However, this only talks about opening the site in WebMatrix. I want to skip WebMatrix and go straight to Visual Studio if possible.
Download WebMatrix and click the Visual Studio button in the ribbon. It must create a solution file for you to then access your website via Visual Studio. I don't have an Azure website at the moment to try it with.
You may need to tweak the registry to get the VS 2012 to open properly:
Type regedit and select the HKEY_CLASSES_ROOT.
Locate VisualStudio.DTE and change the CurVer to
VisualStudio.DTE.11.0
Finally change the CLSID to {059618E6-4639-4D1A-A248-1384E368D5C3}
You do not need to use WebMatrix at all; another option is to just download the files from FTP and then create a VS solution and add the files you downloaded.
From Visual Studio you can easily deploy the solution to TFS and to your azure website.
As a side note, as of today (January 28th, 2014) the registry edit proposed by SilverNinja is no longer needed, I was able to open VS 2013 Professional from Webmatrix without editing the registry.