i trying test wcf endpoint stress testing using vs 2013 cloud load testing. have created unit testes running fine. make unit test work had pass random set of values endpoint. created database haavinf valid values , randomly selecting them input wcf endpoint.
i trying use vs 2013 cloud load testing , tests failing @ unit test initialization test.
initialization method wcfloadtests.tests.init threw exception.
system.data.entity.core.entityexception:
system.data.entity.core.entityexception: underlying provider failed on open. --->
system.data.sqlclient.sqlexception: network-related or instance-specific error occurred while establishing connection sql server. server not found or not accessible. verify instance name correct , sql server configured allow remote connections. (provider: sql network interfaces, error: 26 - error locating server/instance specified).
do need setting on cloud? or what?
many thanks,
thanks read question , spent time me resolve it.
i have fixed issue using code first technique in unit tests. earlier using database first ( being lazy) , generated connection string ( providername="system.data.entityclient" ) giving error.
many thanks,
Comments
Post a Comment