473,408 Members | 2,734 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,408 software developers and data experts.

Need bin directory in my web to add httpmodule

JJA
I'm trying to implement global unhandled exception handling with an
HTTPModule as described at
http://www.codeproject.com/aspnet/AS...onHandling.asp.

I've downloaded and looked at the demo solution which creates a .dll in
its \bin folder and now I am wanting to follow the instruction that
says:

"...means you can retrofit unhandled exception handling to any ASP.NET
website with ease -- just copy the ASPUnhandledException.dll file to
the \bin folder".

BUT - my website does not have a \bin folder (even when I click "show
all files").

When I try to create one manually via clicking "add ASP.NET folder", it
creates one but then I try to copy in the ASPUnhandledException.dll
from the \bin in the demo solution to the bin folder in the website and
I get this error message:

"The source files for this operation cannot be found in this solution".
My web site is in progress but I have run it many times. Why would I
not have a \bin folder? How can I create one that I can then add this
..dll to it.

Sep 6 '06 #1
3 2397
just open windows explorer, navigate to the website root and create a folder called "bin"
paste the dll into the bin folder
"JJA" <jo***@cbmiweb.comwrote in message news:11**********************@b28g2000cwb.googlegr oups.com...
I'm trying to implement global unhandled exception handling with an
HTTPModule as described at
http://www.codeproject.com/aspnet/AS...onHandling.asp.

I've downloaded and looked at the demo solution which creates a .dll in
its \bin folder and now I am wanting to follow the instruction that
says:

"...means you can retrofit unhandled exception handling to any ASP.NET
website with ease -- just copy the ASPUnhandledException.dll file to
the \bin folder".

BUT - my website does not have a \bin folder (even when I click "show
all files").

When I try to create one manually via clicking "add ASP.NET folder", it
creates one but then I try to copy in the ASPUnhandledException.dll
from the \bin in the demo solution to the bin folder in the website and
I get this error message:

"The source files for this operation cannot be found in this solution".
My web site is in progress but I have run it many times. Why would I
not have a \bin folder? How can I create one that I can then add this
.dll to it.

Sep 7 '06 #2
If you are using 2005, simply right click on your project, pick "add
Reference", browse to the DLL, and click on it. That should automatically
copy the dll to your bin folder when you run/compile.

Karl

--
http://www.openmymind.net/
http://www.codebetter.com/
"JJA" <jo***@cbmiweb.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
I'm trying to implement global unhandled exception handling with an
HTTPModule as described at
http://www.codeproject.com/aspnet/AS...onHandling.asp.

I've downloaded and looked at the demo solution which creates a .dll in
its \bin folder and now I am wanting to follow the instruction that
says:

"...means you can retrofit unhandled exception handling to any ASP.NET
website with ease -- just copy the ASPUnhandledException.dll file to
the \bin folder".

BUT - my website does not have a \bin folder (even when I click "show
all files").

When I try to create one manually via clicking "add ASP.NET folder", it
creates one but then I try to copy in the ASPUnhandledException.dll
from the \bin in the demo solution to the bin folder in the website and
I get this error message:

"The source files for this operation cannot be found in this solution".
My web site is in progress but I have run it many times. Why would I
not have a \bin folder? How can I create one that I can then add this
.dll to it.

Sep 7 '06 #3
JJA
Thanks guys. I tried both your suggestions and this worked fine.

I introduced an unhandled error in my Page_Load sub in my default.aspx
and this exception handler kicked in a worked beautifully.

Sep 7 '06 #4

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

Similar topics

2
by: Rob Mayo | last post by:
What I'm trying to do is Create an ASP.Net app that has both Windows-authenticated users and Anonymous users. The idea is this: When authenticated users attempt to access the site, their...
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...
0
by: Ian Suttle | last post by:
I have created an HTTPModule for error handling, which I only want to handle a specified directory structure. In the root of my application, I have altered the web.config file as follows: ...
4
by: Danny W | last post by:
Hi There! Is it possible to use HttpModule to replace the built-in ASP.NET Session object? I want to write a HttpModule that will handle storing and retrieving of session values from an external...
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...
4
by: Chip Page | last post by:
Hello, In my top-level Web.config, I had added a number of httpModules. In a particular sub-directory in the application, I wish to prevent one of the HttpModules from executing. My attempts...
2
by: Janusz Jezowicz | last post by:
Hello! I would like to have one page on the server, which would be a target processing page for a number of other aspx pages. E.g Processing page \portal_page.aspx Target pages
2
by: Simon-Pierre Jarry | last post by:
Hi, I created a custom HttpModule for managing the security of my application. in "Init" sub, I regsiter the events doing that : Public Sub Init(ByVal context As System.Web.HttpApplication)...
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...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
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,...
0
tracyyun
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...
0
agi2029
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,...
0
isladogs
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...

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.