I have an ASP.NET Web application which has 3 projects to handle 3 different layers of the application (UI , BL and Data Access).When i publish the UI project a directory called Precompiled will be created in the solution and Files will be available there.This Folder will have a BIN directory which holds required DLL's(referenced DLL's a...
I think the title is enough :). I have VS 2010 beta1 installed, and I wish to run an asp.net mvc application on my local IIS. The problem is, the asp.net 4.0 runtime is selected by default for all the web sites, when I try to change it to asp.net 2.0, I get the following error message:
I click yes, then ok, and when I get back to the ...
We have a web application that attempts to use some resources on a Samba mount. If the mount has somehow failed, I need a way to quickly detect and report an error, however File.Exists and Directory.Exists are taking 30 seconds to return false when the mount goes away. What is the best way to quickly determine if a mount is available i...
I've heard there is a restriction that you can only allow IIS to set up one site on XP x64 despite the fact it is IIS 6, which wouldn't usually have that restriction if running on Windows Server 2003. Can anyone confirm this is true, and if it is, does anyone know of a workaround? This is a development machine and it would be nice to h...
Hello,
I have two applications using ASP.NET MVC, each with multiple controllers.
I want to do a redirect from application A to application B, but only for a single route on application A (one controller).
Eg.
/applicationA/issue/* should redirect to /applicationB/issue/
/applicationA/quality/ should not redirect
The examples for I...
I'm on IIS7
I have a button on a page.
When I click it, a new thread is started which calls a void method, which takes 20 to 30 minutes to complete.
The problem is the called void method stops running as soon as control is returned to the browser. (At least it appears to)
protected void _Build_Click(object sender, EventArgs e)
...
Setup: Windows Server 2003 / SQL Server 2005. ASP.NET 2.0. IIS 6.
The site I'm working on uses ASP.NET Membership and when a user is created it is inserted into the aspnet_membership database.
All servers are set at Central Time. I also verified this by doing a Select GetDate() on SQL Server and it returned central time.
However, w...
While analyzing some approaches to making our web app easier to deploy on our customers' sites, one of the suggestions was to include an embeddable web server to save the customer from needing to configure/install Apache/IIS.
What are some drawbacks to this approach? Specifically, what are the possible issues that we could come across ...
In a .NET windows application to to modify a remote machine config file that is used by an ASP.NET application. However, I keep getting the error:
System.IO.IOException: The process cannot access the file '[file name]' because it is being used by another process.
Now, this may not be the problem, but I'm figuring that if I can stop th...
Does anyone know of any links to realistic performance comparisons of IIS vs. Apache for PHP hosting?
I am looking to utilise existing infrastructure for a change of technologies from .NET to a PHP application but I cannot find any information about PHP hosted on varying platforms. There is heaps out there about IIS vs. Apache in genera...
Hey guys,
I'm having a bit of a pain here and I just can't figure out what's wrong.
I have an ASP.net project which I deployed on a server. At first everything seemed allright, no Errors whatsoever. However, as a last adition I wanted to add a search function to a fairly large list so I added the following syntax to my mark-up:
<td>
...
I make an application for querying from and inserting data to the database using ASP.NET 3.5 linq to SQL.
It works fine in the development server.
But after deploying to the staging server, after the first few requests, the application seems unresponsive no matter what I type in the URL. The whole IIS application is frozen. I know I can...
I have a WCF service that is hosted in IIS on a public web server, and needs to be discoverable.
Thing is, when I browse http://myserver.mydomain/myfolder/myService.svc, the page that is displayed shows the actual machine name instead of the URL I provided, e.g. http://myRealServer.myRealDomain/myFolder/myService.svc?wsdl as the link to...
The temporary directory that's used by ASP.NET is usually located under
C:\Windows\Microsoft.NET\Framework\<version>\Temporary ASP.NET Files\
Sometimes however it is overridden by the tempDirectory attribute on the compilation element in the web.config file.
How can I get the temporary directory currently used by ASP.NET regardless if...
After creating a WCF Web Service for IIS and sucessfully testing it in my ASP.NET development server, when I deploy the service to another machine's IIS it always fire the following exception on consumption:
Test method PoolingServiceTest.ProgramTest.MainTaskTest threw exception: System.ServiceModel.CommunicationObjectFaultedExcepti...
I like to know how ASP.net page works(page lifecyle starting from IIS to weberver process request())
...
I just got a Windows Server 2008 VPS and I'm having trouble getting IIS7 setup.
I created a new website in IIS with the path, ip address, and hostname (like 'www.nameofsite.com') and click OK. When I browse to the site it pulls up "http://www.nameofsite.com" in the browser and... nothing... IE cannot display this webpage.
If I blank o...
On updating my working copy from SVN. I get this error.
The operation could not be completed. Not enough storage is available to complete this operation.
This error also corrupts my all reference in main project ( not in DAL not in BLL). and I have to add all (.net or 3rd party dlls) again.
It was working OK but I am getting this e...
Apparently Windows Vista Home Basic and Premium both do not ship with integrated windows authentication for IIS (You need Business edition)... so does anyone know how to get windows authentication installed for IIS?
I went into Programs and Features > Turn Windows Features on or off. Then in the Windows Features popup I navigated to... ...
What methods are available to me if I want to add an IIS Server Variable to Request.ServerVariables? I'd like to add a value to it before an application starts to pass a variable to that web application. Can a HttpHandler manage it?
...