Thursday, 27 March 2008

ASP Tutorials - VBScript and ASP Applications

Although many of us are now looking towards .NET technologies there is still worth in Classic ASP and Classic based VB applications. Moving forward in the industry using .NET technologies makes sense but unfortunately it hasn't been around forever and there is still alot of CLassic ASP applications out there and Classic VB applications. The worth of VBScript for simple server side manipulation of file structures and Application manipulation are still apparent and in use today.

Over the years in Senior developer positions and Network Operations often working within architecture planning and implementations i have often hit walls that i have managed to overcome using VBScript and good old Command line hooks. Working for companies that were modelled around SAAS (Software as a service) the need for hardware and cluster management was apparent. Using VBScript to manipulate permissions to lock down possible exploits came in very handy, also using VBScript for provisioning of services and automated tasks simplified alot of the hard manual labour, even virus scanning and network packet monitoring using VB had its uses.

Still it all sounds good but it sounds old hat and why would you want to do that?Well..... still some of the largest suppliers within the UK of ecommerce use the legacy VBScript automation written by our systems staff and its proven as easy to maintain and easy to upgrade. Server provisioning is done completey within scheduled VB hooks using CLI shells to automate tasks. Of course we cant mention names but its safe to say that one example is the largest UK based hosted ecommerce provider and before you think it its not Actinic its bigger! Another being logistics management systems and payment gateways.

So give me some examples if its so good i hear you cry....Ok... lets take a hypothetical situation. Lets say i have 2 servers, i want to mirror the entire file structure by mapping a drive copying the entire contents, oh and lets not forget i don't want to set the permissions manually as its used for a webservice, But to be more secure i want to map the drive, copy, then drop the connection. Lets look at an example and then i will explain.

' Section A
strDriveLetter = "Z:"
strRemotePath = \\SLAVESERVER\d$
strUser = "atempadmin"strPassword = "password"strProfile = "false"

' Section B
set objShell = wscript.createObject("wscript.shell")
Set objNetwork = WScript.CreateObject("WScript.Network") objNetwork.MapNetworkDrive strDriveLetter, strRemotePath, _strProfile, strUser, strPassword
path1 = "D:\"
path2 = "Z:\"

' Section C
set fso = CreateObject("Scripting.FileSystemObject")
set tfile = fso.CreateTextFile(path1 & "\lastdone.txt")
tfile.WriteLine(now())

' Section D
iReturn = objShell.Run("cmd.exe /C xcopy " & path1 & " " & path2 & " /e /Y /F /O /EXCLUDE:D:\web\serverside\MyExcludes.txt", 1, TRUE)
iReturn = objShell.Run("cmd.exe /C xcopy " & path2 & " " & path1 & " /e /Y /F /O /EXCLUDE:D:\web\serverside\MyExcludes.txt", 1, FALSE)



Okay so what does it do?
The above script would be run on the server to be mirrored. I have split the script into sections A through D and i will explain each section and what is does. IN this eaxmple xcopy was used as its a stock tools supplied by any version of DOS, its a powerful tool and has the ability to copy ACL infomation saving the use of other CMD tools such as CACLS. So section A this holds the authentication information required to open a mapped drive using the WScript.Network method.

Section B, well this actually maps the drive using the details in section A. Also it sets up the shell object to run the CLI for the xcopy coming later in the script. When the script executes it will execute using a user that is the member of the system group, this will allow pretty much any CLI command to execute without permission issues. Also i have used this section to define the two paths, in this case the two drive letters.

Section C, I wanted to be able to create a simple 1 line log saying when the last sync occured so this section basically creates a filesystem object and writes a line with a date/time. I can then recall this later if i wanted with an ASP file etc to pull back the value contained.

Finally Section D, this copies everything, however you will see 2 xcopy commands, this copies everything from the master to the slave, then it copies back incase theres anything new on the slave so that it is held on the master. As the initial copy goes master to slave then anything that has been updated on the slave that should not have been will simply be overwritten. Xcopy is a great command and well worth looking up. Theres also an excludes files that tells xcopy to ignore certain files.

So theres one example, when we develop an application its not just about writing a system that does a job. We write systems that you can move from one system to another but also systems that get the most out of the enviroment that they are hosted or managed on. Why have a system and a systems administrator. It makes more sense to have a system that manages itself as much as possible. Information on
systems development can be found at www.angel-media.net

