Iron Speed Technical Forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
Mohabeckmmadham

Registered:
Posts: 21
Reply with quote  #1 
I've created an application using iron speed,

and I've published it to my customer server,
the customer need to change database name,
so I edited connection string in web.config,
but nothing changed, the data still coming from old database,

so, how could i change database name without rebuilding the app,

best regards,

__________________
Thanks
JimiJ

Avatar / Picture

MVP Developer
Registered:
Posts: 1,962
Reply with quote  #2 
Changing DB name never requires rebuilding at all. One of the reason why you are seeing the same set of data - probably, they are just identical with different names. Try also to logout and login again and see...

Cheers,
Jimi J

__________________

  Jaime Jegonia
[jts_logo]

Iron Speed MVP Developer
 

". . . and whoever sows generously will also reap generously" 2 Cor 9:6

Mohabeckmmadham

Registered:
Posts: 21
Reply with quote  #3 
Quote:
Originally Posted by JimiJ
Changing DB name never requires rebuilding at all. One of the reason why you are seeing the same set of data - probably, they are just identical with different names. Try also to logout and login again and see...

Cheers,
Jimi J


I am sure that the db name is different with different data,
even I've tried to change db name to an invalid name and still fetching data from the original db

__________________
Thanks
miles

Avatar / Picture

MVP Consultant
Registered:
Posts: 1,691
Reply with quote  #4 
Did you change all the connection strings?  Are you using stored procedures?  If so, make sure you re-gen all the stored procedures too.  

I would go back to your app, change the connection string and then resynch the app if possible.  Do a Ctrl-F5 when browsing to clear the cache.

HTH,

Miles

__________________
Miles Gibson, MScIS
Iron Speed MVP
Senior Consultant, Principal
Milestone Software Inc.

http://www.ironspeedmvp.com\localizer 
Email: miles@milestone.ca
Milestone Localizer: Full Localization for your Iron Speed applications!
Mohabeckmmadham

Registered:
Posts: 21
Reply with quote  #5 
Quote:
Originally Posted by miles
Did you change all the connection strings?

Miles


is not enough to change db name from connection string in web.config file?

where are all the connection strings?

i don't have any stored procedures

__________________
Thanks
miles

Avatar / Picture

MVP Consultant
Registered:
Posts: 1,691
Reply with quote  #6 
That is all you should have to do.  If you can however, change the database name in web.config.  Try synching the schema if you have access to the prod db.  Otherwise, no reason that I can think of that it doesn't work, unless the web.config is actually not getting changed at production (older version, wrong folder etc).

HTH,

Miles

__________________
Miles Gibson, MScIS
Iron Speed MVP
Senior Consultant, Principal
Milestone Software Inc.

http://www.ironspeedmvp.com\localizer 
Email: miles@milestone.ca
Milestone Localizer: Full Localization for your Iron Speed applications!
Fandango68

Registered:
Posts: 18
Reply with quote  #7 
I do this all the time, changing from Production to Test and back again. Just go to the Databases tab -> Click the database -> change the connection string to your other database, and re-Synchronise everything (probably not necessary).
__________________
----
"There is only one C# note to play"
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.

Download Iron Speed Designer

Terms of Service Privacy Statement