Is there an alternative, other then modifying HOSTS to setup temp domains when testing websites locally? I'm using IIS7 on Win7.
I don't want to use /localhost/domainname. I'd rather do /domainname so i don't have to worry about paths to files, etc. My websites are setup so that paths to files are relative to the root folder and not to ...
I have a website that I would like to allow both Forms and Windows Auth for. My problem is that it seems that when you setup IIS to allow both anonymous (Required for forms auth) and Windows auth that the browser won't send the user's network credentials.
It just uses the anonymous login. Is there any way either in IE8 or IIS to have it...
Add expires headers in iis is very Easy,but this cache all the static files. now i want only
add expires headers to images,how can i do that? even i want cached specific file?
...
Hi all expert,
I was googling the below question but didn't get appropriate answer.
what is the connection between IIS and client browser?
How do they communicate?
Thanks,
Programmer
...
We have IIS 6 running on a W2003 Server. The root web site is running a v1.1 site. Under this site we have a virtual running a v2.0 site (with a separate application pool). The web.config for the root site is using SQL as its state server and has a 1.1 SQL state server database installed. The 2.0 virtual web.config does not need state an...
I have an SMTP Event Sink to process incoming SMTP email messages to perform special processing. Under IIS 6/SMTP, this event sink runs as expected. Under IIS 7/SMTP, it does not appear to run, even though it appears to register successfully, as shown below:
c:\Program Files\Kryptiq Corporation\GW\Bin>regsvr32 SpoolFilter.dll
c:\Progra...
I want most of my site to be Forms Auth, so IIS must allow for anoymous users. However I alsowant windows on the domain to be able to skip logging in.
So I'd like one route "/Login/WinAuth" to be set as requiring Windows auth. if this was a .aspx file I'd just change the security of the file in IIS and be set. But when using MVC I don'...
I have a web application using Kerberos to access an external resource useing ASP.NET 3.5 and IIS.
When a user connects with the application, Kerberos authentication auto-magically allows me to connect to external resources acting as the user using delegation. This was not easy to do. It is nice, but I've a problem. Sometimes I need ...
I've never worked on an IIS server with PHP before, but my question is can I set a default document type for a subfolder in the web.config, this is what I have in mind (its a bbPress forum):
<location path="forum">
<system.webServer>
<defaultDocument>
<files>
<add value="index.php" />
</files>
</defau...
I need to redirect an entire classic asp based website to a new domain whilst still maintaining the search engine ranking of the old site.
I think a 301 redirect is required but not sure what the best way of doing this would be as I don't think .htaccess works on an IIS Windows based server.
I would prefer not to have to change existin...
After changing .zip file mime type on IIS 6 metabase to (application/x-zip), I can see that .zip downloads with a new content type when I download it from static folder (/zip) But I use ISAPI extention to download .zip the mime type (?downloadname=filename thus dynamic content) changes it to (application/x-zip-compressed).
Verified it wi...
How can i prevent users from getting the list of files that exist in my website?
For example when users type on the address bar the WebsiteAddress+/DirectoryToSearch/ they get the list of files in that directory, without getting any permission denied error
Is there any setting in asp.net that am i missing?
...
Hello,
Recently I'm working on a refactor project from asp to asp.net 3.5.
There are lots of .html file uses .inc file for the header and footer in the old site, and needed to be converted to .aspx uses master page.
My problem is, for search engine and for bookmark those old pages are all gone
Therefore I need to redirect the old .html...
Hi there,
I'm using .netCHARGE (http://www.dotnetcharge.com/) to process credit cards and I'm getting the error: "TrustFailure: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel." everytime I try to process a payment. I read through previous SO posts that match this error and ha...
I have a method that loads a Crystal Reports file, sets the appropriate login information, and then generates a PDF.
ReportDocument rep = new ReportDocument();
rep.Load(...);
// Set table LogOnInfo
rep.ExportToStream(ExportFormatType.PortableDocFormat);
// Save the PDF to disk or return it as web request
This exact code works in bo...
HI,
I would like to write a code in which start iss, if iis is not running.
...
I have an ASP.NET website application, and there is a home page for my web site. I need to be able to change the default document of my website programmatically (C#) so that I can make another web page take priority above the one that already exists. I would then like to revert back to the previous default document order.
Example :
...
How can I match strings without a dot in regex, for example, these should be matched:
a/b
אאא/תתת
a
b
c
ג
123/1
but these shouldn't:
abc.asp
ddd.css
style/main.css
For .NET Syntax. Thank you.
...
I've noticed that when I Response.Redirect to an .aspx page, it sometimes displays a cached page instead of actually executing the page and pulling fresh data from the database.
I'm not using output caching or anything special in .Net here -- this is a CRM, and the caching is either happening on the client or, perhaps more likely, autom...
After this statement:
insert into table... value(..,"It\'s my title")
In database I can see :
It\'s my title
It only happens when in IIS.How to fix?
...