Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. Using my custom handler inside sharepoint teamsite

Using my custom handler inside sharepoint teamsite

Scheduled Pinned Locked Moved SharePoint
sharepointdotnetcomannouncement
2 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gottimukkala
    wrote on last edited by
    #1

    Hi We have an HttpHandler developed for our web application and we are tying to use that handler inside sharepoint teamsite. I added the dll of my handler in the GAC and changed the web.config with a line like below: <add verb="*" path="webservices.axd" type="x.Framework.HttpHandlers.WebServicesHandler, x.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3ed025cf0c333301" validate="false"/> Do I have to do some thing else to access my handler. After doing the above things, I still see that my handler says: object reference not to set an instance of the object. I tried ouput some Hello text on the first call of the handler but I havent get my text and stil I am getting: object reference not to set an instance of the object. If I access my handler from other port, it is working fine. Does any one tell me, to do more changes and anything else to access my handler. Any ideas please!! Thanks in advance,

    -- http://ashakthi.blogspot.com http://kids-articles.blogspot.com

    R 1 Reply Last reply
    0
    • G gottimukkala

      Hi We have an HttpHandler developed for our web application and we are tying to use that handler inside sharepoint teamsite. I added the dll of my handler in the GAC and changed the web.config with a line like below: <add verb="*" path="webservices.axd" type="x.Framework.HttpHandlers.WebServicesHandler, x.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3ed025cf0c333301" validate="false"/> Do I have to do some thing else to access my handler. After doing the above things, I still see that my handler says: object reference not to set an instance of the object. I tried ouput some Hello text on the first call of the handler but I havent get my text and stil I am getting: object reference not to set an instance of the object. If I access my handler from other port, it is working fine. Does any one tell me, to do more changes and anything else to access my handler. Any ideas please!! Thanks in advance,

      -- http://ashakthi.blogspot.com http://kids-articles.blogspot.com

      R Offline
      R Offline
      Riwut Libinuko
      wrote on last edited by
      #2

      Hi, you have to know which part of the code which potentially return null value. For example avoid type casting without first checking the existence (null or not) Riwut Libinuko Microsoft MVP | SharePoint Server | Singapore b: http://blog.libinuko.com c: http://ideasfreestsadm.codeplex.com

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups