googleglass/mirror-quickstart-dotnet project gives SQL server error -
i using googleglass/mirror-quickstart-dotnet project. able run application on local iis when deploy ec2 cloud instance, keeps throwing following error :
server error in '/glassapp' application.
a 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)
description: unhandled exception occurred during execution of current web request. please review stack trace more information error , originated in code.
exception details: 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)
source error:
an unhandled exception generated during execution of current web request. information regarding origin , location of exception can identified using exception stack trace below.
stack trace:
[sqlexception (0x80131904): 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)] system.data.sqlclient.sqlinternalconnection.onerror(sqlexception exception, boolean breakconnection) +5064458 system.data.sqlclient.tdsparser.throwexceptionandwarning() +234 system.data.sqlclient.tdsparser.connect(serverinfo serverinfo, sqlinternalconnectiontds connhandler, boolean ignoresniopentimeout, int64 timerexpire, boolean encrypt, boolean trustservercert, boolean integratedsecurity) +341 system.data.sqlclient.sqlinternalconnectiontds.attemptonelogin(serverinfo serverinfo, string newpassword, boolean ignoresniopentimeout, timeouttimer timeout, sqlconnection owningobject) +129 system.data.sqlclient.sqlinternalconnectiontds.loginnofailover(serverinfo serverinfo, string newpassword, boolean redirecteduserinstance, sqlconnection owningobject, sqlconnectionstring connectionoptions, timeouttimer timeout) +270 system.data.sqlclient.sqlinternalconnectiontds.openloginenlist(sqlconnection owningobject, timeouttimer timeout, sqlconnectionstring connectionoptions, string newpassword, boolean redirecteduserinstance) +195 system.data.sqlclient.sqlinternalconnectiontds..ctor(dbconnectionpoolidentity identity, sqlconnectionstring connectionoptions, object providerinfo, string newpassword, sqlconnection owningobject, boolean redirecteduserinstance) +232 system.data.sqlclient.sqlconnectionfactory.createconnection(dbconnectionoptions options, object poolgroupproviderinfo, dbconnectionpool pool, dbconnection owningconnection) +185 system.data.providerbase.dbconnectionfactory.createpooledconnection(dbconnection owningconnection, dbconnectionpool pool, dbconnectionoptions options) +33 system.data.providerbase.dbconnectionpool.createobject(dbconnection owningobject) +524 system.data.providerbase.dbconnectionpool.usercreaterequest(dbconnection owningobject) +66 system.data.providerbase.dbconnectionpool.getconnection(dbconnection owningobject) +479 system.data.providerbase.dbconnectionfactory.getconnection(dbconnection owningconnection) +108 system.data.providerbase.dbconnectionclosed.openconnection(dbconnection outerconnection, dbconnectionfactory connectionfactory) +126 system.data.sqlclient.sqlconnection.open() +125
please me resolve issue.
thank response. solved issue. installed sql 2012 express has localdb default , installing it, solved issue
Comments
Post a Comment