iis-7.5

Issues delivering PDF files in IIS 7.5

This is a very wierd issue - any thoughts/help/hints would be greatly appreciated. Our web app streams PDF files to the browser using the following code byte [] fileBytes = GetTheFileBytes(); string contentType = "application/pdf"; context.Response.Clear(); context.Response.ClearHeaders(); context.Response.ContentType = contentType; c...

iis 7 \ windows 7 asp.net access is denied

Hi all, I am trying a very simple action of saving a file into a folder of mine. I am hosting my application on windows 7 using iis 7. When I try saving my file I get the following error: Access to the path 'C:\MyWebsite\MyFolder' is denied I am not impersonating, I have given network service full control on the folder. What can be ca...

how to run asp.net website from iis7.5 and in windows7

I am trying to run my website from iis7.5 and i am using windows7 OS. after browsing the website, it gives error like this... This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag ...

my web.config file content is like this

<validation validateIntegratedModeConfiguration="true"/> <modules> <remove name="ScriptModule"/> <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </modules> <handlers>...

Create Virtual Directories in IIS 7.5

My asp.net web application knows how to create sub-applications (asp.net applications with web.config file, located in sub folders of the root application). Now, I need to configure each sub-application in the IIS with a Virtual Directory, AND, make this new virtual directory an application in a specified application pool. Is there any...

ASP.NET C# - "The RPC server is unavailable"

Hello all, This is my code for creating Virtual Directory in IIS: /// <summary> /// Creates the virtual directory. /// </summary> /// <param name="webSite">The web site.</param> /// <param name="appName">Name of the app.</param> /// <param name="path">The path.</param> /// <returns></returns> /// <exception cref="Exception"><c>E...

The device or resource (localhost) is not set up to accept connections on port "The World Wide Web service (HTTP)".

The device or resource (localhost) is not set up to accept connections on port "The World Wide Web service (HTTP)". I have windows 7 , downloaded the iis platform from microsoft. I did it more than once. the bad news, it worked a few days ago .... today my inetpub/wwwroot is compeletly empty the service is running and in the firewall Wo...

WCF Service VS IIS 7.0 VS IIS7.5

Hi, I got WCF Service with Fluient Nhibernate. When i hosted in my IIS7.5 dev machine(WIN7) it works fine. Worker process shows the clear garbage collection indication of my app pool. But when i moved to production which is win server2008 with IIS7 Garbage collection is not working and the virtual bytes in worker process keeps on incre...

Developing in Visual Studio 2010 with the new IIS Express web server?

Although this question isn't directly about code it's related to programming and seems better put here than, say, serverfault or superuser. -- I'm a developer with Visual Studio 2010. Microsoft's newest web server offering for developers is IIS Express. ScottGu indicated this combination is workable: IIS Express will work with VS 2...

IIS 7.5 - Website needs restarting every morning

I have an Umbraco website that I have to restart every morning in order for the users to be able to publish content. Is there any solutions available that will help me get around doing this each morning? ...

asp.net mvc 2 global.asax.cs being ignored

I was having trouble debugging why a route was throwing a 404 when I was positive I set it up correctly. I made changes, rebuilt, still 404, I did all kinds of crazy stuff to the route but always 404. then in my frustration I just deleted ALL the routing in global.asax, saved rebuilt and ran. I still got 404... but the rest of the site...

IIS URL rewriting to redirect querystring addresses to MVC style path to preserve old links

I am trying to preserve old links such as index.php?pageid=123 to the now current /accounts/home. No part of the original URL has to be included in the redirect. I have a big list of old page links and their new address. I thought it would be really simple to say index.php?pageid=123 = /accounts/home but I can't see how to do it. Most o...

IIS 7.5/ASP.NET - Anonymous access to everything except one directory - how?

We're in the process of upgrading from IIS 6 and .NET 3.5 to IIS 7.5 (Windows Server 2008 R2 Enterprise) with the same application. I'm having trouble getting our previous IIS 6 setup to work correctly. Under IIS 6, I could set the website itself to use a specific domain user (e.g. ourdomain\webuser) for IIS itself. This controlled in...

WCF Over SSL Uses Machine Name IIS 7.5

I am having trouble setting up SSL with my WCF on IIS 7.5. I have seen this post: http://stackoverflow.com/questions/470111/wcf-not-using-my-domain-name-but-rather-my-computer-name-when-viewing-myservice However, the solution for IIS 7 does not seem to be working for me. In addition, I have a wildcard ssl, I'm not sure if that makes ...

How do you determine cookies are disabled *without* javascript and *without* redirecting?

If I disable javascript and cookies, Amazon.com detects that cookies are disabled without a redirect. If you click the cart link, there's only a get on the cart page. I'm guessing amazon.com is most likely not using ASP.NET, but how would you accomplish detecting disabled cookies using ASP.NET without the use of javascript and redirect...

How to install PHP in IIS 7.5, Windows Server 2008 R2 (64bits)

In http://windows.php.net/downloads I couldn't find any x64 built for download. Further I have to choose among "Thread Safe" and "Non Thread Safe" with no explanation whether one is safer than the other or it performs better. The install.txt inside the available ZIPs for download seems out-dated an it doesn't mention anything about this....

IIS7.5 Application is using web.config in the root directory instead of its own!

Note: I did not setup a virtual directory its a Application! Here is the structure Hard drive folders: -IISRoot -Webpage Test.aspx web.config -WebService -Bin Service.svc web.config IIS is setup the following way: -WebSite (Mapping against ISSRoot\Webpage) -Service ((Application) mapping against IISRoot\WebService) ...

IIS7 URL Redirect Not working for ASPX pages with colons in the name

This is related to a previous (unanswered) issue I've had with trying to catch request errors in the Global.asax, but it now appears to be more widespread. The URL redirect feature in IIS7 will not handle URLs which both end in .aspx and contain a colon anywhere in the url. Rather than follow its own redirect rules, IIS7 treats .aspx pa...

Copy IIS 6 to IIS 7.5

I have a Windows Server 2003 that is running IIS 6 with several web sites and I need to copy the web sites to a Windows Server 2008 server running IIS 7.5. Is there anyway to copy the information? ...

Compilation Error: [No relevant source lines]

I'm getting this error when trying to view a page in my localhost. Web site worked before. The code files are not pre-compiled. I've cleaned asp.net temporary folders and gave full control permission to IIS_IUSRS account for wwwroot and Temporary ASP.NET Files folder but no change. I also get Access Denied error while try to execute C...