How to fix error ::Format of the initialization string does not conform to specification starting at index 0::

后端 未结 18 1949
一向
一向 2020-11-30 11:04

I uploaded my site on godaddy shared host. I can access this database from my management studio. I can\'t access this database from my site

18条回答
  •  离开以前
    2020-11-30 11:46

    None of the listed solutions in this thread worked for me. I started getting this error after I made some changes to the connection strings section of the web.config file. (My app connects to multiple databases.) I carefully examined what changes I had made are realized I had removed the tag at the top of my list. I restored the tag at the top of my list of connection strings and the problem went away immediately. This site that was getting the error is a application that resides below the main site (https://www.domain.org/MySite). This might not fix the problem for everyone, but it did resolve the problem for me.

提交回复
热议问题