We have a customer who uses an internal web based accounting system. We moved the data and databases from the old server to the new one, and set everything up. This software was written by another company, and we do not have any tech support from them. We also do not have the source code to the "code-behind" files.
When you try to Logon using the LoginForm.aspx, it gives this error...
Init error:
SQL Server does not exist or access denied.
datalayer.dbException: Init error:
SQL Server does not exist or access denied. ---> System.Data.SqlClient.SqlE
xception: SQL Server does not exist or access denied.
at System.Data.SqlClient.Conn
ectionPool
.GetConnec
tion(Boole
an& isInTransaction)
at System.Data.SqlClient.SqlC
onnectionP
oolManager
.GetPooled
Connection
(SqlConnec
tionString
options, Boolean& isInTransaction)
at System.Data.SqlClient.SqlC
onnection.
Open()
at datalayer.dbconnection_sql
server.ini
t(String connStr)
--- End of inner exception stack trace ---
at datalayer.dbconnection_sql
server.ini
t(String connStr)
at datalayer.dbmanager.GetCon
n(String conName)
at datalayer.dbmanager.Execut
eDataReade
r(String conName, dbsql tdbsql, Boolean staticFlag, Boolean GetRecordCount, Int32 iStart, Int32 iEnd)
at AnimalShelter.MyAnimalInve
ntoryDDObj
ect.valida
teUser(Str
ing userName, String password)
at AnimalShelter.LoginForm.bt
nLogin_OnC
lick()
at visWebControls.visTextCont
rol.Handle
ServerEven
t(String eventType, String param1, String param2)
at visWebControls.visWebForm.
HandleServ
erEvent(St
ring eventId, String eventType, String param1, String param2)
at visWebControls.visLinkedWe
bForm.Hand
leServerEv
ent(String
eventId, String eventType, String param1, String param2)
at visWebControls.visWebForm.
OnPreRende
r(EventArg
s e)
at System.Web.UI.Control.PreR
enderRecur
siveIntern
al()
at System.Web.UI.Page.Process
RequestMai
n()
The SQL server is running, and I can query fine from within the Management Express software.
Is there anyway to find out what database name, username, and password this web-app is using to try to connect to the database with? I have searched every file in the web-app and there is no place to edit what database to connect to, or the username and password to use.
Thank you
Start Free Trial