none
The connection name 'DefaultConnection' was not found in the applications configuration or the connection string is empty. RRS feed

  • Question

  • I created  http  based  website   (name: httpwebsite) in vs 2013 framework 4  asp.net webform. I created website in IIS   pointing to file path where httpwebsite was created. In IIS I was able to browse website. I clicked Register. I got error Connection not found. I added connection string  with the name DefaultConnection. Still I am getting the same error. In IIS I can see my connection string listed (DefaultConnection). Before this website I created similar file based website and every thing worked fine.
    Tuesday, September 10, 2019 2:08 PM

Answers

  • sorry there was mistype  in nam=" ' DEfaultConnection"   extra single quote 
    • Marked as answer by kobosh3 Tuesday, September 10, 2019 10:12 PM
    Tuesday, September 10, 2019 10:11 PM

All replies

  • sorry there was mistype  in nam=" ' DEfaultConnection"   extra single quote 
    • Marked as answer by kobosh3 Tuesday, September 10, 2019 10:12 PM
    Tuesday, September 10, 2019 10:11 PM
  • Hi kobosh3,

    Thank you for sharing your experience here.

    If you still have any problems, please feel free to let us know.

    Best regards,

    Eden

    Wednesday, September 11, 2019 1:25 AM