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...
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...
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 ...
<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>...
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...
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)".
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...
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...
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...
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?
...
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...
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...
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...
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 ...
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...
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....
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)
...
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...
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?
...
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...