Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Accessing GAC classes from a WebService?

Reply
Thread Tools

Accessing GAC classes from a WebService?

 
 
Michael Bray
Guest
Posts: n/a
 
      01-06-2006
I have a webservice that I want to utilize a class from a DLL that is
stored in the GAC. I can add a reference to the dll, but when I try to use
the 'using <namespace>' in the codebehind for the webservice, it doesn't
appear. It DOES appear on ASPX pages in the same project. How can I
utilize GAC classes in my web service?

TIA!

-mdb
 
Reply With Quote
 
 
 
 
Learner
Guest
Posts: n/a
 
      01-07-2006
See if this helps

http://www.devhood.com/tutorials/tut...utorial_id=106

 
Reply With Quote
 
 
 
 
Michael Bray
Guest
Posts: n/a
 
      01-07-2006
"Learner" <> wrote in news:1136594690.291897.48710
@g49g2000cwa.googlegroups.com:

> See if this helps
>
> http://www.devhood.com/tutorials/tut...utorial_id=106
>
>


Nope... as I said, I have no problems getting this to work with ASPX
pages... I'm trying to get it to work in ASMX pages so I can utilize GAC
classes from a WebService.

In the WebService ASMX file, VS2005 (apparently) only allows the following
directives:

'<%@ WebService... />'
'<%@Assembly... />'

I was hoping that the Assembly directive would get it to work, but I've
been unable to succeed in that.

-mdb
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem to remove Assembly from GAC? owais ASP .Net 6 08-20-2010 09:45 AM
Problem accessing shared assembly in GAC John Holmes ASP .Net 0 06-16-2004 05:42 PM
GAC install Alan Seunarayan ASP .Net 1 01-16-2004 02:24 PM
Deploy Assembly to GAC, and additional file system location Matt Gollob ASP .Net 0 11-18-2003 12:46 AM
how to reference a shared assembly from the GAC ? Joe Abou Jaoude ASP .Net 1 11-06-2003 10:08 PM



Advertisments