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

后端 未结 18 1975
一向
一向 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:40

    I had the same error message in my localhost development with my Visual Studio. Note that everything was working when released with Microsoft Release Management (MRM). I fixed my situation by changing the initial value that was a MRM reference.

    My App.config initial value was the following:

      
        
      
    

    Locally, the application execution could not interpret the token3 reference to its real value in Tokens.xml. To make it work on my localhost, I had to force the value from token3 in Tokens.xml into the App.config file.

提交回复
热议问题