Cannot debug MVC project due to IIS change(8=>7.5) on VS2012 RC - windows-7

I have installed web matrix and It has somehow removed the existing IIS Express 8.0, that is installed by default during the VS2012RC installation. I think that is because the web Matrix is using IIS 7.5. So that it has replaced the IIS Express 8 with IIS Express 7.5.
So my tech lead told me to remove the existing IIS 7.5 that has been installed during the installation of Web Matrix, And I removed it. So I have no IIS for debugging. So once I tried to install the IIS 8 manually and it says that there is a existing version of IIS Express 8. So that I can not even install the IIS Express 8.
So I did a repair to my VS2012RC. After a lengthy process it finally gave me a report as
"IIS 8.0 Express
Package failed"
So, Now I am totally stuck with this. Can some one good at this VS stuff help me on this issue.
Another thing is, previously when I open the project and it was not loaded(It says the project is not loaded) So, then when I write click on it and do a reload it said "For debugging you have to have IIS 8.0 and ask me to download it and install ".
When I click next and then it goes to "MS web platform Installer" and direct me to the "IIS 7.5 download page" But the install button was enabled and says its installed. What should I do to overcome this issue. This is like a nightmare.
I also Tried to use "Fix it" and Its beta testing is over and I can not do a proper uninstall of the IIS 8, which says that is still existing.
Thank you.

So, what I did was using MS web platform Installer my option of IIS Express 7.5 and IIS Express 8.0 was gone due to a registry issue. But there was another IIS 8.0 which is compatible with Windows XP and Vista and upper. So I downloaded it installed. It installed in no time and then I opened the project and changed my solution configuration, single start up to my website project. And it worked. That saved me form the havoc that day.
Later I uninstalled the IIS 8.0(Xp compatible) and then did a repair again to my VS 2012 and it installed correctly that time. Then I changed the configuration as said above and done.
If you have the same kind of problem you have to check the configuration also. Since I forgot that this took even longer instead of repairing time for the VS 2012 as well as the system restore.

Related

IIS Express Does Not Recognize Running VS2022 as Admin

I had a computer with VS2019 Community installed. I got a new computer, copied my documents over, and installed VS2022 Community. I am launching VS as admin. In the upper-right corner of VS it says "Admin". Also, when launching VS I get the User Account Control prompt associated with launching as an admin. Yet when I build my solution and launch IIS Express, I get a message "...You do not have permission to access the IIS configuration file. Opening and creating web sites on IIS requires running Visual Studio under an Administrator account". Does anyone know what else to do or have a suggestion of what else to look at? Any help would be appreciated.
Seems the message is a red herring. I incorrectly assumed that IIS Express was installed with VS. The solution was to install IIS Express.

How can I install WebMatrix 3 in a standalone PC?

I need to install webmatrix 3 in a pc without internet connection.
I have win7 64bit.
so i downloaded webmatrix x64 exe and all his dependencies and services exe/msi files - include web platform installer.
I installed all and run the webmatrix app but an message box pop up and said that I need to have the latest webPI installed (4.6 in this days..).
But it is a problem because the wpilauncher.exe file (webPI installer file) install version 4.0 for some reaseon, i think it because I dont have internet accsess.
so?
help, thx.
you can download offline installer from Web Platform Installer
Run on your PC with internet connection WebMatrixWeb.exe, click Install
You will see installation plan and download link on the right.
this may help
There's a link to an offline instaler for x86 available at download.microsoft.com/download/c/2/a/c2a485fa-013a-45ef-baba-c568e40f4b50/WebMatrix_x86_en-US.msi. Requires IIS 7.5 Express or IIS 8.0 Express.
I can see you've specifically asked for x64 version, but this might work for someone searching for x86 version.
WebMatrix needs an active internet connection to install since it pulls in some other required services from the Web Platform Installer.
Quote:
"..WebMatrix needs other components installed to function correctly,
and those are all pulled in by Web Platform Installer automatically.
In that sense, the true installer is not really "offline"."
Source: http://connect.microsoft.com/VisualStudio/feedback/details/641843/webmatirx-offline-installer

"The Web server does not appear to have the FrontPage server extensions installed and iis6

