Beantwoord

ASP.NET Connection String (database)

  • 5 May 2016
  • 4 reacties
  • 463 keer bekeken

Hello,

I am new to KPN Hosting. I run my website without any problem and I am looking for the right connection string (ASP.NET) to access my database.

Any working example is appreciated.

Thank you.
icon

Beste antwoord door Gvn 6 May 2016, 20:38

Bekijk origineel

4 reacties

Reputatie 7
Badge +11
Hello @Gvn, welcome to the KPN business community! :D

Are you looking for this information?
https:///t5/user/viewprofilepage/user-id/227 schreef op https:///t5/Cloud-technische-vragen/ASP-NET-Connection-String-database/m-p/7874#M1486Hello https:///t5/Cloud-technische-vragen/ASP-NET-Connection-String-database/td-p/7873, welcome to the KPN business community! Smiley Vrolijk

Are you looking for this information?

 Hi Tim,

Thank you. We were running our website on a different provider and I configured the connection string according to it. The same one (of course after adjusting the database name, username and password) does not work here.

It would be great to have working examples so I can apply them.

Thank you.
https:///t5/user/viewprofilepage/user-id/1884 schreef op https:///t5/Cloud-technische-vragen/ASP-NET-Connection-String-database/m-p/7875#M1487https:///t5/user/viewprofilepage/user-id/227 schreef op https:///t5/Cloud-technische-vragen/ASP-NET-Connection-String-database/m-p/7874#M1486Hello https:///t5/Cloud-technische-vragen/ASP-NET-Connection-String-database/td-p/7873, welcome to the KPN business community! Smiley Vrolijk

Are you looking for this information?

 Hi Tim,

Thank you. We were running our website on a different provider and I configured the connection string according to it. The same one (of course after adjusting the database name, username and password) does not work here.

It would be great to have working examples so I can apply them.

Thank you.

 Here is the solution:

<connectionStrings>
<add name="connectionString" connectionString="Data Source=[enter your internal hostname];Initial Catalog=[enter your db name];User ID=[enter your username];Password=[enter your password];Trusted_Connection=False;" />
</connectionStrings>

All the needed information can be found on your Control Panel.
Reputatie 7
Badge +11
Here is the solution:

<connectionStrings>
<add name="connectionString" connectionString="Data Source=[enter your internal hostname];Initial Catalog=[enter your db name];User ID=[enter your username];Password=[enter your password];Trusted_Connection=False;" />
</connectionStrings>

All the needed information can be found on your Control Panel.

 

 Awesome. Thank you very much for sharing the solution! :D

Reageer