473,386 Members | 1,644 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

HTTPModule does not run

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
Dec 30 '05 #1
3 2017
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

Dec 30 '05 #2
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****@NOSPAMdevelop.com> wrote in message
news:b8**************************@msnews.microsoft .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


Dec 30 '05 #3
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****@NOSPAMdevelop.com> wrote in message
news:b8**************************@msnews.microsoft .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

Dec 30 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
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...
1
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:...
7
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...
4
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). ...
1
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...
2
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...
1
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...
3
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...
3
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.