Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys. I have deployed my project to server. But when I try open my site i get server error.
Connection String code:
<connectionStrings>
 <add name="OnlineStoreEntities" connectionString="metadata=res://*/Models.Model1.csdl|res://*/Models.Model1.ssdl|res://*/Models.Model1.msl;provider=System.Data.SqlClient;provider connection string="Data Source=SQL6001.site4now.net;Initial Catalog=DB_A46237_OnlineStore; User Id=DB_A46237_OnlineStore_admin;Password=######;"MultipleActiveResultSets=True" providerName="System.Data.EntityClient" />  
 </connectionStrings>


I do not understand what the problem is. Please help who can.

What I have tried:

So as i don't understand this problem. I don't know what I have to seek.
Posted
Updated 30-Jan-21 16:28pm
Comments
[no name] 11-Mar-19 16:52pm    
Ask the administrator of the "server".
MadMyche 11-Mar-19 17:14pm    
If you look at the area around character 120, you will find this is where the provider connection string begins

1 solution

That connection string looks like it was generated by EF/ADO Entity (database first).

This part looks suspect:

Password=######;"MultipleActiveResultSets=True" providerName="System.Data.EntityClient"


Try changing it to this:
Password=######;" MultipleActiveResultSets="True" providerName="System.Data.EntityClient"
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900