R
richard
Has anyone come across the scenario where you create a data adapter in
VS.NET 2003 using the IDE along with its related data connector on
computer A. When you copy the project to computer B and try to
configure the data adapter the data connection disappears and you have
to allow the wizard to recreate the data connector.
This is purely a problem at design time as at runtime it is easy to
point the connection wherever you want it via a dynamic connection
string property.
It seems to me that any connections you create in the server explorer
are created for the computer you created them on. When you load the
project on a different computer the server explorer connections are
gone and you have to re-create them.
This is a real pain in the ASP as I often create a project on my
desktop PC at work, check it into source safe then check it out onto
my notebook to work offsite. If I need to modify any data adapters on
the notebook using the wizards i.e. "Generate Dataset" - the whole
thing goes completely runny ( loads of errors & warnings ) until I
allow the IDE to create a new data connector and modify all the data
adapters to reference the newly created connector.
Any ideas / suggestions greatly appreciated!
VS.NET 2003 using the IDE along with its related data connector on
computer A. When you copy the project to computer B and try to
configure the data adapter the data connection disappears and you have
to allow the wizard to recreate the data connector.
This is purely a problem at design time as at runtime it is easy to
point the connection wherever you want it via a dynamic connection
string property.
It seems to me that any connections you create in the server explorer
are created for the computer you created them on. When you load the
project on a different computer the server explorer connections are
gone and you have to re-create them.
This is a real pain in the ASP as I often create a project on my
desktop PC at work, check it into source safe then check it out onto
my notebook to work offsite. If I need to modify any data adapters on
the notebook using the wizards i.e. "Generate Dataset" - the whole
thing goes completely runny ( loads of errors & warnings ) until I
allow the IDE to create a new data connector and modify all the data
adapters to reference the newly created connector.
Any ideas / suggestions greatly appreciated!