Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you reference web.config from an event sink?

Status
Not open for further replies.

lianaent

Programmer
Apr 26, 2007
10
US
I want to use the same web.config file in my document library event sink that the rest of my Sharepoint web parts use, but I can't seem to figure out how to reference it.

I'm working in Sharepoint 2003, and ConfigurationSettings.AppSettings.Get(<key value>) just returns nothing. I've even tried associating an app.config file with the event sink that contains only the location of the web.config file, but no dice.

Any clues? TIA!
Larry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top