Link to home
Start Free TrialLog in
Avatar of Dovberman
DovbermanFlag for United States of America

asked on

Error Converting VS2008 solution to VS2010

Here is the error:

protected void Page_Load(object sender, EventArgs e)
    {
        System.Configuration.Configuration rootWebConfig =
            System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("/StockPro");

An error occurred loading a configuration file: Failed to map the path '/'.
Avatar of Dovberman
Dovberman
Flag of United States of America image

ASKER

Here is the error:

protected void Page_Load(object sender, EventArgs e)
    {
        System.Configuration.Configuration rootWebConfig =
            System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("/StockPro");

An error occurred loading a configuration file: Failed to map the path '/'.

Any ideas?

Thanks
SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you.