Ok. I've since moved past that error, but I'm still unable to view my site in a browser (using VS2005). I get the following error:
Server Error in '/ClubStarterKit.Web' Application.
A user instance was requested in the connection string but the server specified does not support this option.
Changed database context to 'master'.
Changed language setting to us_english.
Description: An
unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the
error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException:
A user instance was requested in the connection string but the server
specified does not support this option.
Changed database context to 'master'.
Changed language setting to us_english.
Source Error:
Line 9: Public Shared Sub PushToSession() Line 10: If Current.Session.Item("SettingsSet") Is Nothing Or CBool(Current.Session.Item("SettingsSet")) = False Then Line 11: Dim ws As New WebSettings(WebSettings.Columns.Id, 1) Line 12: Line 13: If ws.IsLoaded = True Then
|
Source File: C:\Documents and Settings\All Users\Documents\Web Projects\ClubStarterKit\ClubStarterKit.Web\App_Code\BLL\Settings.vb Line: 11
I've tried every trick I know with the connection string, namely:
connectionString="Data Source=.;Integrated Security=true;AttachDBFileName=D:\Web Projects\ClubStarterKit\ClubStarterKit.Web\App_Data\FTMLoungeDB.mdf;User Instance=True"
providerName="System.Data.SqlClient"/>
(I tried changing the path for "AttachDBFileName" to the actual path that the .mdf file is located in, but I still get errors indicating that there's a problem with this path).
I'm not sure what else to try. Does anyone have any suggestions?
Dre
================================
That which does not kill me makes me stronger
A. Stevens
Graduate, SetFocus .NET Masters Program
B.S., Computer Science