iis

How can I serve subversion from my IIS 7 server?

I set up subversion on my Windows 2008 server and it works fine locally, but when on a remote machine, I would like to be able to access my repository by using the URL of a website hosted on my server. Any idea how I can set that up? ...

Cannot open database "test" requested by the login. The login failed. Login failed for user 'xyz\ASPNET'.

I have created a webservice which is saving some data into to db. But i am getting this error Cannot open database "test" requested by the login. The login failed. Login failed for user 'xyz\ASPNET'. my connection string is add name="ConnectionString1" connectionString="Data Source=.\SQLExpress;Initial Catalog=IFItest;Inte...

WCF http & hhtps endpoint one contract

Hello colleagues. I've created wcf service and want use http and https version. Service is hosted by IIS 6.0. At my config I have: <bindings> <basicHttpBinding> <binding name="BindingConfiguration1" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"> <readerQuotas maxDepth="2147483647" maxStringContentLeng...

Determine how many bytes of a request have been read/received?

Hey guys Just wondering if anyone has any idea how you can determine how many bytes of a request have been read/received by the server... In other words how do I stream http request... In that, users are uploading files and I want to report on a perotic basis how many bytes have been read/received so far. Just wondering if anyone ha...

How to differentiate between / (the root) and /default.aspx in ASP.NET

Request.RawUrl always returns the /default.aspx variant. I did not find any way at all to differentiate between these urls. Does anybody know how to do that? Environment is .NET 3.5SP1 on IIS 7. ...

Trying to exlcude VTI* paths in MSIDXS sql select statement

Hi, using a c# asp.net page, building a SQL query string to run against an index server catalog: string SQL = "SELECT doctitle, vpath, Path, Write, Size, Rank "; SQL += "FROM \"" + strCatalog + "\"..SCOPE() "; SQL += "WHERE"; SQL += " CONTAINS(Contents, '" + strQP + "') "; SQL += "AND NOT CONTAINS(Path, '\"_vti_\"') "; ...

IIS 6 compression configuration as told by Jeff

Hi guys, I've been reading up on the merits of IIS 6 compression over at CodingHorror (here), but I don't get where I'm supposed to make those alterations. Web.config or somewhere else? Thanks! ...

ASP.NET site sometimes freezing up and/or showing odd text at top of the page while loading, on load balanced servers

I have various servers (dev, 2 x test, 2 x prod) running the same asp.net site. The test and prod servers are in load-balanced pairs (prod1 with prod2, and test1 with test2). The test server pair is exhibiting some kind of (super) slowdown or freezing during about one in ten page loads. Sometimes a line of text appears at the very top...

How to secure access to SWF file using ASP.NET?

hi guys, We have a swf file that we want to secure and make available only to authorized users. I embedded the file in an aspx page and that works fine, since ASP.NET handles the aspx page, I can use ASP.NET authorization features and in the web.config restrict the access to roles="AllowedUsers" for example. However smart users could ...

detecting the presence and version of IIS using MSBuild

What is the best way to determine whether IIS is installed and the version if it is using MSBuild? So far I can think of using either WMI or Registry but is there an existing task in the MS Community Task, MS Web Deployment or MSBuild Extension tasks which already does this? ...

What's the usual term for a local IIS/web application with services?

I've inherited a multi-technology project which comprises a Flash user interface contained in a web-browser-like host and has an ASP.NET piece which provides web services to the Flash UI, background/watchdog services plus a web application for administration of the system. Our transatlantic project conference calls are getting confusing...

How to create a job in IIS capable of running an extended process

I have a web service app, I have 1 web service call that could take anything from 1 hour to 14 hours, depending on the data that needs to be processed and the time of the month. Is there any way to create a job in IIS that could be capable of running this extended process. I also need job management and reporting to be able to see if j...

How to recycle a IIS App Pool after a ServiceHost crash ?

Sometimes a ServiceHost -hosted on IIS- is faulted, so my service stop processing requests... Have you a solution to automatically recycle the app pool after such a crash ? Thanks, ...

How can I prevent IIS from trying to load a dll?

My project is a Speech Server application using Windows Workflow. It runs as an app under IIS. It supports a plug-in system. Here is what is happening: Load DLL into memory and set the type on an InvokeWorkflow control. When the InvokeWorkflow control runs, it appears to correctly instantiate the workflow from the loaded assembly - it ...

Clean install of IIS 6 on Windows Server 2003 ignoring 'web.config'?

Hi, Any help with this would be really appreciated! As the title suggests, I'm running a brand new install of Windows Server 2003 and IIS 6 and I'm basically attempting to mirror a live web server onto a new internal development server, which runs the same setup. It's an ASP.NET site that relies heavily on URL rewriting (using Intelli...

404 Error Hosting WCF Service via IIS 7.5 Shared Content

We're attempting to host a WCF Service (.NET 3.5 SP1) using Shared Content on IIS 7.5. At the moment it's returning a 404 error. My assumption at this point is that WCF can not be hosted via a UNC path (See workaroundHosting WCF service in IIS6 using UNC). Steps I've taken: - Established a FullTrust to/with the UNC path. - The service...

ImageButton OnClick Event not firing

Hi All, I am really confused about this one. I have some code that runs fine on my development server but I am now trying to get the site working on the sales guys new laptop. None of the image buttons on the website seem to be working for him (they just redirect me back to the websites homepage) whereas they used to on his previous mac...

File Security (IP address access restrictions) in IIS7

I have a web service that contains 2 asmx files (public.asmx and private.asmx). On IIS6 I could go to the properties of private.asmx then, from the 'File Security' tab, deny all computers access except the IP address for localhost. In IIS7 I only seem to be able to do this for an entire folder. What am I missing? ...

IIS 7.5 can't access file from managed code

I am working on a project that is click-once deployed from an IIS 7.5 web server. After installing the parent application (i.e. setting up the IIS site) I am able to hit the url for the click-once app's config file from a remote box. HOWEVER, when I attempt to do the same thing from my app (and the stub app below), I get a 401 Unauthori...

How do I write a regex that ignores strings starting with a particular prefix, and captures everything else into a single group?

Background: I'm trying to come up with a regex for a rewrite rule that will take anything that does not start with a particular prefix, and add that prefix to it. But urls that already have the prefix should be rejected by the regular expression (because they already have the url). Example: If the prefix is s1 a string like home will...