Categories
ASP.NET

HtmlMeta Class

private void AddMetaRefresh() { HtmlMeta metaValue = null; metaValue = new HtmlMeta(); metaValue.Attributes.Add(“http-equiv”, “refresh”); metaValue.Attributes.Add(“content”, Settings.AutoRefreshInterval.ToString()); this.Page.Header.Controls.Add(metaValue); }

Categories
MySQL

Connecting to MySQL :: MySQL Query Browser :: MySQL error number 1130

Problem: Couldn’t connect to MySQL on TGIIS from TGSQL Solution: Try this command (after logging into mysql with root) GRANT ALL PRIVILEGES ON *.* TO ‘myaccount’@’%’ IDENTIFIED BY ‘some_pass’ WITH GRANT OPTION; where myaccount is any new account you want to create. Note the hostname is ‘%’ which gives blanket permission to allow logging in […]

Categories
ASP.NET

App_GlobalResources maps to a directory outside this application, which is not supported.

Problem I’ve created a very simple ASP.NET 2.0 application. I can run this with no problems using the Built-in Web Server. However, if I publish it and try running the application by typing http://localhost/talentdata/default.aspx directly in the browser window, I get the following error: Server Error in ‘/talentdata’ Application. The path ‘/talentdata/App_GlobalResources’ maps to a […]