I copied my project over to another computer to open it and in visual studio and got this error:
http://localhost:51278 : error : Error opening web http://localhost:51278. The Web site 'http://localhost:51278' could not be found.
I have looked on the link here stated in other answers: http://support.microsoft.com/kb/326497
But I fail since I cant find a (Projectname.vbproj.webinfo) File, all I have is a .SLN File.
I set up IIS and dragged the project into the root at (C:\inetpub\wwwroot). Upon opening the file in visual studio I know get this error. Any ideas?
EDIT:
I ran visual studio as ADMIN and got this error:
http://localhost:51278 : error : Error opening web http://localhost:51278. The Web Site 'http://localhost:51278' is configured to use IIS Express as the web server but the URL is currently configured on the local IIS web server. To open this Web Site, you must use IIS Manager to remove the bindings using this URL from the local IIS web server.
Related
I have a website defined locally in IIS and I can navigate to it with my browser without issue. When I try to debug the project in Visual Studio 2017 I receive a timeout error trying to connect to 127.1.1.1:38545
In the project I have the server set to Local IIS (not Express) and a project URL specified http://mylocalproject.mydomain.com (same as what I have the domain defined in IIS and my Windows hosts file)
Any idea what I need to do to get Visual Studio to use the specified URL instead of trying to use a dynamic port?
I am working on Outlook Web Addin (OWA) project and downloaded a sample project from internet that is just showing basic information of selected email. The email information is showing in a .html page and this .html page is showing in iFrame of OWA. Till this point everything is good and I can see the details and everything is handled by the project itself that I downloaded.
Now our main requirement is when user clicks on "Inbox" then I need to capture that event and do something. But the problem I am facing is the OWA is running in different domain and my .html page that is running using Visual Studio is running in different domain. I don't have control over OWA and if iFrame page and main page both are not in same domain then I can't execute my JS code for parent page elements.
OWA URL: https://inexyz.customdomain.com/owa/#path=/mail
iFrame url: https://localhost:12345/messageread.html
The problem I am facing is how can I run my AddIn project incustomdomain.com. If I host it on local IIS then while debugging how can I append my messageread.html page url to iframe? Is there any way to change localhost:12345 to customdomain.com while debuggin using visual studio.
To resolve the above problem I tried to change the project URL in Visual Studio. I've checked checkbox for "Override application root URL" and set custom url like "https://machinename.customdomain.com/messageread.html" and instead of "IIS Express" set "Local IIS", also created vistural directory for the same. If I try to brows the messageread.html page using virtual directory it's working fine but when I try to run solution (Web Addin project) it's showing "Deployment error" and in Error List window it shows nothing.
I am using Visual Studio 2015.
Exchange server 2013.
OS: Windows 10.
IIS: 10
Anyone any idea, how can I change project URL from visual studio instead of localhost:prot?
This might be a stupid question, but I have a problem with Visual Studio 2013 and IIS (not Express), that the Visual Studio debugger by default uses IIS Express (iisexpress.exe) to debug code. But I do not want that, but I want to use IIS installed on my computer (w3wp.exe).
I succeeded in debugging with IIS by using Attach to Process... and then selecting All Users and then picking w3wp.exe as a process. But I need to do this every time I start debugging. Is there a way to use IIS by default? In Visual Studio 2012, everything worked well, but in VS 2013 I cannot find an option to use IIS (w3wp.exe) by default.
I am debugging a Web Site ASP.NET 4.0.
Thanks for any help!
If your website project was opened via IIS, it should debug the IIS process automatically. If your site exists in IIS currently, you should be able to find it via File -> Open -> Web Site.
If you opened an IIS Express based website project (or via the file system, which uses IIS Express by default), then run the site through IIS, VS doesn't know that the site is running in IIS.
In order to get this working on my setup (VS2013, IIS7, Win7) I needed to go into IIS Management Console and manually enable Windows Authentication.
I'm trying to publish a desktop application to a FTP location for updating over the web. Conceptually this works fine, I've published to my local disk, manually copied the files up there, installed from that location, and updates are automatically installed.
Ideally though I'd like to not have to publish to local and copy, I'd like to publish straight to FTP or even WebDAV. When entering an FTP location though I get this error:
Failed to connect to 'ftp://xxx.xxx.xxx/' with the following error: Unable to create the Web site 'ftp://xxx.xxx.xxx'.
The components for communicating with FrontPage Server Extensions are not installed.
Google tells me that on previous Visual Studio versio I could add the "Visual Studio Web Authoring Component" through Add/Remove programs and repair, but that doesn't exist in VS 2012. I'm using VS Express 2012 for Windows Desktop.
How do I install the required components?
Installing Visual Studio Express 2012 for Web gives you the right components:
Article: http://msdn.microsoft.com/en-us/library/dd537667.aspx
Download: http://www.microsoft.com/web/downloads/platform.aspx?templang=de-de
Sidenotes:
The FrontPage Server Extension is available as Apache Mod, and IIS extension.
IIS: http://www.iis.net/learn/publish/frontpage-server-extensions/installing-the-frontpage-server-extensions-on-iis#02
Apache: http://docs.cpanel.net/twiki/bin/view/EasyApache/Apache/ModFrontPage
I have been using VS 2010's Copy Web Site a lot to publish my sites to a Windows 2008 Server. I have now got a new PC (Win7) with VS 2012 installed, and moved my sites/projects to this new PC. But I can't get the Copy Web Site to work here. I always receive error:
The ~/ directory does not exist
There is no problem to connect to the same directory via Windows Explore FTP. I have tried to remove the cache from WebsiteCashe, but no help. Any ideas?