Mailshot 25/02/2008 : New Look Angel Media Systems


New look, new services.....

Angel media has undergone a face lift to celebrate its first year and to reflect its new growing look. Also as part of this first aniversary we have reshaped and refined our services.

Our hosting packages are still some of the lowest priced packages in the UK for Windows Hosting and Fully Managed Windows dedicated servers. Visitors can benefit from a FREE keyword ranking analysis and ongoing Rank reporting services with any Angel Media Systems account.

So whats new with Angel Media Systems

  • Streamlined Account Management, Pay invoices easily online.
  • Streamlined Technical Control Panel, Control all your services instantly online.
  • Improved Keyword Analysis Tools, Site authentication makes sure your competitors don't analyse your site!
  • Improved Support Channels, Live Assistant added and Skype support.
  • Microsoft Focused Services, Microsoft Partners and Certified.

Come along to http://www.angel-media.net/ to find out more about our hosting services and analysis services.

The full HTML email can be seen at http://www.angel-media.net/HTML/7.html

Or accessable via the sitemap at http://www.angel-media.net/sitemap.asp

Mail Shot 25/03/2008 : Still amonst the cheapest for Business .....

Angel Media Systems offer a range of hosting packages to suit your choice and business needs. The packages available don't just cover a small business needs they allow the flexibility to gow as your needs do. The extensive business hosting packages are not only feature rich but are also easily affordable to all businesses. Benefit from our experience offering business hosting packages to small and large businesses alike.

Most businesses now have a strong online presence, as a result many use PPC or paid submissions and therefore need safe reliable hosting and guarantees of service. Angel Media Systems delivers in both of these by offering a full SLA guaranting a 99% uptime or a refund. Being one of the UK’s most cost effective business hosting providers we enable you to grow your business with minimal risk and investment. This means you will be at a benefiting end and your business will prosper.

We aim to offer a solution to SME and Large Businesses enabling growth and success through little investment. Business hosting package includes:

  • 30 POP mailboxes allowing full forwarding and MRA (Multiple Routing Addresses).
  • Windows Shared Hosting with 750mb web space.
  • Unlimited Bandwidth.
  • Control Panel access with web statistics, so you can see how your website id perfoming, also logfile access.
  • 1 MySQL database
  • ODBC support
  • Perl Scripting Support
  • PHP 5 Scripting Support
  • ASP Scripting Support
  • ASP.NET 2.0 Scripting Support
  • Webmail Access
All these features can be expanded should more be needed at a pay per item bases.

In addition to the above, Angel Media Systems also incorporates a full backup regime of all yoru important files. Our servers are tuned to allow the best service available to your website and all MS SQL and MySQL database engines are tuned to allow a seemless uninterupted service. Our backup of our business hosting packages also incorporate a database backup and off site backup of your files and data.

Whether it be reliable business hosting or dedicated server hosting then Angel Media Systems is the best place. As we offer all these features in an affordable way.



This full HTML email can be seen at http://www.angel-media.net/HTML/9.html
Also all other HTML mails sent on our newsletters can be found at http://www.angel-media.net/sitemap.asp

Tuesday, 18 March 2008

Business Class Dedicated Servers

Are you not getting the performance that you thought you would from a shared hosting package? Then maybe it's time to go for dedicated server hosting. With a dedicated server you don't share your resources with anyone else. The server is solely used by you making performance better and more secure.

Dedicated server hosting usually ensures that all the server resources such as processing power, disk space and memory is entirely devoted to your application which can often improve performance for websites that require more resources such as complex systems or high stress systems. Also with a dedicated server you can tailor the hardware to fit your needs givinh you greater control over your systems.

Moreover dedicated server hosting is also an ideal and economical choice if you require larger disk space or larger package capacity than our shared hosting plans or plan to resell space on the appliance. With root access and a free rein to configure the server thsi entitles you to expand at your own rate. We also offer fully managed dedciated servers so you dont need to worry about the configuration.

Very few know that a dedicated server could also be a computer that manages printer resources. However, not all servers are dedicated as in some networks, it is possible for a computer to act as a server and perform other functions as well. Furthermore, dedicated server hosting is typically a rented service. In this the user rents the server, software and an internet connection from the web host, keeping cost low and minimising comittment..

