This question is locked. New answers and comments are not allowed.
Hello all
got a weird problem that I can't see round.
Got an ORM created class with a connection string in the app.config
Am adding this class in a web project. If I put a different connection string with the same name in the web config it uses this connection as it should.
However, when I publish the web site and copy it to another server for testing it refuses to use the web.config connection and reverts to the version in the ORM class.... I can't see why.
Anyone seen this happen?
Thanks
Matt
got a weird problem that I can't see round.
Got an ORM created class with a connection string in the app.config
Am adding this class in a web project. If I put a different connection string with the same name in the web config it uses this connection as it should.
However, when I publish the web site and copy it to another server for testing it refuses to use the web.config connection and reverts to the version in the ORM class.... I can't see why.
Anyone seen this happen?
Thanks
Matt