I have a fairly complex web app that was built (by a contractor) to use integrated authentication. As part of the authentication process, a GetNetworkID() function is used that looks like this:
private string GetNetworkID()
{
return HttpContext.Current.User.Identity.Name.Split(new char[] { '\\' })[1];
}
When I run this on my deve...
Hi,
I am trying to deploy a MVC application on IIS7. The IIS is configured to integrated pipeline. When I am using the full path (for example: http://mysite/Controller/Action), I am getting - 404 Not Found.
The MVC is installed on the hosting server.
Does anyone have any idea what the problem could be?
...
How do other people debug HTTPS sites from Visual Studio 2008? This link seems to indicate that Visual Studio's built in web server does not support HTTPS, but there must be some way to debug these sites, right? If not the integrated server, can IIS7 be set as the debugging web server?
...
I have a relatively simple ASP.NET application that I am trying to create an installer for. I am currently using Visual Studio 2008's "Web Setup Project" which, though I'm told is not ideal, has proved no problems when installing on Windows Server 2003 & IIS6.
IIS7 on Server 2008 and Vista has proved substantially more difficult. The in...
Hi folks,
i've got a simple ASP.NET website that i end up publishing/running on an IIS7 server.
Is it possible to to add into my web.config file some 'binding' information, instead of having to set it manually through the site in IIS7.
eg. imagine i have the following bindings
http://foo.mysite.com 80
http://bar.mysite.com 80
http:/...
Hello everyone,
I need to use some certificate on IIS 7.0 web server to test my https code at client side (console application). I have created self-signed certificate and it is fine. Now I want to test with formal certificate which IE could recognize, like certificates from verisign or other formal certificate issuing companies.
Any e...
We have not purchased an SSL certificate so the user of our website has to click to "approve" the website everytime they use it. Is there a quick way to redirect all https:// traffic to http:// for now in IIS 7? So that all content is served as under http://
By the way I DO NOT have "Require SSL" ticked under SSL settings.
Also if I pu...
I'm working on debugging a slowness issue I've got with running ExpressionEngine (a PHP application) on IIS 7.
I don't think this is actually an issue with ExpressionEngine, but rather an issue with my PHP/MySQL setup.
The problem shows itself thusly:
Go to webite address
IE "spins" for 10-15 seconds, waiting to load. During this ti...
I have a simple test application (C# console application) that does an HTTP GET to a .NET resource:
static void Main(string[] args)
{
while (true)
{
try
{
System.Net.WebRequest req = System.Net.WebRequest.Create("http://ranger/roztest/Default.aspx");
System.Net...
IIS 7 and Visual Studio 2008, every time you attach to w3wp.exe you get an Attach Security Warning,
How do you turn this of?
It would be cool to know also, how to keep it attached for linger, as this seems to time out after a while
Btw: I Added this as a comment to the answer below, the first thing i did was try the msdn article ht...
I've following code for file download:
FileInfo fileInfo = new FileInfo(filePath);
context.Response.Clear();
context.Response.ContentType = "application/octet-stream";
context.Response.AddHeader("Content-Disposition", "attachment; filename=" + System.IO.Path.GetFileName(filePath));
context.Respon...
By default IIS 7 Web site has net.tcp binding with "808:" binding information string. If i add another net.tcp binding with "xxx:" exception occurs:
This collection already contains an address with scheme net.tcp. There can be at most one address per scheme in this collection.
Parameter name: item
How can i solve this problem and li...
Hi folks,
I'm trying to get the stock standard ASP.NET MVC (official release, version 1.0) to work/run. The trick? I'm trying to get it working under IIS7 instead of the built in Visual Studio Development Server (aka. Cassini).
What happens? It never goes to the default home page but to a LOGIN page.
Pre-info
OS = Win 7 RTM.
VS2008...
I am using Visual Studio Team System 2008 (VSTS), C#, .NET 3.5, IIS 7.0, and ASP.NET. I have two IIS web sites, site A and site B. Their related domain names are, http://sitea.example.com and http://siteb.example.com.
I heard when using Form authentication, we could enable domain level cookies, that is, if two sites are in the same doma...
How can I set up IIS 7 to run an ASP.NET 2.0 Application?
What steps do I need to take?
...
When I am debugging on my Windows 7 IIS7 machine, I get this error during a debug:
The web server process that was being
debugged has been terminated by IIS.
this can be avoided by configuring
application pool setting in IIS. see
help for further details.
What am I doing wrong?
...
I changed the trust level for my application to "Full" but I'm still getting the following error in Windows 7. I followed the steps for using subsonic, but it appears I'm missing something.
Security Exception
Description: The application attempted to perform an operation not
allowed by the security policy. To
grant this application t...
I have deployed a website in my server, how i know which what my server IP is ?
if i know my server ip , i could access my website from outside
...
Hello everyone,
I am using VSTS 2008 + C# + .Net 3.5 + IIS 7.0 + ASP.Net. I am wondering if I have both aspx page and html page in my web site, will session variable be transferred only in aspx page? Or session could be transferred in both aspx and html page? (transfer I mean user click link inside my web site to traverse through my sit...
Hello everyone,
I am using VSTS 2008 + C# + .Net 3.5 + IIS 7.0 + ASP.Net. In my understanding of Forms authentication, a session variable (used for authentication identifier -- i.e. when a user passed authentication, the user will have such a session variable, and the session variable is implemneted as a cookie) is established for authe...