By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,313 Members | 1,113 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,313 IT Pros & Developers. It's quick & easy.

HttpHandler Problem in ASP .net 2.0

P: n/a
Hi All,

I'm implementing a soapreceiver class in a web site. The required
httpHandler tag was also added in the web.config as below.

<httpHandlers>
<add verb="*" path="Receiver.ashx" type="namespace.class, myassembly"/>
</httpHandlers>

Unfortunately, when i run the application from .NET IDE 2.0, I'm
getting the following error with list of directories.

Description: An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'myassembly' or
one of its dependencies. The system cannot find the file specified.
>From this report, I understood that it's basically looking for
myassembly.dll or myassmbly.exe, for the given namespace.class. Though
I compile and build the application, it's not creating the dll under
the bin folder. The bin folder has someother 3rd party components which
are required for further development

The above scenario was with FileSystem project. I even tried with Web
Site project, but has no improvements.

Any help?

TIA,

Jul 10 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Try a Web Application Project.
Why don't you just write an ASMX webService page for this?
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Anbu" wrote:
Hi All,

I'm implementing a soapreceiver class in a web site. The required
httpHandler tag was also added in the web.config as below.

<httpHandlers>
<add verb="*" path="Receiver.ashx" type="namespace.class, myassembly"/>
</httpHandlers>

Unfortunately, when i run the application from .NET IDE 2.0, I'm
getting the following error with list of directories.

Description: An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'myassembly' or
one of its dependencies. The system cannot find the file specified.
From this report, I understood that it's basically looking for
myassembly.dll or myassmbly.exe, for the given namespace.class. Though
I compile and build the application, it's not creating the dll under
the bin folder. The bin folder has someother 3rd party components which
are required for further development

The above scenario was with FileSystem project. I even tried with Web
Site project, but has no improvements.

Any help?

TIA,

Jul 10 '06 #2

P: n/a
Ofcourse i'm writing a web service project only

Jul 11 '06 #3

P: n/a
If your httphandler is in your App_Code folder, the assembly will be
"App_Code"

Karl

--
http://www.openmymind.net/
http://www.codebetter.com/
"Anbu" <An*****************@gmail.comwrote in message
news:11**********************@p79g2000cwp.googlegr oups.com...
Ofcourse i'm writing a web service project only

Jul 11 '06 #4

P: n/a
But how can i force the build operation to target this folder. It does
not create the dll on the bin folder or in the web site folder when i
use "build web site".

Jul 11 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.