iis-6

Certificates: Cannot find the certificate and private key for decryption Error when sign

不打扰是莪最后的温柔 提交于 2019-11-29 02:37:51
I work in company with many servers and Pcs for developers. Servers are win2003, PC developers Windows XP. In a server Win2003 named preiis01, in preproduction environment, other people in company install a client certificate using any other user (domainCompany\adminsystems) for logging in server preiis01. Anyone admin uses the user "domainCompany\adminsystems" for log in server preiis01 (using Terminal Server, Remote Desktop for Windows XP). the admin user is domainCompany\adminsystems", which installs certificate. Admin user install it like this: Session login like "domainCompany

Why can't I connect to a WCF service with net.tcp but i can with http?

半腔热情 提交于 2019-11-29 02:35:51
问题 I have a WCF service running on the IIS with a ServiceHostFactory. It's running fine with the WSHttpBinding but because of the speed and everything being on the same network (no firewalls) i want to speed up things a bit using the NetTcpBinding instead. When i try to do that i get this error: Could not connect to net.tcp://zzz.xxx.yyy/MyService.svc. The connection attempt lasted for a time span of 00:00:01.0464395. TCP error code 10061: No connection could be made because the target machine

Deploying Asp.Net MVC 2 /C# 4.0 application on IIS 6

喜你入骨 提交于 2019-11-29 00:40:50
问题 I got a problem migrating from VS.Net 2008 / MVC 1 to VS.NET 2010 (+C# 4.0) / MVC 2 The web.config has been updated, the site runs well in Cassini, but my problem now is deploying on IIS 6. I updated the web site to run using ASP.Net 4, but whatever URL I try, I always have a 404 error. It's as if the routing was not taken into account (yes, the wildcard mapping has been done). I do not understand this mess and could not google anything interesting... Thanks for your suggestions ! 回答1: Ok I

How can I create a new application pool in a Web Setup Project?

做~自己de王妃 提交于 2019-11-28 23:28:20
I need to deploy my web service. It needs to run in a separate application pool in IIS with its own credentials. Is it possible to do this by using a Web Setup Project in VS 2008? By default, I seem to only be able to choose an existing application pool. I've been down this road before and unfortunately you'll need to create the application pool manually or write a Custom Action to manage this for you. Further to Grzenio's question in the comments below: "Could you give me a hint where to start looking for the code/helper classes? And do you keep your project a Web Setup Project, or just use

Send mail using localhost SMTP

时光总嘲笑我的痴心妄想 提交于 2019-11-28 21:14:36
I am trying to setup SMTP server on IIS for sending mails. The SMTP server is intended to be used by the ASP.NET code in C#. I was previously using gmail smtp wherein i provided the smtp.gmail.com as host with secure port and my gmail uid/pwd. That worked fine. Here is the code used to do that. SmtpClient smtpClient = new SmtpClient(); smtpClient.UseDefaultCredentials = false; smtpClient.Host = "smtp.gmail.com"; smtpClient.Port = 587; smtpClient.Credentials = new NetworkCredential(uname,pwd); smtpClient.EnableSsl = true; smtpClient.Send(mailMessage); Now i am planning to use the localhost SMTP

Chrome, pdf display, Duplicate headers received from the server

心不动则不痛 提交于 2019-11-28 20:01:21
I have a section on a website where I display a pdf inside a light box. The recent chrome upgrade has broken this displaying: Error 349 (net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION): Multiple Content-Disposition headers received. This is disallowed to protect against HTTP response-splitting attacks. This still works correctly in IE. I'm using ASP.NET MVC3 on IIS6 The code I use to generate the file is as follows. If I remove the inline statement then the file downloads, however that breaks the lightbox functionality. Problem Code public FileResult PrintServices() { //... unrelated

IIS 6.0 wildcard mapping benchmarks?

烂漫一生 提交于 2019-11-28 17:48:51
I'm quickly falling in love with ASP.NET MVC beta, and one of the things I've decided I won't sacrifice in deploying to my IIS 6 hosting environment is the extensionless URL. Therefore, I'm weighing the consideration of adding a wildcard mapping, but everything I read suggests a potential performance hit when using this method. However, I can't find any actual benchmarks! The first part of this question is, do you know where I might find such benchmarks, or is it just an untested assumption? The second part of the question is in regards to the 2 load tests I ran using jMeter on our dev server

IIS redirect preserve QueryString?

和自甴很熟 提交于 2019-11-28 15:57:22
问题 I have a url: http://mywebsite.com/Account/?Number=25191108&Name=Something&Remote=False which I would like to redirect to: http://anotherwebsite.com/whatever/ and preserve the query string: http://anotherwebsite.com/whatever/?Number=25191108&Name=Something&Remote=False Does anyone have any ideas how to achieve this? 回答1: Go into the IIS site properties for the domain you're moving from. In the "Home Directory" tab, click the option "A redirection to a URL" In the Redirect to box, enter the

How do I deploy a Flask application in IIS?

自闭症网瘾萝莉.ら 提交于 2019-11-28 15:45:25
问题 Can anyone help me get a Flask application running on IIS 6? I have tried to use isapi-wsgi, but when I visit the Virtual Directory address I get a page that says "The specified module could not be found." Are there other options for this? Below is the Python script I wrote for isapi-wsgi. The Virtual Directory was made and everything looked ok in IIS Manager, but the site did not work. from wof import app import os app.secret_key=os.urandom(24) import isapi_wsgi def __ExtensionFactory__():

DOS command to list all virtual directories in IIS 6

孤街醉人 提交于 2019-11-28 14:17:43
I'm looking for a DOS command to list all sites and virtual directories in IIS 6 under Windows 2003. I know there are ways to do this using Powershell / WMI , VBS , C# , etc. But all I want is a quick and dirty, no-fuss way to do it from DOS, without the need to create any new files on the Webserver. EDIT: While researching for this question I managed to come up with a one-liner that does it, but please do suggest an alternative if you have a more elegant solution that fits the criteria above. rkagerer Here's what I came up with: @FOR /F "delims=[]" %A IN ('@cscript //nologo %SystemDrive%