Click here to Skip to main content
15,898,134 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: ASP.NET Pin
ZurdoDev16-Nov-15 2:20
professionalZurdoDev16-Nov-15 2:20 
Questionasp.net Pin
Member 1214037915-Nov-15 3:51
Member 1214037915-Nov-15 3:51 
AnswerRe: asp.net Pin
Afzaal Ahmad Zeeshan15-Nov-15 23:58
professionalAfzaal Ahmad Zeeshan15-Nov-15 23:58 
AnswerRe: asp.net Pin
ZurdoDev16-Nov-15 2:21
professionalZurdoDev16-Nov-15 2:21 
QuestionGridview with full-screen editing question Pin
Member 1044208512-Nov-15 7:53
Member 1044208512-Nov-15 7:53 
AnswerRe: Gridview with full-screen editing question Pin
Mathi Mani12-Nov-15 8:18
Mathi Mani12-Nov-15 8:18 
GeneralRe: Gridview with full-screen editing question Pin
Member 1044208512-Nov-15 9:08
Member 1044208512-Nov-15 9:08 
QuestionHelp with a connection string Pin
Member 121243549-Nov-15 13:50
Member 121243549-Nov-15 13:50 
I am helping someone that has a web server: Windows 2003 IIS 6 and connects to a database server: Windows 2003 running SQL Server 2000 SP3.

The original database server died. I set up a new server (both were windows 2003, both sql server 2000 sp3) and I moved the database from the old server to the new one.

During the sql server installation it asked me for a named instance name. I made one up, not knowing what the instance name of the old one was.

The database itself appears to be fine. However, when launching the application on a desktop on the network that the web server runs we get an error stating that the "connection string has not been initialized."

While trying different things I got a similar but different message saying something about the named instance of the database, I don't have that full error message though. It also mentioned the web.config file.

I looked in the web.config file on the web server and tried to change what I thought was appropriate to make the data source what it should be. (the web.config file would be looking for the old database until I change it I guess).

Doing this did not work however. I know Nothing about this stuff at all. It isn't in my area. I was hoping someone could offer a suggestion. The connection string from the web.config file as it is (and as it was under the old set up) is:

XML
<connectionStrings>
        <add name="SecurityConnectionString" connectionString="Password=xxxxxx;Persist Security Info=True;User ID=impact_app;Initial Catalog=cc_3100_CC_20_20_sec;Data Source=CCDBER"/>
        <add name="CustomerInstallationLookupConnectionString" connectionString="Password=xxxxx;Persist Security Info=True;User ID=impact_app;Initial Catalog=cc_customer_installation;Data Source=S1-DB04"/>
        <add name="FirstDataBankConnectionString" connectionString="Password=xxxxx;Persist Security Info=True;User ID=impact_app;Initial Catalog=first_data_bank;Data Source=S1-DB04"/>
    </connectionStrings>




The instance name of the new database shows up in SQL Enterprise Manager as : CCDBER\CCDB_ERPS

Looking at the old connection string, it is point to CCDBER as the datasource, so I am guessing that was the name of the database on the old database server? But I don't know that. Looking at my new set up in Enterprise Manager it appears as CCDBER\CCDB_ERPS, which I am guessing means the server name is CCBER and I used the instance name of CCD_ERPS.

I thought putting CCD_ERPS in the connection string where CCBER was would do the trick but it didn't.

Man... I hope someone can help with this. I'd really appreciate it because I'm out my element here and was not expecting to run into these types of issues.

Thanks!

modified 10-Nov-15 18:23pm.

AnswerRe: Help with a connection string Pin
Wombaticus10-Nov-15 1:09
Wombaticus10-Nov-15 1:09 
AnswerRe: Help with a connection string Pin
Richard Deeming10-Nov-15 1:21
mveRichard Deeming10-Nov-15 1:21 
GeneralRe: Help with a connection string Pin
Member 1212435410-Nov-15 12:28
Member 1212435410-Nov-15 12:28 
GeneralRe: Help with a connection string Pin
Richard Deeming11-Nov-15 1:54
mveRichard Deeming11-Nov-15 1:54 
GeneralRe: Help with a connection string Pin
Member 1212435411-Nov-15 11:59
Member 1212435411-Nov-15 11:59 
QuestionJquery Ajax method call with asp.net static webmethods Pin
ganesh.dks8-Nov-15 20:31
ganesh.dks8-Nov-15 20:31 
AnswerRe: Jquery Ajax method call with asp.net static webmethods Pin
Nathan Minier9-Nov-15 2:53
professionalNathan Minier9-Nov-15 2:53 
GeneralRe: Jquery Ajax method call with asp.net static webmethods Pin
F-ES Sitecore9-Nov-15 4:49
professionalF-ES Sitecore9-Nov-15 4:49 
GeneralRe: Jquery Ajax method call with asp.net static webmethods Pin
Nathan Minier9-Nov-15 6:05
professionalNathan Minier9-Nov-15 6:05 
GeneralRe: Jquery Ajax method call with asp.net static webmethods Pin
Richard Deeming9-Nov-15 9:04
mveRichard Deeming9-Nov-15 9:04 
GeneralRe: Jquery Ajax method call with asp.net static webmethods Pin
Nathan Minier19-Nov-15 1:23
professionalNathan Minier19-Nov-15 1:23 
AnswerRe: Jquery Ajax method call with asp.net static webmethods Pin
F-ES Sitecore9-Nov-15 4:59
professionalF-ES Sitecore9-Nov-15 4:59 
QuestionASP.NET MVC How to implement timer functionality to update dock panels on client side respective to their time intervals? Pin
glitteringsound4-Nov-15 20:41
glitteringsound4-Nov-15 20:41 
AnswerRe: ASP.NET MVC How to implement timer functionality to update dock panels on client side respective to their time intervals? Pin
Nathan Minier5-Nov-15 1:37
professionalNathan Minier5-Nov-15 1:37 
QuestionMVC View and Sub Views, Child View? Views within a View? Pin
jkirkerx4-Nov-15 7:38
professionaljkirkerx4-Nov-15 7:38 
AnswerRe: MVC View and Sub Views, Child View? Views within a View? Pin
F-ES Sitecore9-Nov-15 5:11
professionalF-ES Sitecore9-Nov-15 5:11 
GeneralRe: MVC View and Sub Views, Child View? Views within a View? Pin
jkirkerx9-Nov-15 6:22
professionaljkirkerx9-Nov-15 6:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.