iis

Separation of ASpx pages on one m/c and application logic on another m/c

We are using VB.NET and ASPx for our project. we would like to separate the aspx pages and put them on the IIS server (web server) on one m/c and the business logic and DAL layer on another IIS server (application server) on a different m/c .The database is on another m/c. Is such a configuration possible ? If so how can it be implemente...

Cannot host ASP.NET MVC application in IIS

I have created a virtual directory on the IIS (IIS 5.1 that's what i'm using). when i try t o run the applciation from my browser using the URL http://localhost/sitename . i'm able to see the initial landing page . But when i force a controller action call like this . http://localhost/controllername/actionMethodName i receive the 40...

Running IIS Application with different user Credentials

Hi, I have deployed an application on IIS Server and Servlet Exec configured. I need run the application with windows User Credentials rather than Anonymous User. I tries changing the username and password of annonmous user in properties/Security but the application stops responding changing it back to default Anonymous IIS user accoun...

Debugging issues that work on one server, but not another?

I have an asp.net application that works on the development server. On the production server, it is failing though. If I set the connection string in web.config to point to the production database, it still works, so does this mean that it is a server issue that is causing the problems and if so, what are some techniques for debugging ...

Security Problems when Extending a Web Application in SharePoint

So, I had a site running (http://servername) and wanted to add another URL, http: newURL to get to the same content. I wanted both sites to use the same active directory domain for users/authentication. I extended my existing web application so that the new URL would work. I configured the authentication provider for the new zone to b...

php file not able to upload in .net application, permission issue

Hi, I have a php file in a folder C:\Myfolder and all files are here (html,aspx). When i type the application url\index.html page works fine bt if i give index.php its saying page not found. My php file only contains "hi" message right now. I guess IIS server is not recognizing the php files. ...

IIS Architecture: What signals w3wp.exe to start?

What is the mechanism by which the w3wp.exe process knows to start? Any IIS gurus know the specifics about the internals? ...

Automatically start up ASP.NET app pool?

Is there a way to automatically spin up an ASP.NET app pool after an IISRESET or the scheduled reset so that the initial user doesn't have to wait for the app pool to load? ...

ASP.net MVC project not compiling on IIS

I used to just upload asp.net websites to the live server, and IIS compiles them automatically. But when I do the same with asp.net MVC projects I just get errors, and I need to release Build the project before I upload it. Note1: I'm using VWD 2008 Express Note2: The project is working perfectly if I release build it on my machine th...

Attaching Visual Studio Debugger to Sharepoint 2007 worker process crashes the process

When attempting to attach to the iis worker process associated with sharepoint, the worker process terminates with the following error: I have the correct assemblies deployed because adding the following line in my code causes the same effect when the debugger is not attached, similarly crashing the IIS worker process for Sharepoint: ...

How do I use VSTS Test Edition 2005 to automate webtests execution for different physical enviornments?

The following link in MSDN provides details about how to parameterize the web servers of a web test. http://msdn.microsoft.com/en-us/library/ms184806.aspx# If I have an in-house development environment and a production environment, I'd like to reuse the same webtests for both environments without having to re-run scripts. ...

Thread.CurrentPrincipal.Identity vs. Active Directory entry

In this extremely helpful summary from Mike O'Brien http://blog.mike-obrien.net/PermaLink,guid,5e975b20-7b05-472f-bd80-04028ab8b6fa.aspx he gives an overview of how IIS 7 deals with authentication for different settings (I couldn't find a similar summary for IIS 6, which is the version we are using). We have set the authentication to I...

IIS Web pool hang

Hi, I have an application pool set for hang monitoring every 30 seconds, I got this error returned from classic asp. After which no new asp requests were being served according to web logs. I wonder why it took IIS a full 5 minutes to shut the process down, and start a new process for the application pool? Error: File /unabletoproc...

In an ISAPI Filter, what server variable gives me the physical path of a virtual directory?

If I have an "application" defined in IIS Manager, I can get the value of the server variable APPL_MD_PATH to retrieve the physical path associated to the application. If I have a "virtual directory" configured, APPL_MD_PATH still gives me the physical path associated to the application, not the physical path associated to the virtual...

How to programmatically configure IIS7? (without using the Metabase)

Consider a .NET application that performs lots of configuration changes in IIS such as changing Virtual Directories or enabling compression. With IIS6 everything could be accomplished using the metabase through DirectoryServices. However in IIS7, the Metabase compatiblity is an optional component, so I'm assuming that alternative ways s...

Accessing ASP.NET website from LAN

Hi All, I have tried to access a website that i created in my xp machine that have iis 5.1 from the LAN , but without any success i have tried what is suggested in the following link http://stackoverflow.com/questions/646370/how-to-access-your-website-through-lan-in-asp-net , but also without any clue . I open my site in my PC(locally) ...

MOSS - get site usage summary by code

I want to build a WebService that shows two columns: User Name , Url. It will be a list of all the entrances to my sharepoint site. I think to use the "MOSS usage service", are there any articles about how to get to the service's data? or maybe I need to deal here directly with the IIS ? ...

How do I get site usage from IIS ?

I want to build a list of User-Url How can I do that ? ...

Force download of a file on a network share through IIS

I'm writing a quick web page to control access to a web based repository of audio file (recordings of lectures). The audio files are held on SAN and accessed from the web server using a UNC share. I want to force a "save" dialog to appear, because during testing we have found that some web browsers make it very difficult to save mp3 fi...

Can .net apps run side by side a WCF service site?

In other words is it possible to host aspx and ascx files inside the same IIS site running svc files? ...