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
22. March 2010 23:07
ds.Tables[0].Columns[0].ColumnName = "ColumnName";
by Evgelen
22. March 2010 06:18
In order to create SQL Database Schema for Microsoft membership provider you need to Open Visual Studio Command Prompt and type aspnet_regsql command (as you can see below)

by Evgelen
13. February 2010 18:17
const string stringName = "keyword1, keyword2, keyword3";
string[] arrayName = stringName.Split(',');
var ds = new DataSet();
var dt = new DataTable("Table_Name");
ds.Tables.Add(dt);
var dc = new DataColumn("Column_Name");
dt.Columns.Add(dc);
for (var i = 0; i <= arrayName.Length - 1; i++)
{
var dr = dt.NewRow();
dr["Column_Name"] = keyw[i];
dt.Rows.Add(dr);
}
controlName.DataSource = ds;
controlName.DataBind();
by Evgelen
14. January 2010 22:00

Error: Debugging Failed Because Integrated Windows Authentication Is Not Enabled
Authentication of the user requesting debugging could not be done due to an authentication error when attempting to step into a Web application or XML Web service. One cause of this error is that integrated Windows authentication is not enabled. To enable it, perform the following steps. If you have enabled integrated Windows authentication and this error still appears, then it is possible that this error is caused because Digest Authentication for Windows Domain Servers is enabled. In this situation you should consult with your network administrator. To enable integrated Windows authentication
- Log onto the Web server using an administrator account.
- On the Start menu, click Administrative Tools Control Panel.
- In the Administrative Tools window, double-click Internet Information Services.
- In the Internet Information Services window, open the Web server node. A Web Sites folder opens beneath the server name.
- You can configure authentication for all Web sites or for individual Web sites. To configure authentication for all Web sites, right-click the Web Sites folder and click Properties on the shortcut menu. To configure authentication for an individual Web site, open the Web Sites folder, right-click the individual Web site, and on the shortcut menu, click Properties.
- In the Properties dialog box, click the Directory Security tab.
- In the Anonymous access and authentication control section, click the Edit button.
- In the Authentication Methods dialog box, under Authenticated access, select Integrated Windows authentication.
- Click OK to close the Authentication Methods dialog box.
- Click OK to close the Properties dialog box.
- Close the Internet Information Services window.