Question: I have the following code in R:

```
z <- scale(x) / sqrt(n-1)   # standardized matrix x such that z'z=correlation matrix
R <- t(z) %*% z             # correlation matrix
I <- diag(py - 1)           # identity matrix(py defined before)
df <- rep(0, length(k))     # k=seq(0,5,0.001)
for (i in seq(0,5,0.001)) {
    H <- z %*% solve(R+(i*I)) %*% t(z)
    tr <- sum(diag(H))
    df <- c(df,tr)          ## problem here
}

```

The last line in the code is not good, as what I want is a vector (`df`) that reads each number from `tr` for each i, so that df returns a vector containing all `tr`.

Any help is appreciated.

Thanks

Answer: 
Is the application pool running in integrated mode the IIS site running under that application pool?

It's my understanding that if this isn't the case, the MVC site will not run.

Alternatively, have you tried [this?](https://stackoverflow.com/questions/1741439/asp-mvc-in-iis-7-results-in-http-error-403-14-forbidden/5459217#5459217)
+1 Unicorn power HooooooO!!!!! Also I've always when hosting a site published the project to a different folder then setup the site via IIS from that folder hope this helps.