<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Getting Started (Cabana SQL Server Login Issue)</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Getting Started (Cabana SQL Server Login Issue)</description>
  <pubDate>Thu, 11 Jun 2026 12:22:16 -700</pubDate>
  <lastBuildDate>Fri, 14 Dec 2007 15:56:33 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=592</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Getting Started (Cabana SQL Server Login Issue) : Hi Ray,  The default implementation...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2223#2223</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 592<br /><strong>Posted:</strong> 14-Dec-2007 at 3:56pm<br /><br />Hi Ray,<DIV>&nbsp;</DIV><DIV>The default implementation (in Cabana and applications created with the Application Wizard) uses windows authentication.&nbsp; It doesn't prompt for a username/password on the client side and passes a null username in the credentials.&nbsp; This causes the LoginManager to attempt to authenticate the current windows Id (HSDOMAIN1\Ray).</DIV><DIV>&nbsp;</DIV><DIV>In DEBUG mode, the UserLoginFilter() method translates special users (me and Ward) to specific user ids (we use this for demo purposes) and everything else to "guest".</DIV><DIV>&nbsp;</DIV><DIV>"guest" is supposed to be an authorized user in the IdeaBlade Tutorial database.&nbsp; You can use SQL Server Enterprise Manager or Management Studio to check that the SecurityUser table exists and that it contains a row for the "guest" user.</DIV><DIV>&nbsp;</DIV><DIV>See my response to Gus in this thread:</DIV><DIV>&nbsp;</DIV><DIV><a href="http://www.ideablade.com/forum/forum_posts.asp?TID=596" target="_blank">http://www.ideablade.com/forum/forum_posts.asp?TID=596</A></DIV><DIV>&nbsp;</DIV><DIV>for an overview of the user login, authentication and authorization process.</DIV><DIV>&nbsp;</DIV><DIV>Let me know if you need more help.</DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>&nbsp;</DIV><DIV>Bill Jensen</DIV><DIV>IdeaBlade</DIV>]]>
   </description>
   <pubDate>Fri, 14 Dec 2007 15:56:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2223#2223</guid>
  </item> 
  <item>
   <title>Getting Started (Cabana SQL Server Login Issue) :  Originally posted by LinguinutLook...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2151#2151</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=204" rel="nofollow">rayn</a><br /><strong>Subject:</strong> 592<br /><strong>Posted:</strong> 10-Dec-2007 at 7:40am<br /><br /> <table width="99%"><tr><td class="BBquote"><strong><em>Originally posted by Linguinut</strong></em><br /><br />Look at the AppAuthenticationService (Foundation project).</td></tr></table> <br /><br />The routine <font color=blue>protected virtual ILoginCredential</font> was authenticating me...but it was passing empty strings into the call  <font color=blue>LoginCredential</font>.<br /><br />If I were planning to build an app that would authenticate on my domain, I could parse the values in <font color=green>wid.Name</font> to get the <strong>login name</strong> and <strong>domain</strong>...but what about that <strong>password</strong> variable?<br /><br /><br /><strong>NOTE:</strong>  My connection string ended up looking like this:<br /><font color=blue>&lt;connection&gt;Provider=</font><font color=red>SQLOLEDB.1</font><font color=blue>;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=IdeaBladeTutorial;Data Source=MyComputersHostName;User ID=sa;Password=theSaPassword&lt;/connection&gt;</font><br /><br /><br />I had to change the connection provider back to its original value.]]>
   </description>
   <pubDate>Mon, 10 Dec 2007 07:40:44 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2151#2151</guid>
  </item> 
  <item>
   <title>Getting Started (Cabana SQL Server Login Issue) : Look at the AppAuthenticationService...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2132#2132</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 592<br /><strong>Posted:</strong> 07-Dec-2007 at 12:57pm<br /><br />Look at the AppAuthenticationService (Foundation project).&nbsp; I remember that I had to change how the GetWindowsCredential (or some method similarly named)&nbsp;was handled.&nbsp; It was putting "guest" in there.&nbsp; <span style="font-size:10px"><br /><br />Edited by Linguinut - 07-Dec-2007 at 1:00pm</span>]]>
   </description>
   <pubDate>Fri, 07 Dec 2007 12:57:41 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2132#2132</guid>
  </item> 
  <item>
   <title>Getting Started (Cabana SQL Server Login Issue) : Tutorial database is installed...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2131#2131</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=204" rel="nofollow">rayn</a><br /><strong>Subject:</strong> 592<br /><strong>Posted:</strong> 07-Dec-2007 at 12:45pm<br /><br />Tutorial database is installed on the default instance.  I've tried the following connection strings:<br /><br /><font color=blue>&lt;connection&gt;Provider=System.Data.SqlClient;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=IdeaBladeTutorial;Data Source=</font><font color=red><strong>.</strong></font><font color=blue>;User ID=sa;Password=sapassword&lt;/connection&gt;</font><br /><br /><font color=blue>&lt;connection&gt;Provider=System.Data.SqlClient;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=IdeaBladeTutorial;Data Source=</font><font color=red>MyComputersHostName</font><font color=blue>;User ID=sa;Password=sapassword&lt;/connection&gt;</font><br /><br /><br /><br /><br />Same thing happens as before.  In the <font color=green>GetAppIdentity</font> routine in <strong>LoginManager.cs</strong>, <font color=blue>pCredential.UserName</font> comes in as empty string. It goes into <font color=green>UserLoginFilter</font>, does the switch statement on var <font color=blue>pUserLoginToFilter</font> (which is value <font color=blue>HSDOMAIN1\\Ray</font>) and returns <font color=blue>guest</font>.]]>
   </description>
   <pubDate>Fri, 07 Dec 2007 12:45:59 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2131#2131</guid>
  </item> 
  <item>
   <title>Getting Started (Cabana SQL Server Login Issue) : Change &amp;#034;localhost&amp;#034; to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2130#2130</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 592<br /><strong>Posted:</strong> 07-Dec-2007 at 12:21pm<br /><br />Change "localhost" to the server and instance name.&nbsp; I have successfully used the dot notation (".\INSTANCENAME")&nbsp;however it is not always consistent.&nbsp; For some reason, "localhost" has troubles with connections.]]>
   </description>
   <pubDate>Fri, 07 Dec 2007 12:21:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2130#2130</guid>
  </item> 
  <item>
   <title>Getting Started (Cabana SQL Server Login Issue) : Here is the new connection string...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2129#2129</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=204" rel="nofollow">rayn</a><br /><strong>Subject:</strong> 592<br /><strong>Posted:</strong> 07-Dec-2007 at 12:09pm<br /><br />Here is the new connection string I have  for <strong>IdeaBlade.ibconfig</strong> (items in <font color=red>red</font> represent new or changed values):<br /><br /><br /><font color=blue>&lt;connection&gt;Provider=</font><font color=red>System.Data.SqlClient</font><font color=blue>;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=IdeaBladeTutorial;Data Source=localhost;</font><font color=red>User ID=sa;Password=sapassword</font><font color=blue>&lt;/connection&gt;</font><span style="font-size:10px"><br /><br />Edited by rayn - 07-Dec-2007 at 12:10pm</span>]]>
   </description>
   <pubDate>Fri, 07 Dec 2007 12:09:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2129#2129</guid>
  </item> 
  <item>
   <title>Getting Started (Cabana SQL Server Login Issue) : Congratulations! It looks like...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2128#2128</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 592<br /><strong>Posted:</strong> 07-Dec-2007 at 11:48am<br /><br />Congratulations!&nbsp; It looks like you have solved the database part of your problem, we'll now have our Cabana expert look at your login problem.]]>
   </description>
   <pubDate>Fri, 07 Dec 2007 11:48:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2128#2128</guid>
  </item> 
  <item>
   <title>Getting Started (Cabana SQL Server Login Issue) : I did leave out one step.  Between...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2127#2127</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=204" rel="nofollow">rayn</a><br /><strong>Subject:</strong> 592<br /><strong>Posted:</strong> 07-Dec-2007 at 11:29am<br /><br />I did leave out one step.<br /><br />Between steps 9 and 10, I did manually attach the database, but still could not get it the Cabana project work.  I figured there was something more the DevForce installation was doing behind the scenes and, therefore, performed the uninstall.<br /><br />I got an error during the uninstallation about the database being in use and so I just stopped the SQL server service and let it continue.<br /><br />And I bet that was my problem.  I never detached the database.  I just stopped SQL Server and let the uninstallation delete the datbase from the HD.<br /><br />So, after uninstalling/reinstalling again, it looks like the installation was successful and the database attached successfully.<br /><br />However, I still cannot get the project to run.  It's failing to login.  In my project, I have opened the IdeaBlad.ibconfig file and added the sa login. <br /><br />However, the app keeps trying to log me in as "guest".<br /><br />Am I chaning the right file?  The project seems to ignore what I type.]]>
   </description>
   <pubDate>Fri, 07 Dec 2007 11:29:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2127#2127</guid>
  </item> 
  <item>
   <title>Getting Started (Cabana SQL Server Login Issue) : I suspect that the IdeaBlade Tutorial...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2125#2125</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 592<br /><strong>Posted:</strong> 07-Dec-2007 at 10:29am<br /><br />I suspect that the IdeaBlade Tutorial database is not actually empty.&nbsp; When you install DevForce when SQL Server is not running, it should leave the IdeaBladeTutorial MDF and LOG files in the <strong>Program Files/IdeaBlade DevForce</strong> directory.&nbsp; When you uninstalled DevForce the first time, that should have removed the IdeaBlade database files from your computer.&nbsp; Your reinstall should have worked just fine. <DIV>&nbsp;</DIV><DIV>What I think is most likely to have happened is that you had a partial installation of the database.&nbsp; The installation worked well enough that SQL Server sees that there is a database, but it can't see the underlying tables.&nbsp; I do see this problem very rarely.&nbsp;&nbsp;&nbsp; It is almost always some kind of database or database environment related issue.</DIV><DIV>&nbsp;</DIV><DIV><DIV>I believe that your problems are entirely database-related.&nbsp; Your problem has nothing to do with Cabana or DevForce.</DIV><DIV>&nbsp;</DIV></DIV><DIV>At this point, I would recommend any way that you can to get the IdeaBlade Tutorial database attached to your SQL Server 2005 SP 2.&nbsp; Bill may be right.&nbsp; Perhaps just dropping the table and reinstalling may do the trick.&nbsp; However, if that doesn't work, I would try manually attaching the database using SQL Server Management Studio.&nbsp; If you have a DBA, maybe he can help you.&nbsp; Otherwise, send me an email at <a href="mailto:support@ideablade.com" target="_blank">support@ideablade.com</A> or give a call to Technical Support at (510)-596-5100.</DIV><DIV>&nbsp;</DIV><span style="font-size:10px"><br /><br />Edited by davidklitzke - 07-Dec-2007 at 10:31am</span>]]>
   </description>
   <pubDate>Fri, 07 Dec 2007 10:29:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2125#2125</guid>
  </item> 
  <item>
   <title>Getting Started (Cabana SQL Server Login Issue) : You&amp;#039;ll probably need to drop...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2124#2124</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 592<br /><strong>Posted:</strong> 07-Dec-2007 at 9:41am<br /><br />You'll probably need to drop the empty database before reinstalling.&nbsp; <DIV>&nbsp;</DIV><DIV>After the reinstall, within the solution, open the ibConfig file&nbsp;and verify the database connection.&nbsp; Fix, as necessary.&nbsp; Rebuild, then run the app.</DIV>]]>
   </description>
   <pubDate>Fri, 07 Dec 2007 09:41:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2124#2124</guid>
  </item> 
  <item>
   <title>Getting Started (Cabana SQL Server Login Issue) : 1.  Installed (IdeaBlade.DevForce.3.5.5.1.setup.exe)...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2122#2122</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=204" rel="nofollow">rayn</a><br /><strong>Subject:</strong> 592<br /><strong>Posted:</strong> 07-Dec-2007 at 9:10am<br /><br />1.  Installed (<font color=blue>IdeaBlade.DevForce.3.5.5.1.setup.exe</font>) <br />2.  Unzipped <font color=blue>CabanaSampleApp</font><br />3.  Compiled <font color=blue>CabanaLib.sln</font><br />4.  Installed <font color=blue>IdeaBlade.Cab.WizardInstaller</font><br />5.  Opened <font color=blue>CabanaDotNetCS.sln</font><br />6.  Set shell as default project<br />7.  Ran App.<br />8.  got exception:  <font color=blue>IdeaBlade.Persistence.PersistenceServerException was unhandled by user code<br />  Message="&#091;DBNETLIB>&#091;ConnectionOpen (Connect()).>SQL Server does not exist or access denied.</font><br />9.  Realized SQL Server was <strong>not</strong> running locally when I installed DevForce(<font color=red>whoops!</font>)<br />10.  Complete Uninstall of <font color=blue> IdeaBlade.DevForce.3.5.5.1.setup.exe</font><br />11.  Started SQL Server<br />12.  Reinstalled <font color=blue> IdeaBlade.DevForce.3.5.5.1.setup.exe</font><br /><br />Still get exception when trying to run <font color=blue>CabanaDotNetCS.sln</font>.  Database does not show tables when I open it in Management Studio.  (see attached image).<br /><br />What can I do to fix this situation so I can run the sample app?<br /><br /><br /><img src="uploads/20071207_120926_IdeaBlade.JPG" border="0" />]]>
   </description>
   <pubDate>Fri, 07 Dec 2007 09:10:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=592&amp;PID=2122#2122</guid>
  </item> 
 </channel>
</rss>