View Single Post
  #1 (permalink)  
Old 13-08-2007, 13:00
Korbay Korbay is offline
new member
 
Join Date: Aug 2007
Posts: 5
Default MS SQL Server Express path

Hi all,

I am new here and am loading a website hosting www.youbayou.info which uses a MS SQL Server express database. I use the following connection string:
"Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirector y|\YoubayouDB.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"
which works fine on the development enviroment but uploaded it does not work and I have the following error:
" Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed.
"

Can anyone helps me with this please?


Korbay
Reply With Quote