NOTE: This article is written for our Classic Cloud Cloud Control Panel. You can access this interface from the New Cloud Control Panel by clicking your username in the upper-right of the control panel and selecting "Classic Cloud Control Panel".
Pre-reqs
Procedure
NOTE: The domain must have .Net and Asp technology Feature enabled. This can be verified and changed if necessary in the Features tab of the domain as shown below.


1. First_asp_page.asp - This is a simple ASP page
<html>
<head>
<title>My First ASP Page</title>
</head>
<body bgcolor="white" text="black">
<%
'Dimension variables
Dim strMessage
strMessage = "Hello World"
Response.Write (strMessage)
Response.Write ("
")
Response.Write ("The time on the server is: " & Time())
%>
</body>
</html>
2. web.config - This is the configuration file. Fill in your username and password to allow impersonation. Refer to MSDN for more information
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<identity impersonate="true" userName="dfw\YOURNAME" password="YOURPASSWORD" />
</system.web>
</configuration>

Additional Resources
-- RKN - 12/6/2009
© 2011-2013 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License

0 Comments
Add new comment