Angel Media System ’s dedicated server hosting give businesses the ultimate in choice and performance, also reliability as a result of being backed by giants Pipex.

Furthermore, Angel Media Systems provides standard, together with full management service including patching and backup up to application level, servers are hardware mirrored so in case of a disaster recovery situation we can replace faulty hardware immediately, not like we expect fault but we always plan for the worst should it happen. Thus, we can say that having dedicated server hosting from Angel Media Systems is the wise and safe choice. Dedicated server hosting includes:

  • 100GB web space
  • Unlimited bandwidth traffic
  • Hi spec Dell servers
  • 2 Static IP addresses
  • Enterprise level fire walling
  • DDOS protection
  • Mirrored Hardware
  • Windows 2003 Server Web edition
  • MS SQL 2000 server install optional
  • MySQL server install optional
  • PHP and ActivPerl installed

For more information on dedicated server hosting and shared windows hosting please visit http://www.angel-media.net/

Dedicated Servers

Unhappy with the level of service provided by your current hosting company and looking for a better option; then Angel Media Systems is the answer. Angel Media Systems provides dedicated server hosting which gives your business a cutting edge and is highly reliable. Their dedicated hosting is performance based and has set high standards in the hosting field. Also Angel Medias network is backed by giants Pipex.

Angel Media System's hosting dedicated services are all powered by state of the art Dell hardware and Windows Server 2003 and Windows Server 2003 64 Bit Edition. It is the one stop shop for all your dedicated server hosting needs, this makes sure that you get most approporiate hosting services for your business requirements in an affordable manner. The main highlight of Angel Media Systems is that it operates in a highly secured and redundant hosting network with mirrored hardware.

The Angel Media Systems network is fully mirrored with hot spare chassis ready to swap out in the event of hardware failure. This ultimately ensures that your hosting applications are fully optimised and operate non-stop around the clock.

Angel Media Systems ’s dedicated server hosting is accompanied with Dell poweredge servers as standard and RAID 5 configurations as standard. This means full management service including patching and backup up to application level. Whilst resilient hardware and reduntant PSU and APC ata hardware level.

In addition, Angel Media Systems offers full root access to any dedicated servers subject to SLA adjustments. Angel Media Systems ’s dedicated server hosting is equipped with features such as:

  • Unlimited bandwidth included

  • Hardware firewall included

  • Carrier Class Datasuite backed by Pipex

  • 2 Static IP addresses

  • Backed by an SLA

  • Windows 2003 Web Edition

  • DNS server included

  • FTP server included

  • MySQL included

  • SQL Server 2000 included

  • POP3, & SMTP included (Mailenable Install)

  • Daily Backup

  • Fully Managed and monitored

All these features are teamed with benefits such as:

  • Considerable reduction in your IT maintenance and support costs

  • Significant increase in the performance and availability of your web site application

  • A reduction in your business traveling costs

  • Reduce your business risks by outsourcing your IT service infrastructure to us

  • We are experts at running 24x7 systems and will help increase your reliability and scalability.

  • Experienced Microsoft Experts

Also for shared Hosting and DNS services including web and application development visit http://www.angel-media.net.


Monday, 17 March 2008

Business Hosting Packages

Angel Media Systems offer a range of hosting packages to suit your choice and business needs. The packages available don't just cover a small business needs they allow the flexibility to gow as your needs do. The extensive business hosting packages are not only feature rich but are also easily affordable to all businesses. Benefit from our experience offering business hosting packages to small and large businesses alike.

Most businesses now have a strong online presence, as a result many use PPC or paid submissions and therefore need safe reliable hosting and guarantees of service. Angel Media Systems delivers in both of these by offering a full SLA guaranting a 99% uptime or a refund. Being one of the UK’s most cost effective business hosting providers we enable you to grow your business with minimal risk and investment. This means you will be at a benefiting end and your business will prosper.

We aim to offer a solution to SME and Large Businesses enabling growth and success through little investment. Business hosting package includes:

  • 30 POP mailboxes allowing full forwarding and MRA (Multiple Routing Addresses).

  • Windows Shared Hosting with 750mb web space.

  • Unlimited Bandwidth.

  • Control Panel access with web statistics, so you can see how your website id perfoming, also logfile access.

  • 1 MySQL database

  • ODBC support

  • Perl Scripting Support

  • PHP Scripting Support

  • ASP SCripting Support

  • ASP.NET 2.0 Scripting Support

  • Webmail Access


