Hi.
I wrote an HTTPModule to log errors from my application. The component works
well on all the development machines running Windows XP or Windows 2000 and
VS.NET 2003. When I run the application on the server, a Windows 2003 box,
the HTTPModule does not run. If I change the component to a simple dll and
call its methods directly, the code works ok. As soon as I change the
component back to an HTTPModule it stops working on the server. Is there any
type of configuration needed for this kind of component to work on Windows
2003?
Any help would be greatly appreciated!
Regards,
Erik Cruz 3 2031
Well, that is not a lot of info to go on. Have you configured it in the <httpModules>
section of web.config?
-Brock
DevelopMentor http://staff.develop.com/ballen Hi.
I wrote an HTTPModule to log errors from my application. The component works well on all the development machines running Windows XP or Windows 2000 and VS.NET 2003. When I run the application on the server, a Windows 2003 box, the HTTPModule does not run. If I change the component to a simple dll and call its methods directly, the code works ok. As soon as I change the component back to an HTTPModule it stops working on the server. Is there any type of configuration needed for this kind of component to work on Windows 2003?
Any help would be greatly appreciated!
Regards, Erik Cruz
Hi Brock.
Yes, it is configured on Web.config at the <httpModules> section. As I said,
the component works very well on the development machines but not on the
Windows 2003 server.
Thanks,
Erik Cruz
"Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message
news:b8******** *************** ***@msnews.micr osoft.com... Well, that is not a lot of info to go on. Have you configured it in the <httpModules> section of web.config?
-Brock DevelopMentor http://staff.develop.com/ballen
Hi.
I wrote an HTTPModule to log errors from my application. The component works well on all the development machines running Windows XP or Windows 2000 and VS.NET 2003. When I run the application on the server, a Windows 2003 box, the HTTPModule does not run. If I change the component to a simple dll and call its methods directly, the code works ok. As soon as I change the component back to an HTTPModule it stops working on the server. Is there any type of configuration needed for this kind of component to work on Windows 2003?
Any help would be greatly appreciated!
Regards, Erik Cruz
Hmm, make sure that it's configured in the root web.config of your application
in IIS. The <httpModules> section is not considered in lower web.config files
(IOW, web.config files ina subdirectory of your app). Other than that, I
can't think of anything else. GL.
-Brock
DevelopMentor http://staff.develop.com/ballen Hi Brock.
Yes, it is configured on Web.config at the <httpModules> section. As I said, the component works very well on the development machines but not on the Windows 2003 server.
Thanks, Erik Cruz "Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message news:b8******** *************** ***@msnews.micr osoft.com...
Well, that is not a lot of info to go on. Have you configured it in the <httpModules> section of web.config?
-Brock DevelopMentor http://staff.develop.com/ballen Hi.
I wrote an HTTPModule to log errors from my application. The component works well on all the development machines running Windows XP or Windows 2000 and VS.NET 2003. When I run the application on the server, a Windows 2003 box, the HTTPModule does not run. If I change the component to a simple dll and call its methods directly, the code works ok. As soon as I change the component back to an HTTPModule it stops working on the server. Is there any type of configuration needed for this kind of component to work on Windows 2003?
Any help would be greatly appreciated!
Regards, Erik Cruz This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bruce B |
last post by:
Hi group,
I'm experiencing some extreme weirdness over the last week with IIS related
to it's Mappings and how .NET is behaving. I can't explain the behavior as
it seems very random.
Our app has about 50 file extensions that we map in IIS and handle in our
HTTPHandler to catch the reference and then lookup the correct content from
a database. In addition, we do some magic in a HTTPModule to rewrite paths
for file types we don't...
|
by: Ryan Cromwell |
last post by:
I have written an httpModule for use in our test environment. If a user goes
to http://testserver/SomeApplication/MyPage.aspx it will resolve to the
latest version of that application deployed:
http://testserver/SomeApplication.1.0.10.0/MyPage.aspx, for instance.
Problem is, the httpModule doesn't get called because
http://testserver/SomeApplication doesn't exist. I assume this is because
IIS is spitting it back, but I am not sure. ...
|
by: nail |
last post by:
Folks,
I develop a HttpModule and it works correct, but one problem is occurs.
After I register the httpmodule in the web.config, my pages (not testing
http://localhost/site but http://my_machine_name/site) show problems when
refresh the page.
I guess some kind of javascript problems with the postback methods.
Someone has any idea how can i fix it?
Thanks
|
by: |
last post by:
I have earlier used an HttpModule that did URL rewrites on the BeginRequest
event.
Now I am trying to use the same module in a different application on a new
and upgraded machine (winxp sp2).
The Module is registered via Web.config. The registration is OK. When asking
for an existing .aspx page, the eventhandler is called as it should.
HOWEVER - if the request url is for a non-existant file, I get a 404 - file
|
by: Mike Kline |
last post by:
Hi There!
How do I make the Objects in the custom made HttpModule available to ASPX
page or ASCX controls without requiring an object reference?
For example, SessionState HttpModule made the Session object available
throughout the ASP.NET application without needing to have a reference to
SessionState HttpModule. So how do I expose my own objects from my own
custom HttpModule available throughout the ASP.NET application?
| |
by: walter |
last post by:
Hi there, I know there is pool of HttpApplications, and for each request
coming in, HttpRuntime will dedicate one from pool to serve the request. My
questions are :
1. since HttpModule is plug into the process, does each instance of
HttpApplication keep its own set of HttpModule instance or HttpModules are
shared among all HttpApplication instances?
2. In case of HttpApplication keep its own set of HttpModule, does the
HttpModule...
|
by: Faraz |
last post by:
Hi everyone,
I am running into a slight problem. My understanding is that a custom
HttpModule will run for every request made to the server, regardless of the
extension. I do not experience this behavior. My module only runs for the
extensions handled by the aspnet_isapi.dll.
Here are my sequence of steps:
1) Create the HttpModule
2) Compile and drop dll in the webApp bin directory.
|
by: Dan Sikorsky |
last post by:
I use an HttpModule that handles unhandled exceptions from an .aspx.cs page
by logging to a text file, logging to the event viewer's app log, and sending
out an email to the website developer and any interested parties. Finally, a
user friendly page (GenericError.aspx) is Redirected To.
My Page_Load event has no code, so when the page is unavailable, (for
instance, the website is down), an unhandled event is generated and my
HttpModule...
|
by: =?Utf-8?B?Sm9obg==?= |
last post by:
Hi,
I need to write asynchronous HTTPModule which will sometimes execute long
job. I've written it using AddOnBeginRequestAsync but it still executes
synchronously - I am checking performance counters but after running X
requests which executes this "asynchronous" module all other requests go to
application queue - so it executes synchronously.
Code is based on the following article...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |