mmatsumura
Technical User
I've been following a Webcast to learn how to include MSDE as part of a VB.Net Windows application. The problem I am having is that when I run an 'Install' of the deployment project, a message box appears with the following:
"A strong SA password is required for security reasons. Please use SAPWD switch to supply the same. Refer to readme for more details. Setup will now exit."
So, I have been looking over the VBS file that the presentor instructed me to write, tried making changes, but have not been able to get the installation working. Below is what my VBS file states:
**************
Option Explicit
Sub SLUtilShellExec( strCmdLine )
Dim ObjShell
Set ObjShell=CreateObject("WScript.Shell"
ObjShell.Run strCmdLine, 0, True
Set ObjShell = Nothing
End Sub
SLUtilShell "net start MSSQL$VSDOTNET"
SLUtilShell "osql -S TESTER\VSDOTNET -E -i ""c:\MSDETest\SQLData\NorthwindInstall.sql"" "
End Sub
****************
!Note: the second SLUtilShell line is one length.
Any assistance to help me through the problem would be greatly appriciated!
Thank You
"A strong SA password is required for security reasons. Please use SAPWD switch to supply the same. Refer to readme for more details. Setup will now exit."
So, I have been looking over the VBS file that the presentor instructed me to write, tried making changes, but have not been able to get the installation working. Below is what my VBS file states:
**************
Option Explicit
Sub SLUtilShellExec( strCmdLine )
Dim ObjShell
Set ObjShell=CreateObject("WScript.Shell"

ObjShell.Run strCmdLine, 0, True
Set ObjShell = Nothing
End Sub
SLUtilShell "net start MSSQL$VSDOTNET"
SLUtilShell "osql -S TESTER\VSDOTNET -E -i ""c:\MSDETest\SQLData\NorthwindInstall.sql"" "
End Sub
****************
!Note: the second SLUtilShell line is one length.
Any assistance to help me through the problem would be greatly appriciated!
Thank You