• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Invalid value for key 'attachdbfilename'

E

esqueleto

Guest
I have a 7.5.6 Plesk hosting with SQL Express installed.

I don't have access to the server, I only have an account in the server.

What is the connection string to access a database in the App_Data folder?
I try to use
data source=localhost\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|ExampleDB.mdf;User Instance=true

or

data source=localhost\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=C:\xxx\ExampleDB.mdf;User Instance=true

and I get always the same error?
What I'm doing wrong? What I have to ask the hosting provider?

tkx in advance
Paulo Aboim Pinto
Odivelas - Portugal
 
Back
Top