All these features can be expanded shoudl more be needed at a pay per item bases.

In addition to the above, Angel Media Systems also incorporates a full backup regime of all yoru important files. Our servers are tuned to allow the best service available to your website and all MS SQL and MySQL database engines are tuned to allow a seemless uninterupted service. Our backup of our business hosting packages also incorporate a database backup and off site backup of your files and data.

Whether it be reliable business hosting or dedicated server hosting then Angel Media Systems is the best place. As we offer all these features in an affordable way.

Shared Windows Hosting

Are you looking to have a shared Windows hosting package from a hosting company that provides solid trouble free hosting? Angel Media Systems has years of experience catering for SME to Large business needs. We deliver high quality shared hotsing and affordable services to host business websites in a secure and reliable environment.

Cost efficient shared hosting solutions by Angel Media Systems are delivered with a whole host of features designed to benefit the business user. Below are just some of our many features available with a shared windows hosting account from Angel Media.

  • Latest ASP.Net environment.

  • High Perfoamnce Microsoft SQL Server 2005 and Frontpage if required.

  • Easy to use purpose built control panel for administration.

  • Unlimited bandwidth per month.

  • From 500mb to 1gb hosting packages.

  • Top spec Windows 2003 Mirrored Servers.

  • Web site backup.

  • FTP or Frontpage site access.

  • DNS, Database and email control.

  • PHP scripting Access.

  • Perl Scripting Access.

  • XML based API - easy integration.

  • Optional Comtent management systems.

  • Web site reporting tools and logfile access.

  • Optional MS SQL Databases

  • MySQL Databases


Angel Media's shared hosting can be divided into three types of hosting. These are Windows Starter, Windows Business Hosting accounts and Developer level Windows shared hosting accounts. You can select your type of hosting at the time of signup and you can upgrade your hosting at any time without moving your site or mail. Although Angel Media shared windows hosting packages contain many features and control options these can be purchased at very competitive prices, starting from just £4.99 per month with free setup.

Choosing shared hosting services from Angel Media Systems means you are choosing a flexible that supports ASP, PHP and Perl for your websites and offer MS SQL database hosting and MySQL Database hosting. As well as all this we also offer a purpose built control panel for Windows configuration changes and network backed ny giants Pipex.

Customer service is important to us and we deal with every request personally and you can always talk to a customer service advisor in the UK. All customer and technical staff have full access to all hardware ensuring that problems can be resolved immediately during your call. We dont believe in making you work, we are here to offer a service http://angel-media.net.

Website Design and Development Commissions

The developers and webdesigners of Angel Media Systems have developed many bespoke solutions for small to medium enterprises over the many of operation. Also colaboration on Payment integration and third party API development integration has been comissioned through Angel Media Systems in the past. API development of Google Checkout for well known ecommerce systems have been amonst these comissions. We pride ourselves on the flexibility of our developments and the standards of our comissions and customer experince.

Most of our developments have been designed in PHP and ASP utilising database technologies such as MS SQL and MySQL. But it doesnt end there, we have been comissioned to develop custom CRM systems and Server cluster automation for both Linux based architecture and Windows based architecture. All our website design services and bespoke development comissions are individually costed by one of our experinced developers and marketting representitives.

To find out more about website design and bespoke application development solutions visit http://www.angel-media.net

Wondering how do i host my website even if Angel Media Systems designs the website, well for any comission if required we will cost in SEO submission and hosting, this will be on a standard Business Hosting Package, so what else will you get when you recieve your costed hosting package,


  • Latest ASP.Net environment.

  • High Perfoamnce Microsoft SQL Server 2005 and Frontpage if required.

  • Easy to use purpose built control panel for administration.

  • Unlimited bandwidth per month.

  • From 500mb to 1gb hosting packages.

  • Top spec Windows 2003 Mirrored Servers.

  • Web site backup.

  • FTP or Frontpage site access.

  • DNS, Database and email control.

  • PHP scripting Access.

  • Perl Scripting Access.

  • XML based API - easy integration.

  • Optional Comtent management systems.

  • Web site reporting tools and logfile access.

  • Optional MS SQL Databases
  • MySQL Databases