by Evgelen
16. July 2010 04:45
Debugging Classic Asp Visual Studio 2008 crashes when you stop debugging or detach all. so in order to fix it you need to download and install a hot fix from Microsoft. Here is url where you can get it
http://code.msdn.microsoft.com/KB967631/Release/ProjectReleases.aspx?ReleaseId=2385
by Evgelen
16. July 2010 03:57
Hi just recently I got a new laptop with Windows 7 and IIS 7 installed. So I was needed to move my project .
As you can imagine not everything was working properly, basically I couldn't run my web application, forgot to mention I'm still using Classic ASP (VB Script).
Here are the steps I have done to make it work
Click Start - > Control Panel - > Programs and Features - > Turn Windows features on or off 1. Install IIS and almost all components (See screenshot below)
2. Second because I'm using HTTPS (secure layer) I was needed select certificates in IIS. In IIS 7 it's more easy then it was in IIS 6 or previous versions First you need to add SSL certificat Windows Key + R type inetmgr or Start and type in search inetmgr Select server in right window double click "Server Certificates"
Click create Self-Signed Certificate, type any name and save it. Now you need to associate SSL certificate you just created with your web application Right click web site
in IIS - > Edit bindings - > Add site bindings -> https and select new certificate
Here are the settings you need to set for using Classic ASP Run Internet Information Services (IIS) Manager under Control Panel\System and Maintenance\Administrative Tools Double click on the ASP icon Under Behaviour Set Enable Parent Paths to True (so as not to change existing ASP code) Under Debugging Properties Set Errors To Browser to True Save changes
That's should be it. 
by Evgelen
15. June 2010 00:49

The reason why you get this error because of Entity Model wasn't properly updated. The column type in SQL database doesn't match column type in Entity Model.
Example:
SQL Database column type - smallint
Entity Model column type - byte
Solution: Open entity model. Find table in Model Browser(under entity types), Right click show in Designer. Select column, F4 (properties windows) change column type and rebuild
by Evgelen
5. May 2010 00:47
Using Union with Linq
StringBuilder sbQuery = new StringBuilder();
var query = (
from c in dcNwind.Customers
join s in dcNwind.Suppliers on c.City equals s.City
select new { c.City, c.CompanyName, Type = “Customer” })
.Union(
from c in dcNwind.Customers
join s in dcNwind.Suppliers on c.City equals s.City
select new { s.City, s.CompanyName, Type = “Supplier” });
foreach (var u in query)
{
sbQuery.Append(u.City + “\t” + u.CompanyName + “\t” +
u.Type + “/r/n”);
}
// Write to the text box
txtResult.Text = sbQuery.ToString();
9bbbd8fe-c86a-411b-8337-7cb70cb7f359|0|.0
Tags: linq
LINQ
by Evgelen
16. April 2010 23:42
PAUSE7 – 30% Off a .COM Most popular.
MIN1 – 10% off any order
MIN15 – 15% off any order
MIN2 – $5 off any order $30 or more
MINOFF – $10 off any order $40 or more
MIN20 – 20% off hosting plans of 1yr or more
MIN1 – 10% off month to month hosting
AUCTION12 – 50% off godaddy auction account
MINSSL – 56% off godaddy ssl account ($30 account for $12.99)