iis

Static method Issue in C#.net application

I'm using a static method in a class, this static method contains a connection string. I use this static method in all other methods to open a database connection and I dispose the connection within this method. After I deploy this application in IIS, when two users login to the application on two different machines and access the same ...

Cannot monitor iisprocess for leak in Debug Diagnostic Tool

I have an ASP.NET application that consumes a lot of memory. Therefore I want to use the Debug Diagnostic Tool to try to search if there might be a leak or something else. In DebugDiag on the process tab I right click the w3wp.exe process and the only options I get are: Terminate process Copy Only on some processes I get more op...

Is it possible to deploy asp.net mvc project on IIS server without installing of mvc?

Is it possible to deploy asp.net mvc project on IIS server without installing of mvc? ...

IIS URL Rewrite rule help?

I am using the IIS7 URL Rewrite module. I want to create a rule that matches this: http://www.mydomain.com/test123. but not this: http://www.mydomain.com/test123/ Any help is much appreciated. Also any links to examples of common rewrite regex would be a plus ...

How can I trace an apparent memory leak in an asp.net application?

Some background info: We have several websites running on a 64-bit machine with IIS6 These websites all have the same core code, but different skins and content We have a SQL 2005 database which is fairly heavily used throughout the site Historically we've used SQL stored procs, but have been gradually transitioning to NHibernate. The ...

IIS URL Rewrite Module : Rewrite Query String Value using Map

I would like to rewrite a query string value using a map in the IIS Url Rewrite Module. Example Map: one -> eleven two -> fifty three -> ninety So the following URL: http://www.mydomain.com/page.aspx?id=one turns in to: http://www.mydomain.com/page.aspx?id=eleven Note: there may be other query parameters passed in ...

regular expression: mine text data from other websites.

Hi, I want to crawl through lets say other companies websites like for cars and extract readonly information in my local database. Then I want to be able to display this collected information on my website. Purely from technology perspective, is there a .net tool, program, etc already out there that is generic enough for my purpose. Or...

IIS 7 PHP Unable to load dynamic library

I installed PHP and PHP Manager on my IIS machine through the web installer thing. I can run a web page with php in it fine, but it wont load libraries correctly. I want to connect to an MS SQL database, so i got the dll and put it in the ext folder but it wont load: PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext...

Can I run a new process from a medium-trust ASP.NET application?

I'm building an ASP.NET MVC site where I want to use OpenSTV to conduct polls. To run results through OpenSTV, I'd have to run the executable. Is that allowed from a medium-trust ASP.NET application? ...

Why am I getting 400 bad request when calling a .Net 2.0 web service from WCF over https?

I have a web service that contains a method I need to run to generate a report. The web service method is written in .Net 2.0 and works fine on my test system which runs on the same server as the live system. The only difference is that the live version uses https. Whenever I change the endpoint address to the live service and run my ap...

what is request-processing pipeline?

what is request-processing pipeline with reference to IIS ? ...

How are STA COM components handled when used in a WCF service hosted in IIS (7+)?

From what I understand, when a COM component marked as using STA is used from a MTA thread, the calls are supposed to be marshalled to an STA thread and executed from that dedicated thread. In the case of a Windows client application, this would mean that it would execute on the UI thread (if marked as STA), and that callbacks from the C...

Which assembly/DLL do I need in inetpub/wwwroot for launching aspx pages?

What do I have to add to c:\inetpub\wwwroot folder to serve aspx pages to browsers? My webproject is in this folder but I think I'm missing something for running ASP.NET and ASP.NET MVC webpages. ...

Definition of Connection

Does anyone know what constitutes an official connection to a workstation? I have a reasonably small scale operation where I am using a WORKSTATION, not server, as a server. For the most part, it works fine, but there is a 10 connection limit and I was toying with some new functionality and ended up causing some problems as the 10 connec...

Is this IIS configuration possible, and if not, what would you suggest?

Is it possible to configure an IIS website to provide domain credentials to an ASP.Net application if the user is logged into a particular domain, and use anonomous if they are coming in from the internet? Will I need seperate virtual directories, one with domain only and one with Anon only? I have an application follows different code...

Why does IIS7 take a long time

It looks likes if I don't visit my low traffic site for a day, it takes a long time for the first page to load. I believe it's probably because IIS7 shuts down the application when it receives no requests for a certain length of time. How can I stop this from happening? I have a dedicated server so I have all the access required to c...

ASP.NET/IIS6 - Disable chunked encoding when using dynamically compressed content?

I'm running ASP.NET on an IIS6 server. Right now the server is set up to compress dynamically generated content, mainly to reduce the page size of ASPX files that are being retrieved. Once of the ASPX files has the following bit of code, used to fetch a file from the database and send it to the user: Response.Clear(); Response.Buffer ...

When I Branch from Trunk I need to create a new Virtual Directory. Anyway around this?

the Trunk of my app points to <IISUrl>http:///localhost/MyApp/&lt;/IISUrl&gt; Whenever I create a new branch, I end up having to edit MyApp.csproj to change the target URL to <IISUrl>http:///localhost/MyAppBranchName/&lt;/IISUrl&gt; Is there any way that I don't need to do this? The reason is the number of branches are starting t...

Sending Client Certificate though HttpWebRequest, intermittenly working.

I have created a web application that calls a web service that requires a Client Certificate for authentication. Here is a snippet of how I am building the request: // Grab Certificate X509Certificate2 cert2 = new X509Certificate2(AppDomain.CurrentDomain.BaseDirectory + GiftCardConfig.A2A_CertificateLocation, Gif...

Hosting Student Projects on IIS7 in cloud

I am planning to teach an ASP.NET MVC course some time. I would like to host the students project's on a web server accessible via internet. To this effect I am planning to rent a Windows machine on Amazon ec2. The students will be uploading their ASP.NET Websites so that they can see their projects online and allow other students to acc...