How to use ConfigurationManager with ASP.NET

S

SR

I have created a ConfigurationSection class in VB.NET. I tested my class
using a windows application. Now I need to move it into my ASP.NET project.
I get an error stating that I need to specify the exePath. In the windows
application I was using the ConfigurationLevel.None. I tried setting the
path to the website (System.AppDomain.CurrentDomain.BaseDirectory) but I
have had no success. What configurations do I need to make this work?

TIA

SR
 
O

oisin78

Did you try to use System.Web.Configuration.WebConfigurationManager to
access Data in your web.config file?

Oisín
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top