I have a web application that will display logos. Some of the logos will be in GIF format. Some will be in JPEG format.
I'd like to standardize a file naming convention, so that I can find the logo file given the company's Primary Key. For example "British Petroleum" has a PK of 1459, and their logo is stored in /Images/Logos/C1459
So ...
I have a very strange problem. I have a httpmodule that is running with impersonation (for an anonymous user) through IIS. Impersonation is not taking effect in some cases but is in others. The module is doing an asynchronous web service call, followed by a database call. All of this takes place in the PreRequestHandler event. I'm findin...
My HttpModules uses the PreRequestHandlerExecute event and seems to be losing the identity which I am impersonating when I get to the callback function. I can check the user it is running under (with Environment.UserName) and it goes from the impersonated user (in the begin function) to Network Service(in the end function).
Anyone seen ...
can anybody explain these things in IIS??
...
I have been asked these question in interviews...
1.How iis recognize that which web application we are requesting?
2.How iis recognize that web application is developed in
which language?
Can anyone explain them in detail...
...
I have an ASP.NET website, it is running on Windows Server R2 in corp network, and using Windows Authentication, below is its config information:
The app pool of the website is using a domain account and in Integrated pipeline mode.
The authentication is set Windows Authentication, all other authentication modes are disabled.
Howev...
Hi,
I've made a custom 404 error page in my codebase and have the following lines in the web.config to direct the customer to this page in the event of a 404.
<httpErrors errorMode="Custom">
<remove statusCode="404" subStatusCode="-1"/>
<error statusCode="404" prefixLanguageFilePath="" path="pgeNotFound.html" responseMode="File"/>
...
I've just deployed my first ASP.NET MVC 2 site, and all appears to be well except I've run into an issue with IIS banning double-escaped characters, which I was relying on for a few routes.
As I don't have control over IIS (it's on a shared host) I've decided to go around the issue and replace the spaces with underscores in my URLs. Hav...
In my asp.net webforms application I am using plain and simple forms authentication hooked up into my database (with the standard membership provider). Everything works well, I can log in , log out, get roles, etc...
However, after deploying my site to the intranet IIS server I noticed that IE cannot be authenticated. The actual authe...
After 60 secs of inactivity, the proxy server has ended all connections with the client and server.
The client acknowledges knows these connections have ended. The client sends a POST to the website, however IIS/Sitecore replies ‘Invalid method 405’.
Ie) you are not allowed to send a ‘POST’ right now... we’re expecting another GE...
I need to integrate my sharepoint site and ASP.net site. So, First login will occur in the SharePoint site with Active Directory authentication and from there i need to traverse to ASP.Net site through a link. Now my question is whether its possible to pass my SharePoint Active Directory credentials to ASP.Net site? Will i be able to do ...
I have a website
www.somesite1.com which gets all its image content from www.somesite2.com
At the moment each time an image is to be displayed we simply use an absolute URL to get it like this
img src="http://www.somesite2.com/event/image.jpg" /
So each time a user goes to www.somesite1.com for content www.somesite2.com gets hammered...
We have an ASP.NET web application, which is a C# DLL, that references a C++/CLI DLL, that links against some native static libs.
When we edit the web.config file, the appdomain unloads itself as expected, however at the next web request the application crashes with some access violation exception from our native code.
Further investi...
We are observing some strange behaviour in our web server logs where where the Identity of the currently logged in user seems to be getting swapped with another user. I will describe our set up before explaining further.
We are running an asp.net web site (v3.5 of the framework) on 2 Windows 2008 web servers and use forms authentication...
Hello,
I have published an asp.net application to a sub directory of my IIS application. I know that the web.config must exist at the root for several of the properties to work. So I have moved my web.config to the root of the application. I get the following error:
Could not load type 'ProjectName.myTypeName'.
I suspect that not hav...
I have an ASP.NET application written in C# and hosted on IIS6 Win2k3. This web application connects through code to an Access 2007 Database which holds Sharepoint lists in tables.
To get an idea of how this works you can go here:
http://sharepoint.microsoft.com/blogs/GetThePoint/Lists/Posts/Post.aspx?ID=68
The issue is when the Acc...
The server is : Win 2008 R2
Php version is 5.2 if I remember correctly. (has been installed along with wordpress & mysql with WPI).
I did install wordpress along with arras-theme. On some pages I do have 500 errors. Problem is, can't really debug and fix the error as it's 500, no errors are showing (no fatal/warning/notice or nothing).
...
I've been pulling my hair out this morning trying to figure this out.
I have a simple jquery json request to a jsonresult action on my controller. When I run this on my local machine (IIS7), it works fine. When I deploy to a dev machine running IIS6, I get a 404 error.
script:
$(function() {
$('#search').click(function() {...
I set up a new virtual directory in IIS under the Default FTP Site. I already have other virtual directories, and I'm able to access them with my user account, which is a domain admin. I created an account named FTPuser, gave it full permissions to the virtual directory, but I can't open the site. When I log in, I get a Success Audit eve...
I have a ASP.NET asmx web service which times out.
I see that IIS has couple of places where the timeout setting can be defined.
I also know that the timeout setting can be defined in the web.config file using the "httpRuntime" element.
I also see that the app pool the service runs under has its own timeout setting
I am not sure why ...