<?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 : login fails after clickonce deployment</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : login fails after clickonce deployment</description>
  <pubDate>Thu, 11 Jun 2026 04:49:14 -700</pubDate>
  <lastBuildDate>Wed, 23 Apr 2008 05:30:02 -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=775</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>login fails after clickonce deployment : Thank you,I was missing a dll,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=775&amp;PID=2867#2867</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=306" rel="nofollow">diego</a><br /><strong>Subject:</strong> 775<br /><strong>Posted:</strong> 23-Apr-2008 at 5:30am<br /><br />Thank you,<br>I was missing a dll, the error didn't show anything related to that missing file so it took longer to discover,<br>thanks <br>diego<br>]]>
   </description>
   <pubDate>Wed, 23 Apr 2008 05:30:02 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=775&amp;PID=2867#2867</guid>
  </item> 
  <item>
   <title>login fails after clickonce deployment : One of the most common reasons...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=775&amp;PID=2864#2864</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> 775<br /><strong>Posted:</strong> 22-Apr-2008 at 2:10pm<br /><br />One of the most common reasons that an application will run successfully on a development environment, but will fail when deployed to another machine is that the deployment is missing some file presnt on the development machine, but missing on the system where the app has been deployed.<DIV>&nbsp;</DIV><DIV>Install the same version of DevForce on the failing machine is on the development machine and see if that makes a difference.</DIV><DIV>&nbsp;</DIV><DIV>If that doesn't work, please send to <a href="mailto:support@ideablade.com" target="_blank">support@ideablade.com</A>:</DIV><DIV>&nbsp;</DIV><DIV>(1)&nbsp;&nbsp;A reproducible case of the problem (Best)</DIV><DIV>(2)&nbsp; As much Detail as possible about the exception concerning the bad cast</DIV><DIV>(3)&nbsp; Source code for Model.AppIdentity</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 22 Apr 2008 14:10:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=775&amp;PID=2864#2864</guid>
  </item> 
  <item>
   <title>login fails after clickonce deployment : Hello, I have an aplication that...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=775&amp;PID=2850#2850</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=306" rel="nofollow">diego</a><br /><strong>Subject:</strong> 775<br /><strong>Posted:</strong> 18-Apr-2008 at 2:14pm<br /><br />Hello, I have an aplication that locally runs ok, when I publish to use clickonce it seems to work but I get an error when login&nbsp; in that says <span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;;">it cannot cast <span style="">&nbsp;</span>System.Security.Principal.GenericIdentity' tothe type 'Model.AppIdentity'<br>On this method<br></span><p ="Ms&#111;normal" style=""><span style=": white n&#111;ne repeat scroll 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue; -moz--clip: -moz-initial; -moz--origin: -moz-initial; -moz--inline-policy: -moz-initial;">private</span><span style=": white n&#111;ne repeat scroll 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; -moz--clip: -moz-initial; -moz--origin: -moz-initial; -moz--inline-policy: -moz-initial;"> <span style="color: blue;">void</span> SetLoggedInUser(<span style="color: rgb(43, 145, 175);">PersistenceManager</span> pManager,IdeaBlade.Persistence.<span style="color: rgb(43, 145, 175);">SessionBundle</span>pSessionBundle)<o:p></o:p></span></p><p ="Ms&#111;normal" style=""><span style=": white n&#111;ne repeat scroll 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; -moz--clip: -moz-initial; -moz--origin: -moz-initial; -moz--inline-policy: -moz-initial;">{<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=": white n&#111;ne repeat scroll 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; -moz--clip: -moz-initial; -moz--origin: -moz-initial; -moz--inline-policy: -moz-initial;"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(43, 145, 175);">AppIdentity</span> identity = (<span style="color: rgb(43, 145, 175);">AppIdentity</span>)pSessionBundle.Principal.Identity;</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><o:p></o:p></span></p><p ="Ms&#111;normal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>.<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>.<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>.<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">}</span><o:p></o:p></p>Where AppIdentity is an implementation of IIdentity adding 2 values. This cast works ok when running locally on the development machine, but if I publish I get that error. (Security is enabled for ClickOnce as a fully trusted application)<br>Is there any other configuration needed? <br>Thank you<br>Diego<br>]]>
   </description>
   <pubDate>Fri, 18 Apr 2008 14:14:18 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=775&amp;PID=2850#2850</guid>
  </item> 
 </channel>
</rss>