Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 06, 2013 08:42 AM by ignatandrei
0 Points
4 Posts
Jan 05, 2013 03:00 PM|LINK
hi
i have a really a big problem with my mvc3 EF web site ... when i tried to deploy it ,it adds an extra connection string to the deployed web config look like that
<add name="CustomerCare.Models.CustomerCareContext" connectionString="CustomerCare.Models.CustomerCareContext_ConnectionString" providerName="System.Data.SqlClient" />
which makes it confusing and also adding an obj folder contains realese folder having this connction as an csautoparameter
anybody can help plz?????????
All-Star
137716 Points
22159 Posts
Moderator
MVP
Jan 06, 2013 04:41 AM|LINK
1. how did you deploy?
2. do you have a web.config.release and web.config.debug files?
Jan 06, 2013 07:16 AM|LINK
by one click publish
and yes i have web.config.release and web.config.debug
Jan 06, 2013 08:42 AM|LINK
noni460 and yes i have web.config.release and web.config.debug
look in both for the items.
noni460
0 Points
4 Posts
deployment problem
Jan 05, 2013 03:00 PM|LINK
hi
i have a really a big problem with my mvc3 EF web site ... when i tried to deploy it ,it adds an extra connection string to the deployed web config look like that
<add name="CustomerCare.Models.CustomerCareContext" connectionString="CustomerCare.Models.CustomerCareContext_ConnectionString" providerName="System.Data.SqlClient" />
which makes it confusing and also adding an obj folder contains realese folder having this connction as an csautoparameter
anybody can help plz?????????
ignatandrei
All-Star
137716 Points
22159 Posts
Moderator
MVP
Re: deployment problem
Jan 06, 2013 04:41 AM|LINK
1. how did you deploy?
2. do you have a web.config.release and web.config.debug files?
noni460
0 Points
4 Posts
Re: deployment problem
Jan 06, 2013 07:16 AM|LINK
by one click publish
and yes i have web.config.release and web.config.debug
ignatandrei
All-Star
137716 Points
22159 Posts
Moderator
MVP
Re: deployment problem
Jan 06, 2013 08:42 AM|LINK
look in both for the items.