Auto-Start application / global.asax / wcf service when IIS7 starts automatically - wcf

Thank you for your time :)
I'm sorry if this has been asked before, I just really need clarification.
Environment: server 2008 R2 64bit
Basically what im attempting to do is create an autonomous application that will load even if the server reboots.
I went ahead and wrote a wcf service that will do the workload.
All I need is a trigger that will start one web method. It needs to fire even if the website isnt loaded (visited).
So far all ive found are registry edits, and possible a batch file. I really dont like the idea and I wish I could do something else.
I was hoping to find something in iis7 that would either call the global.asax file or AppInitialize() in the service.
The only way ive been able to get it to fire is if I visit the application myself.
Thanks for any help!
:)

You Windows Server version actually has IIS 7.5, so you are in luck. Check out the new Auto Start feature:
Auto-Start Feature
The auto-start feature of AppFabric is built on top of the auto-start feature of Internet Information Services (IIS) 7.5, which is included in Windows 7 and Windows Server 2008 R2. In IIS, you can configure an application pool and all or some of its applications to automatically start when the IIS service starts.

Related

SSO siteminder configurations to work on IIS7 integrated mode with MVC4 app

I am working on a MVC4 application on IIS7 Windows 2008 R2 server and trying to integrate SSO siteminder with my application. However I am not able to find exact documentaiton around how to do so. I am looking for configeration settings for both server and web.config of my application. I am running my application in integrated mode. Siteminder is already configured on server, i need server settings just to verify.
I can see CASiteMinderWebAgentHandler and CASiteMinderWebAgentHandler-32 in modules on applicationHost.config on server.
I am not sure what to put in web.config of my app to make it work.
Please let me know in case you need any other information. I have been searching about it for couple of days now but nowhere I have found exact doucmentation. Please help. Any help will be highly appreciated.

Updating IIS website using WCF standard endpoints with Powershell

We have an ASP.Net website running under the 4.0 framework in IIS 7.5 on a Windows Server 2008 R2 box. A portion of the web site functionality utilizes WCF and has a "standardEndpoints" section in the web.config.
The website works fine and everything works fine if we want to use the IIS Management Console GUI to do things.
We would like to use powershell to make changes to the web.site but when we run "Set-WebConfigurationProperty" an error is generated indicating that the "standardEndpoints" section of the web.config can't be processed.
The hotfix referenced here is not the solution. The website works, the hotfix appears to be only for Server 2008 (not R2), and when you try to install it, it says "not applicable for this server".
We did discover by running $PSVersionTable that PowerShell was referencing version 2.0 of the CLR. We installed Powershell 3.0 and now Powershell is referencing version 4.0 of the CLR but the problem persists.
We are looking to see if there is a simple solution to this. I suspect we may not have the right version of the IIS management script dll but can't find a different one to use. If the solution gets to complicated, we will just wipe the server and start from scratch.
Thanks for any suggestions,
John

Default website returns 503 on TFS/Build box

Okay, here goes: Our developers are running VS 2012 on Win 7 boxes. I am running TFS 11 on my Win Server 2008 R2 box with IIS 7.5. It runs fine. My gating unit tests fail however. While I am not completely certain what the issue is, I seem to be unable to get the default Web Site or our application that I have installed under it to run. The default web site won't even return a test.htm file choosing instead to return a 503. To date I have tried...
Setting up WCF with access to the test cert installed on the box
Changing the app pool and giving it access to the dir in question
Burning a small offering to the gods of oblique IIS issues
Various other things I can't recall at the moment
I would take Sean Walsh's advice at the end of this post: http://forums.iis.net/t/1183179.aspx/2/10 but I need SQL reporting services for my TFS to work properly.
Thoughts? Thanks in advance.
Sean Walsh had it nailed. This turned out to be due to the fact that SQL server reporting services were using the port at the behest of TFS. I was able to step around this problem by setting up a dedicated build box on a VM.

Use WebDav in Sharepoint 2010

I have done some research, based on the problem that my single server gives me when I try to open a document library in windows explorer from the ribbon menu item "Open in Windows Explorer".
The same problem occurs when I try to map sharepoint to a folder in windows explorer too.
The error is:
Your client does not support opening this list with Windows Explorer
From the net, suggestions are:
(Since I'm trying this operation from server itself) enable Desktop Experience
Install the KB907306 update.
Enable IIS webDav service (Some say, it's just for additional functions from the MS Whitepaper)
(Edit) Started webClient service
I've already done them. Nothing changed. Proper machine restart and iis too have done.
Need some serious advice.
Thanks in advance.
Not sure if we are having exactly the same problem BUT I have had similar problem while accessing SP via Windows Explorer in Windows Server 2k8.
What I done to fix it is following:
Install new server feature called Desktop Experience (it comes with WebDAV redirector, which allows you to connect to WebDAV) - Note: Server will need to be restarted.
In Services start WebClient service (go to properties and make sure it starts automatically)
You will now be able to access your sharepoint via entering network path such as \sharepointhost\application\myawesomeapplication\ etc.
Hope that helps.
If you are trying to do this from the server, test it from a server which is not on the SharePoint farm (or better yet, a client machine). Ensure all of your testing is done from machines which are not on the farm.
Do NOT enable the IIS WebDAV service, as SharePoint provides its own WebDAV service and the IIS one overrides it in the pipeline. Enabling this service is a sure path to breaking WebDAV.
If you have SSL enabled, you may be in for a rough time getting it to work. Start by understanding how to use the 'net use' command, and the #SSL suffix.
make sure your webdav is installed as feature
make the following registry fix (http://support.microsoft.com/kb/841215) :
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
Add a new DWORD "BasicAuthLevel" and change this to "2"
Restart your machine (and make sure it is enabled in IIS)
Make sure that WebClient windows service is running in the server. This shall appear in client operating systems like Windows 7, windows 8 however, on the server operating systems like Windows Server 2008, it shall be installed by enabling the server feature "Desktop experience" using Server Manager
This issue nearly killed me. I found that I was using a 64 bit version of my browser and that is'nt supported. I changed over to the 32 bit and it works.

how to IIS service start automatically?

Each time when i start my server , i need to go to IIS and then need to start the each web application manually. i want to start all web application automatic as my server starts. You will wonder why I m shuts down my server again and again. But it is test server. so that only. anyway. which service have to make automatic? It is Windows Server 2003. using IIS V6.0
Check if the iis service is set to start automatically. For this go to the Services MMC and ensure that the World Wide Web Publishing Service is set to start automatically. If there are no problem with the sites, they should start automatically. Also check here: http://www.eggheadcafe.com/software/aspnet/30451499/how-to-set-default-web-s.aspx
IIS(Microsoft web server) server are mostly installed in windows operating system(OS) ,we want to just start a service only,if iis server not installed then easily download and install in windows.
For More Reference