I have a asp.net 4.0 web site and I'm using some external web services to retrieve some data that I display.
I have created proxies for those web services using the wsdl tool. I'm setting an url and I'm setting PreAuthenticate = true and Credentials = new System.Net.NetworkCredentials(userName, password) on the web service.
I get an e...
I just got my self a new laptop, it runs on windows 7 and i am in deliberation what dev environment to set up.
I have most of my life used wamp set up, on windows machines for local dev environments. Here i recently installed IIS and it looks very convenient to set up sites and so on and so forth.
So I am thinking of installing php and...
I can upload a video to my drupal instance, but when I try to view the video I don't have rights to do so. I discovered that the IIS_IUSR doesn't have Read & Execute rights on the video even though the IIS_IUSR does on the containing directory.
IIS_IUSR has Read & Execute, List folder contents, and Read rights to the directory where fil...
Consider the following Html file:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>test</title>
<style type="text/css">
</style>
</head>
<body>
<script type="text/javascript">
alert('' +
'\'test\'[0]...
I'm new to IIS 7.5 (Window 7)
If while I new ASP.NET 3.5 Website target it on Local IIS , it works without any problem .
But if i new a file-system ASP.NET 3.5 Website and from IIS add that website and configure it , It doesn't work . I get this error
In order to work I had to comment these following lines
<sectionGroup name="system...
I have written ASP.NET (4.0) code that sets the Reposonse.StatusCode to 400 if the data posted to the server is in valid.
I place useful information in the response body in the format that the request accepts header asks for. eg an html message saying "The date field is required...".
In IIS7 (7.5.7600) on Windows 7 I get the correct htm...
OK I have the following code in my Global.asax file:
void Application_Error(object sender, EventArgs e)
{
// Code that runs when an unhandled error occurs
Exception objError = Server.GetLastError().GetBaseException();
Response.Redirect(
String.Format(
"/Error/{0}/{1}",
((HttpExcep...
The Problem: Until now, I create a IIS website/app using the IIS manager tool. The problem is that changes to a IIS website aren't documented as they should be. For example: when I update the URL Rewrite rules this changes should be documented in a version control solution.
What is your solution to solve this issus?
...
Hello. i did setup like this
but result is still like this . if you tell me where do i make error i appreciate that thank you.
...
How do I ensure that WCF 4.0 is the only version of WCF registered within IIS 7.5?
...
I'm in the process of migrating a series of classic ASP web pages from a Windows 2000 server to a Windows 2008 R2 server. One of the pages uses CPSHOST.DLL (in the Scripts folder) to upload a file to the server.
The page in question uses a POST method on the form, but consistently returns a "Method Not Allowed" response when the page r...
I have a couple of packages installed in my Umbraco installation so it would be kinda hard to to track down each one of them one by one. I get this error message every 5 minutes in the log file:
Error executing scheduled task: System.UriFormatException: Invalid URI: The hostname could not be parsed. at System.Uri.CreateThis(String uri, ...
Hi All,
Is there any way to find out what all status codes a host got when tried to access the particular website.
Something like
28-10-2010 192.168.1.1 HTTP 404 http://localhost/BAC/default.aspx
28-10-2010 192.168.1.10 HTTP 200 //localhost/BAC/default2.aspx1
I tried using some free log analysers like : IIS Log Analyser,I...
What is the right approach when users (authenticated domain admins) should be able to start batch jobs (usually exe files) from an IIS (7.x) aspx (c#) page? This is an intranet site. The batch jobs have to run on the web server as Domain Admins. The website pool is executed by network service or some similar restricted account in AD.
Ap...
I have a web server farm with 2 windows 2008 r2 server nlb configured.
I am trying to get the identity of the current logged in user but instead I get the application pool user. Not sure what I'm doing wrong. any ideas?
here's the code I'm using
protected void Page_Load(object sender, EventArgs e)
{
Response.Write(User....
I have two urls that are supposed to lead to the same actual folder.
I can't do a redirect because the websites are built so they question the URL and perform accordingly.
So I built two application in the IIS (I tried using a virtual directory for one of them, but I kept crashing on the web.config can not be read). Everything works pe...