I wanted to publish my website from visual studio but i got "The Web server does not appear to have the FrontPage server extensions installed" error;first I tried to install frontpage but because i didn't have microsoft share point in my administrative tools list and as here said:here,I tried to install webdav 7.5 version,(I believed my iis version was 7)but it gives me error that iis version 7 needs webdav version 7.5!!!
I have googled it and tried so many links more or less(because I couldn't find some parts of them in my computer),I tried enabling webdav and ...
such as:thisand this
but none helped.so I thought maybe I am going wrong,so due to this:which is my own question,i think maybe i am using windows server 2003 and iis6,so i googled to install frontpage for iis6,from here,but I don't have such a thing "FrontPage 2002 Server Extensions" in turn windows features on or off,so what should I do?please help me to get out of this hell,should I upgrade iis6 to iis7?please help,i will be so thankful.
by the way my os is windows 7 64 bit,and I use visual studio 2010.
FrontPage server extensions (FSE) is a server side package that FrontPage and some other Microsoft applications use to upload files to web sites. FSE must be installed on the server in order for these applications to upload files. FSE has nothing to do with Microsoft desktop products directly. It is often installed on Apache systems, for example. cPanel has an option to install it, if you are using that to manage your server.
IIS should come with FSE already installed, AFAIK. That would certainly make sense, with it being a Microsoft product.

VS 2012 IIS Express 8 - Unable to launch the IIS Express Web server

I'm trying to run an MVC 4 project in IIS Express 8 (because that is apparently what comes with VS 2012) and every time I've tried to run it from VS, I get the following error.
Unable to launch the IIS Express Web server.
14:53:48: Error: Cannot initialize OLE
14:53:48: Error: Cannot initialize OLE
Launching IIS Express through WebMatrix seems to work fine. I've tried uninstalling and reinstalling, but nothing seems to work. Any suggestions?
I'm not sure this will help but it worked for me. After uninstalling IIS make sure you delete the IISExpress folder (on Windows 7 this is located in My Documents\IISExpress). This is where the IIS config files live and if you don't delete it after the uninstall the newly installed IIS will end up using the old config files.
I didn't see the OLE error you're having, but everything else is similar...
checking the event view, I was seeing an IIS error preloading .NET 4.0.30306. All the config files were pointing at 4.0.30319.
But... under my Windows/Microsoft.NET/Framework/ (and Framework64) I had what appeared to be a partial installation of a v4.0.30306.
Deleting both those .30306 folders and rebooting fixed the IIS Launch issue for me.

Web Setup Project not working

'The installer was interrupted before [project name] could be installed. You need to restart the installer to try again.'
I just moved to Win7, and I cannot get the .msi files to install from my Web Setup Projects that are built on that machine. The same projects build and work fine on my other Windows XP, IIS6, VS 2008 SP1 machine. I'm not sure if this is a IIS7 or Win7 issue, but I've done the following:
I have all the IIS/ASP.net compatibility settings checked.
I am an administrator, and I have UAC turned off.
I get the following error when I even try install the .msi file on the Win7 machine and on our existing development server (windows 2003 with IIS6).
I've restarted the windows installer service, and I've added logging for the installer but there is nothing that is showing me what the problem is. Any help would be MUCH appreciated.
I'm running Visual Studio 2005 and had the same problem as you described when moving to Windows 7.
After trying my Web Setup Project .msi file on another computer also running Windows 7 I found that it worked.
When I looked in the "Windows Features" dialog on the working computer I noticed that the IIS had IIS 6 compatibility features turned on. I enabled the same feature on my computer and after that I could install my setup project.
Open up "Control Panel > Programs > Turn Windows features on or off" in Windows 7 and in the "Windows Features" dialog go to "Internet Information Services > Web Management Tools > IIS 6 Management Compatibility" and check the feature "IIS Metabase and IIS 6 configuration compatibility".
Run the installer with full verbose logging:
msiexec /i /lv installLog.txt
Then search the installLog.txt file for "Return Value 3"
This will indicate the exact problem.
Additionally this may help:
http://blog.dragonsoft.us/2009/01/02/visual-studio-2008-and-iis-7/
I solved this by running 'regsvr32.exe actxprxy.dll'
It resolved the following:
Not able to create valid .msi web project in VS 2008.
Start Page in VS2008 was not displaying rss feed in the main window.
IE was not opening up shorted url links to a new tab (in twitter for example).
I suspect this was because of redirects, but I'm not sure. I'm guessing this was a bug in the install process, so I hope this helps others.

Resources