T
thersitz
Hi,
I have VStudio2005, SQLServer 2005 dev edition loaded on a windowsXP Pro
machine.
I installed it ok. I just attempted to load the Personal Web Site Starter
Kit (I downloaded off Microsoft's site) to use with VStudio 2005 --
Installing it from the MS site failed without any error messages. When I
used VSTudio to open, it loaded ok, but when I went to view the
default.aspx page I got this error:
-----------------
An error has occurred while establishing a connection to the server. When
connecting to SQL Server 2005, this failure may be caused by the fact that
under the default settings SQL Server does not allow remote connections.
(provider: SQL Network Interfaces, error: 26 - Error Locating
Server/Instance Specified)
------------------
So I tried to attach the database itself to my SQL 2005 instance and
received this error:
------------------
Attach database failed for Server 'XXXXXXX'. (Microsoft.SqlServer.Smo)
Additional Information
An exception occurred while executing a Transact-SQL statement or batch.
(Microsoft.SqlServer.ConnectionInfo)
CREATE FILE encountered operating system error 123(The filename, directory
name or volume label syntax is incorrect.) while attempting to open or
create the physical file 'C:\Documents and Settings\thisUser\My
Documents\Visual Studio 2005\WebSites\WebSite1\App_Data\D:\Documents and
Settings\JKING\My Documents\Visual Studio
2005\WebSites\WebSite1\App_Data\Personal.MDF_log.LDF'. Could not open new
database 'D:\Documents and Settings\JKING\My Documents\Visual Studio
2005\WebSites\WebSite1\App_Data\Personal.MDF'. CREATE DATABASE is aborted.
File activation failure. The physical file name D:\Documents and
Settings\jking\My Documents\Visual Studio
2005\WebSites\WebSite1\App_Data\Personal+log.LDF" may be incorrect.
(Microsoft SQL Server, Error:5123)
--------------------------------
I don't have a clue who JKING is and my D: drive is my dvd drive.
I googled error 5123 and found this page:
http://support.microsoft.com/kb/836873 -- and began the workaround section
titled : Use SQL Server Enterprise Manager. I located the property sheet in
my SQL 2005 Server Management Studio for the default location of the db and
logs -- those fields were empty. I did not change as of yet -- because I
would like a little clarity on what is going on before I proceed.
Can anyone illuminate why I am getting these errors? Why attaching a db
errors because of a JKING user that does not even exist? Why the property
sheet on my SQL 2005 install has no default db and log entries?
thanks
I have VStudio2005, SQLServer 2005 dev edition loaded on a windowsXP Pro
machine.
I installed it ok. I just attempted to load the Personal Web Site Starter
Kit (I downloaded off Microsoft's site) to use with VStudio 2005 --
Installing it from the MS site failed without any error messages. When I
used VSTudio to open, it loaded ok, but when I went to view the
default.aspx page I got this error:
-----------------
An error has occurred while establishing a connection to the server. When
connecting to SQL Server 2005, this failure may be caused by the fact that
under the default settings SQL Server does not allow remote connections.
(provider: SQL Network Interfaces, error: 26 - Error Locating
Server/Instance Specified)
------------------
So I tried to attach the database itself to my SQL 2005 instance and
received this error:
------------------
Attach database failed for Server 'XXXXXXX'. (Microsoft.SqlServer.Smo)
Additional Information
An exception occurred while executing a Transact-SQL statement or batch.
(Microsoft.SqlServer.ConnectionInfo)
CREATE FILE encountered operating system error 123(The filename, directory
name or volume label syntax is incorrect.) while attempting to open or
create the physical file 'C:\Documents and Settings\thisUser\My
Documents\Visual Studio 2005\WebSites\WebSite1\App_Data\D:\Documents and
Settings\JKING\My Documents\Visual Studio
2005\WebSites\WebSite1\App_Data\Personal.MDF_log.LDF'. Could not open new
database 'D:\Documents and Settings\JKING\My Documents\Visual Studio
2005\WebSites\WebSite1\App_Data\Personal.MDF'. CREATE DATABASE is aborted.
File activation failure. The physical file name D:\Documents and
Settings\jking\My Documents\Visual Studio
2005\WebSites\WebSite1\App_Data\Personal+log.LDF" may be incorrect.
(Microsoft SQL Server, Error:5123)
--------------------------------
I don't have a clue who JKING is and my D: drive is my dvd drive.
I googled error 5123 and found this page:
http://support.microsoft.com/kb/836873 -- and began the workaround section
titled : Use SQL Server Enterprise Manager. I located the property sheet in
my SQL 2005 Server Management Studio for the default location of the db and
logs -- those fields were empty. I did not change as of yet -- because I
would like a little clarity on what is going on before I proceed.
Can anyone illuminate why I am getting these errors? Why attaching a db
errors because of a JKING user that does not even exist? Why the property
sheet on my SQL 2005 install has no default db and log entries?
thanks