I am deploying Asp.Net MVC 2 application on Windows Server 2003.
I am using NHibernate for data access.
When I deployed this application on Windows server 2003 and browse to it the application throws an exception saying "hibernate.cfg.xml not found under Windows/System32/inetsrv."
Why NHibernate is searching Windows/System32/inetsrv ra...
Hello, AFAIK IIS restarts, whenever any of the web.config files is changed.
I've created my own configuration files (my.config, with slightly different hierarchy). Is there any possibility to have IIS automatically (automagically :)) restarted, whenever any of these are changed, too?
EDIT: I've considered filesystem watchers, but I'm no...
Hi All,
Suppose I have a server wid some virtual name as ABC. And also I have a .Net web application XYZ with some .aspx pages like Home.aspx etc.
Now if I want to make Home.aspx page as the default page when I type the server name in brower the Home.aspx opens automatically. what I need to do in this case.
Currently Iam accessing the...
Hello,
I am experiencing a really curious problem with a HttpHandler and I am hoping someobody here might be able to shed light on this. Many thanks in advance for reading this.
We have created a HttpHandler that sits in the pipeline of an IIS website that serves images, videos, and other assets. The HttpHandler is very lightweight. It...
I want my login page to be SSL only:
[RequireHttps]
public ActionResult Login()
{
if (Helper.LoggedIn)
{
Response.Redirect("/account/stats");
}
return View();
}
But obviously it doesn't work on localhost when I develop and debug my application. I don't wanna use IIS 7 with S...
I have a web service which sends messages back to the client via callback interface. The messages are sent on a different thread. The performance is pretty good when the service is self-hosted. However, when hosted in II5, the messages are sent at slower speed.
For example, on a self-hosted service, it takes 0.2s to send a 200KB messag...
I have a web application that has been built as two. One is physically located within the file structure of the other. I am trying to integrate the child app into the parent app and consolidate all classes to the parent, to begin large scale ASPclassic-to-ASP.NET conversion of this app. Also, I'm trying to do this without creating a n...
I have a standard DotNetNuke installation that I am developing some modules for.
Every time I update one of my modules, it updates that module's DLL in the DotNetNuke installation's bin folder.
Despite the fact that I am not touching the main DotNetNuke DLL, it seems that IIS is either reprocessing every DLL in the folder, or doing som...
Hi,
I'm trying to write an application that is able to download the "chunks" sent by a IIS Smooth Streaming server and capture thumbnails of the video. I'm able to create the proper GET requests to download the chunks, but I'm having trouble finding a way to play or view the chunks I download.
Does anybody know of a way to combine and ...
Hi Folks,
We have a ASP.net 2.0 web app with an installer which appears to hit an issue with .Net Framework 4.0. This has occurred on XP and Windows 7. Seems to happen every time.
During the installation, we call aspnet_regiis for various tasks such as encrypting the web.config. If .Net 4 is installed this throws the error:
aspnet_r...
I'm a bit confused.
When I type in my browser a "local" address (of a web site I'm editing on VS), IIS can handle it. How is that so? How can IIS know what's my latest web site version? What's the difference between typing the address in the browser and compiling the web site, and what does localhost has to do with all of that? And last ...
I've spent countless hours reading through documentation all over the place and I'm still having a problem with implementing the Classic ASP samples provided in the the latest version of DotNetOpenAuth (3.4.5.10202).
Specifically, I'm not sure what values I need to change in the login.asp in order to see if it works / will work for me. ...
I have a webpage that is giving me this error on a couple of pages
--------------------------------------------------------------------------------
Microsoft OLE DB Provider for ODBC Drivers error '8007000e'
[Microsoft][ODBC Microsoft Access Driver] System resource exceeded.
-----------------------------------------------------------...
I'm making a SOAP handler that will be secured with X509 Certificates, and one of the requirements is that the program log as much as possible in an existing log viewer. Obviously, there are a lot of errors surrounding certificates that are handled at the IIS level, which in this case is not acceptable.
I already have the logging part ...
Hi,
I dont know if it is a problem with my iPhone code or SERVER.
I am uploading Image/Audio from iPhone to server using NSURLConnection. The images and audio get uploaded just fine if their size is less than 60KB.
If it is more than 60KB, I get a 400 Bad Request response from the server.
I am not sure whats happening. I am clueles...
As mentioned here. http://weblogs.asp.net/scottgu/archive/2009/09/15/auto-start-asp-net-applications-vs-2010-and-net-4-0-series.aspx
Is there another way to do this? By just modifying the application's web.config file?
...
Hi I've got a site where I get the classic:
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by brow...
My site worked perfectly fine.
When I restarted IIS (for some scenarios check) - It stopped working, and gave me a page telling me to check the event viewer, there I get the following error:
aspnet_wp.exe could not be started. The error code for the failure is C0000142. This error can be caused when the worker process account has ins...
IIS lets you run 32 bit applications on a 64 bit host using the enable32BitAppOnWin64 setting. How can I find out (in code) if this is set for the currently executing application pool?
I'm targeting C# on IIS 6 or better.
...
So let me start by saying that the weird thing about this error is that the application is running, and the error bubbles to the event log, but it's intermittent. Sometimes it's 2 hours between it happening, sometimes a few minutes, sometimes half an hour. Does not appear to be tied directly to requests (and requests don't seem to be f...