Hi Guys,
I would like to know if there is a way, like a logging option in IIS to keep track of when the server or a site is up or down, so that when you get a client saying the service was down, you can go and check at that time and date and know if it was the server or the site, or something else....
Thanks for the help
...
Hi,
I'm getting a weird behaviour with javascript which I fail to understand: my application's javascript relative URLs are being resolved differently, depending on where the app is hosted: a) my computer's IIS 5.1 (Windows XP) or b) my host provider (which I'm almost sure runs Windows Server 2003).
Behaviour 1 (the normal one?) - with...
How can allow this page to run on IIS server...
It does not work on localhost..... it works when I open it directly... It gives the error "it is not allowed...!
The working Example..! I want this.. ""
the Erorr:
<html>
<head>
<script src="jquery.js" type="text/javascript" language="javascript"></script>
<script src="jquery.xml2json....
Given the following code which is extremely generic, I was hoping someone could tell me a bit about what is going on behind the scenes...
[HttpPost]
public ActionResult Load(Guid regionID, HttpPostedFileBase file)
{
if (file.ContentLength == 0)
RedirectToAction("blablabla.....");
var fileBytes = new byte[file.ContentLen...
I've got a legacy ASP web application that uses a VB6 DLL. The app is quite memory hungry. I need to run multiple instances of the app on one machine. Now since VB6 DLLs are 32bit only, running in a 64bit process is out - but what if I ran multiple 32bit IIS app pools? Would the memory limit of 1.2 GB per kick in per app pool, or would t...
Hi,
We are trying to provide a download link to abc.jad file in index.html. abc.jad and index.html are both in the same folder. Following is the link.
<a href="abc.jad" type="text/vnd.sun.j2me.app-descriptor">download</a>
In addition, we defined the mime type for .jad file in web.config as follows
<mimeMap fileExtension=".jad" mimeT...
I am creating a new WebSite whenever Feature A or B is installed:
<Component Id="IIS.HelloWorld" Guid="6FA5EF90-C9D9-463C-9CC7-0410670AFBD1" Directory="TARGETDIR">
<iis:WebSite Id="IIS.HelloWorld" Description="Hello World for Web" Directory="INSTALLDIR">
<iis:WebAddress Id="HelloWorldAddress" IP="*" Port="8080"/>
</iis:WebSite>
...
I'm trying to use the Global.asax file in the root application of the website to catch requests for pdf files in the root that don't exist any more. I've configured iis to send pdf requests to asp.net. The whole thing works perfectly on development. It also works on the live system with missing .aspx pages, but not .pdf. Instead an "Erro...
I have a WCF service set up to serve data through multiple endpoints (SOAP, JSON and XML) the SOAP and XML is working perfect, but when I try to view the json I get a prompt to download a file with the json results instead of displaying the results in the browser. This probably won't matter as the client will most likely be consuming th...
I am using net 3.5 web services that use sql server 6.5 running on windows NT. Once again don't ask me why :)
Problem appears when I deploy webservice on my local IIS 5.0
I use ABSOLUTLY the same connection string in both casses. I even caugth the string in break points when webservice is ran from IIS and when it's ran from visual stud...
Does anyone know if it's possible to use IIS Dynamic Content Compression to compress the output of an HttpHandler (.ashx) ?
...
I have a web service running in IIS, there are no errors being thrown and everything works great. BUT I notice that there are thousands of Messages in the Event viewer. Every time I send a request to the web service, a few of this messages are added to the Event viewer.
Even Type = Information
Event ID = 0
Category = None
Source = /LM/W...
I wonder where IIS saves the uploaded file? There must be some default directory. Is it possible to save an uploaded file to a user defined directory on IIS?
...
Hello,
In my application, I want to remove all the Application Mappings except one mapping, for a virtual application. I wrote a piece of code, to get the mappings collection that uses DirectoryEntry and PropertyValueCollection objects. I use Remove method iteratively on the collection to remove all mappings except the one that i want.
...
I'm writing some code to permit users to remotely manage IIS7. Under the bonnet this adds authorisation rules to c:\windows\system32\inetsrv\config\administration.config under the following config section:
system.webServer/management/authorization/authorizationRules
I'm using the Microsoft.Web.Administration assembly and namespace ...
hi,
i've always read that the user you set in the IIS website/virtual directory is the user that runs the app (anonymous user identity)
But in the application pool, i can also set a user (process model, identity)
what is the difference between the two, and which one will need access if i do a file read?
EDIT:
the bounty is for this ...
I am using this connection string to query some .DBF
Driver={Microsoft dBASE Driver (*.dbf)};DriverID=277;Dbq=c:\Dbfs;
But if i run the application on IIS (7.5) the connection cannot be opened and i get this
OdbcException: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
...
My ASP.NET 4.0 Web App is unable to access Network Printers, while debugging on VS 2010. It can access local printers. Seems like it may be a permissions issue. Since VS2010 Debugging runs on ASP.NET Development Server, it must be running under the account I used to log into Windows, right? Does that user need to be added as an Admin...
Sys.WebForms.PageRequestManagerParserErrorException: The message received
from the server could not be parsed. Common causes for this error are when the
response is modified by calls to Response.Write(), response filters, HttpModules,
or server trace is enabled.
Details: Error parsing near '
<!DOCTYPE html PUB'.
There are tons of re...
I have the simplest of forms written using classic ASP:
<html>
<head><title>Test</title>
</head>
<body>
<form action="testpost.asp" method="post">
Say something: <input type="text" name="something" id="something" />
<input type="submit" value="Submit" />
</form>
<% Response.Write(Request.Form)
Response.Write("hello")
%>
</body>
</html>...