I want to deploy the WCF service (.net 4.0) to IIS 7 and use the built in deployment capabilities of Visual Studio 2010 for this. There is a good article about that on msdn http://msdn.microsoft.com/en-us/library/dd465323.aspx but there is still one unclear thing for me.
I want to set "enable 32 bit applications" app pool setting during deployment and it seems like there is a special option to do this in Package/Publish Web section of visual studio project. There are two checkboxes there, namely: "Include all IIS settings as configured in IIS" and "Include application pool settings used by this Web project". But when I select them, build a deployment package and deploy it to IIS on different computer then "enable 32 bit applications" is not set in the target environment (WCF service itself is installed successfully and working).
Probably I'm missing something or misunderstood the intention of IIS settings inside the VS2010 project. Any comments are welcome.
Related
If you see below image, there are two applications deployed to IIS.
QManualDeployment - This is deployed using Visual studio Publish feature.
InstallShieldPOCWebApplication - This is deployed using InstallShield installation tool.
Option 1 is working without any issues, but as you see InstallShieldPOCWebApplication it looks like foder rather than web site. Also it does not work.
How can I deploy application as website using INSTALLSHIELD
Here is my IIS Settings from InstallShield Tool
Default Web Site is a website. QManualDeployment is a virtual directory / application off of Default Web Site.
In InstallShield, it isn't enough to just author all of your directories/files into components. You also have to define the IIS configuration.
I'm not sure if you are using InstallShield Express, Professional/Premier of Limited Edition so I can't give you more direction then that.
I faced same issue with Post owner, after run Install Shield setup file, it show a folder in IIS and I resolved by right click to folder name and convert to Application.
I share for whom concerned.
After that we can select suitable application pool as
Using IIS Express as my development server in Visual Studio 2012, I notice a rather odd-looking silvery-blue icon appear in my system tray. It turns out this is the IIS Express icon, as shown the the following image (the IIS Express icon is on the left):
What is this icon supposed to represent? For about a week I thought it was a stylised S, now it looks more like a tin can being crushed by a robot hand.
The icon you mention is the IIS Express System Tray application icon.
If you were to debug or run a Web Site or Web Application from the Visual Studio IDE, this icon will be displayed in your System Tray; you can right-click this icon and gain access to further features to stop these web sites and more.
IIS Express is somewhat similar to the Visual Studio Web Server in that it runs the web site/application under a random port on localhost. IIS Express is beneficial to use because incorporates the main Windows IIS Features without the need of requiring the Windows IIS Feature to be installed on the developer's computer; most corporates don't like to have the Windows IIS Feature installed because it represents a security risk to the company and requires more corporate management.
References
http://www.iis.net/learn/extensions/introduction-to-iis-express
I am working on client's application in which we have two servers - development server and testing server. We first develop applications on development server and then publish it and host it on test server for client testing.
Testing server has Microsoft .NET framework 3.5 SP1. On development we have Visual Studio 2010.
We publish the website on development server using VS 2010 and then copy that folder to testing server and host it on its IIS.
Whenever we try access any aspx page of site hosted on testing server, we get error:
Could not load assembly App_Web_xxxxxx.dll". Make sure it is compiled before accessing the page
What can I do to resolve this?
This could be due to a lot of reasons.
I would start by trying one of the following things..
Make sure your IIS Site has the correct .net version specified - same as your application
Make sure you have all the required .net components installed in windows features (control panetl)
Look at event viewer for more errors and post it here
OK guys here is the solution.
Since my testing server is having Microsoft .NET framework 3.5 so on the development server while publishing from VS 2010, I have to choose target framework as 3.5.
Do this:
Right click web site -> Property Page -> Build -> Change the target framework.
After doing this setting, publish the web site again.
Is there some kind of deployment wizard I can run and have it install just the things it needs to run right onto the server end point? Do I have to build the project using VS2010 on the server? If I can't get this thing deployed today I am really going to be screwed.
IIS 6 is there and I think .NET 4 is installed (I tried installing it from Microsoft and they had me install a million things like VS2010 express and SQL Server and all this other crap, the install failed but .NET 4 does show up in IIS).
I achieved this by enabling an FTP site for the IIS server website and using this to deploy the web application within visual studio 2010 which will build and deploy just the changed files for each build. Works very well. You can even add a Publish toolbar to help deploy regularly more easily.
All you have to do is install the .NET Framework 4.0 (32 / 64 depending on build) and run aspnet_regiis.exe in the Framework folder.
For me this is located here:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe
Hope this helps!
You can also use the publish command from VS 2010 to save it to the filesystem and then copy the files into an IIS site on the target server. Just map a network drive to X: or something (for your sites root) and publish directly to the share.
You can take a look at Web Deployment projects or even the VS "Publish" feature
From the Build menu in VS2010, just click Publish [name of your web project] and enter the location on your web server where the site is going to be hosted.
VS2010 will publish the files required there.
It shouldn't be necessary to install VS2010 Express, just to deploy a site. But if .Net 4 and ASP.NET MVC 3 is installed, you should be able to deploy. Right click the web app in VS2010, and hit Publish.
Remember to set the configuration to Release!
But, with IIS 6 you could be in for a fight in regard to HTTP Modules, Handlers and other server configuration. Anything inside your Web.config's system.webServer section will always be ignored by IIS 6.
I have installed Windows Azure SDK on my machine on top of VS 2010 SP1. "Windows Azure project" template is listed (file->new project) but "Cloud Service Project" template is not getting listed. Do I have to install anything else? Thanks.
I believe "Windows Azure project" is correct, and "Cloud Service Project" is just old terminology. I don't have a project template called that either.
Did you also install the Windows Azure Tools for Visual Studio? I usually choose the tooling option as it also includes the SDK. Pro tip: use the Web Platform Installer and it will also setup any other dependencies you need.
Click the 'Get Started' link from here to use WebPI installer:
http://www.microsoft.com/windowsazure/getstarted/default.aspx
If you're on VS 2012, switch the .NET Framework version at the top to 4.0. I was totally flummoxed by this silly issue and even filed a connect bug!
The UI needs updating to discard the Framework version filter and have the supported frameworks listed in a column. Choosing the Framework to target should be moved down to the bottom where other pre-create config options are set.