I have the connect string like this: Dim connectionstring As String = "Data Source=.\SQLEXPRESS;AttachDbFilename=C:\inetpub\wwwroot\App_Data\RefSchedule.mdf;Integrated Security=True;User Instance=True;" As I said, the code is working just fine on the other
two machines: I first wrote the code on my windows 7 desktop with IIS 7 and vs 2010, then copy to a windows 2008 server (virtual machine). The problem occurs when I tried to move the code to a real window 2008 machine.
Things are getting complicated and confusing, because I tried things here and there, and it's been for many days now. Hard to describe. Look like I have to re-install the windows 2008 server and start from a complete scratch.
Member
65 Points
204 Posts
Re: sql express problem
Jul 25, 2014 10:47 AM|comego|LINK
Yes, I am still struggled with it.
Now the error message is:
The system cannot find the file specified
I have the connect string like this: Dim connectionstring As String = "Data Source=.\SQLEXPRESS;AttachDbFilename=C:\inetpub\wwwroot\App_Data\RefSchedule.mdf;Integrated Security=True;User Instance=True;" As I said, the code is working just fine on the other two machines: I first wrote the code on my windows 7 desktop with IIS 7 and vs 2010, then copy to a windows 2008 server (virtual machine). The problem occurs when I tried to move the code to a real window 2008 machine.
Things are getting complicated and confusing, because I tried things here and there, and it's been for many days now. Hard to describe. Look like I have to re-install the windows 2008 server and start from a complete scratch.