sequence contains no elements

Oct 1, 2008 at 12:04 PM
white running my application im getting error "sequence contains no elements " why it is so plz suggest the solution ??

Oct 1, 2008 at 10:28 PM
same thing happened to me, I found a few solutions online
1. just clear your cache and shut down your IE (if your using IE) it may just be a wrong session ID that is being stored.
2. you may need to install/reinstall ASP.NET 3.5 from microsoft the libraries may not be installed properly.
3. make sure your connection string is correct. if you are deploying it

<

 

connectionStrings>

 

<

 

add name="DashboardConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\dropthings.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/>

 

</

 

connectionStrings>

 

Oct 15, 2008 at 11:32 AM
I had the same error in IE, but when I switched to FF it loaded fine - so i think item #1 is the answer - it's probably because we have multiple builds and sessions going on, a "normal" user probably wouldn't experience this :)