iis

WCF - possible to call a wcf service from the command line with parameters?

Is it possible to call an IIS hosted wcf service from the command line and pass through parameters? ...

WCF and IIS issue. The type could not be found

Hi all. I've found a lot of similar looking issues, but nothing that has made it clear to me why I am getting an error I'm getting. Using all sorts of WCF projects, if I try to host them in IIS I get the following error: The type 'Microsoft.ServiceModel.Samples.CalculatorService', provided as the Service attribute value in th...

Implications of Machine\ASPNET user as administrator role?

Hi, We are receiving an application from a third party that will eventually be installed in our production environment. As part of the setup, they want us to make Machine\ASPNET an Administrator account. This seems to me like bad practice, but I need specific reasons if I am going to push back on this. What are the implications of ru...

The type or namespace name 'Script' does not exist in the namespace 'System.Web'

I just deployed a website into IIS 7 (about which I am woefully ignorant), and upon trying to build the site, I receive this error. I did a little googleing and I saw an article that said I should put system.web.extensions.dll into the /bin. But, I also saw an article saying not to do that. I tried it anyway, but I just received a dif...

Using Url.RouteUrl to Redirect to URL with #, %, and so on

In a web application I'm working on, we'd like to be able to show information about resources at a given path. The path is entirely virtualit only exists in the applicationso we don't really have a problem with users setting virtual paths that are "weird" by normal file system standards. The issue: we have a route that reads something ...

What is max file upload size in IIS6.0? and how do we overcome that?

Hi all, In my application, I would like to upload files of size more than 3GB. I increased max file request timeout as high as possible. But it is not even posting the page to the server when I select a 3GB file. My web site configuration: Asp.Net 3.5 IIS 6.0 Is it possible with the above configuration? If not what is the reason,...

Do I have to install IIS on my development PC in order to develop WCF Services with Visual Studio?

I am trying to teach myself WCF (using "Learning WCF" by Michele Leroux Bustamante), and so far the book is very instructive. The application that I eventually want to develop is a web service, hosted in IIS, and so "Hosting a Service in IIS", which is a section in Chapter 1, is exactly what I want. BUT it seems that I need IIS install...

How can I install Front Page server extensions in IIS 6

Sorry guys, Microsoft don't provide much in the line of documentation for installing front page server extensions. How is it done? ...

ISAPI filter crashes IIS

Hi, I have created an ISAPI filter. It works fine on develpoment server and SIT server. But in production server it doesn't works. In event viewer the following log : Reporting queued error: faulting application w3wp.exe, version 6.0.3790.2825, faulting module msvcr80.dll, version 8.0.50727.3053, fault address 0x00046039. ...

Problem with HttpContext.Current.Cache and App Pool Recycles

I have a web application that stores global data in the HttpContext.Current.Cache. I also have the application email me when cache items are reloaded. Since moving the application to IIS7 I'm getting a lot more cache reloads than I ever did in the past. I've double checked that my app pool settings are the same from IIS6 to 7, but still ...

Is there an equivalent of Apache's auto_prepend_file in IIS 6.0

On a LAMP stack I was able to use: > php_value auto_prepend_file bootstrap.php in .htaccess to bootstrap a bunch of commands that I wanted to execute before any page was ever processed. Is it possible to do the same in IIS 6.0 ? UPDATE: Not the prettiest solution, but since I have one site on this server I just added the auto_prepe...

Debugging IIS 404

I have serveral ASP.NET web sites running on a web server with IIS. All sites work fine when accessed with browser. Recently I wrote a simple .NET application that tests the availability of the sites, via making simple HttpRequests. This application return 404 error for some of the sites, even though sites can be accessed via browser. F...

IIS throws connection timeout error?

when tries to upload a file of size 1GB in IIS 6.0, it throws Request Timeout issue. Does any one has any idea? ...

Axis: faultString: org.xml.sax.SAXParseException: Premature end of file.

I have deployed a webservice using servletexec configured with IIS and i can successfully access webservice using anonymous account. But when I enable Windows Integrated Authentication I am getting following error. - ntlm authentication scheme selected - Discarding unexpected response: HTTP/1.1 100 Continue AxisFault faultCode: {http...

Any good web hosting service that support SOAP, WSDL, & Web Services?

I have a website, unpublished, it contains a web service that is written in .net. The rest of the website uses asp.net. I want to host the website in IIS. Anyone knows a good web hosting company that supports the above techniques? Most of them don't say clearly whether they support SOAP, WSDL, & Web Services or not. Thanks for any recomm...

Upgrading / Patching .Net Mvc

What is the best way to upgrade / patch a .Net MVC application. Ideally from a single file as most installations of the application will be very basic computer users. So asking them to stop IIS, copy files, run sql scripts etc is not possible. Two possible approaches would be Executable which locates the site on the machine and copi...

Can I guarantee that Stream.Write() methods to Response.Filter will not have a partial character byte?

I am creating a System.IO.Stream implementation for the purpose of setting a filter for HttpContext.Response.Filter. I wish to know if all calls of Write(byte[], int, int) will guarantee that the bytes written contain whole character byte sequences or if it is possible that a single character (in the case of a utf-32 encoding) could be s...

ASP.NET Web Service changes port on Invoke

I have a ASP.NET Web Service on IIS, that is working on port 8080. On port 80 I have Apache, that is redirecting some web sites to IIS. On this case, I can access the Web Service page (http://xxx.com/service/), which gives me all the methods available. However, when I try to invoke a method, it goes to a web page like this one: http://x...

Improve file download performance in Windows 2003

Hello, I have a Watchguard x1250e firewall and a fast network setup at pryme.net in Ashburn, VA. I have Verizon FIOS here at the office (50 mbit) and did a test download from a URL they provided me and I get 5.8 MB/sec from their test file (probably off of Linux). But from my servers running Windows 2003 behind the firewall (x1250e) jus...

App domain restarts when .resx file changes. Any way to avoid this?

I have an ASP.NET app with many .resx (resource) files used for localized user controls and pages. We would like these files to be editable on-the-fly. However, we have noticed that editing these files on the web server causes the app domain to reload, which causes the server to slow down for about a minute while the app domain restart...