LV
|
Posted: 09/28/2005, 11:18 AM |
|
I got this error message when published my site to my local IIS can someone tell me what I am doing wrong?
CCS V2.3.2.24
VB.NET
IIS V5.1
Framework 1.1
Thanks in advance.
====
<!--ASPX page @1-4524466E-->
<%@ Page language="vb" Codebehind="Login.aspx.vb" AutoEventWireup="false" Inherits="EmployeeDirectory.Login.LoginPage" %>
<%@ Import namespace="EmployeeDirectory.Login" %>
<%@ Import namespace="EmployeeDirectory.Configuration" %>
<%@Register TagPrefix="EmployeeDirectory" TagName="Header" Src="Header.ascx"%>
<%@Register TagPrefix="EmployeeDirectory" TagName="Footer" Src="Footer.ascx"%>
<%@Register TagPrefix="CC" Namespace="EmployeeDirectory.Controls" Assembly="EmployeeDirectory"%>
<html>
<head>
<title>Login</title>
<link rel="stylesheet" type="text/css" href="Themes/Sulfur/Style.css">
<script language="JavaScript" type="text/javascript">
//Begin CCS script
//End CCS script
</script>
</head>
<body background="Themes/Sulfur/Background.gif" link="#000000" vlink="#000000" alink="#ff0000" text="#000000" class="SulfurPageBODY">
<form runat="server">
<EmployeeDirectory:Header id="Header" runat="server"/> <br>
Note: Only authorized user can Add/Update the Employee Directory Information.<br>
Please contact Long Vu at (212) 837-0632 for more information. <br>
<span id="LoginHolder" runat="server">
<font class="SulfurFormHeaderFont">Login</font>
<table cellspacing="1" cellpadding="3" class="SulfurFormTABLE">
<asp:PlaceHolder id="LoginError" visible="False" runat="server">
<tr>
<td colspan="2" class="SulfurErrorDataTD"><asp:Label ID="LoginErrorLabel" runat="server"/></asp:Label></td>
</tr>
</asp:PlaceHolder>
<tr>
<td class="SulfurFieldCaptionTD">Login </td>
<td class="SulfurDataTD"><asp:TextBox id="Loginlogin" CssClass="SulfurInput" maxlength="100" runat="server"/> </td>
</tr>
<tr>
<td class="SulfurFieldCaptionTD">Password </td>
<td class="SulfurDataTD"><asp:TextBox id="Loginpassword" CssClass="SulfurInput" maxlength="100" TextMode="Password" runat="server"/> </td>
</tr>
<tr>
<td colspan="2" align="right" nowrap class="SulfurFooterTD">
<input name="{Button_Name}" type="submit" value="Login" class="SulfurButton" id='LoginButton_DoLogin' OnServerClick="Login_Button_DoLogin" runat="server"/> </td>
</tr>
</table>
</span>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<EmployeeDirectory:Footer id="Footer" runat="server"/>
</form>
</body>
<SCRIPT LANGUAGE="JavaScript1.2">
<!--//
//Circling text trail
// your message here
var msg='Employee * Directory * ';
var font='Verdana,Arial';
var size=3; // up to seven, this determine the size of the the circle
var color='#000000';
// This is not the rotation speed, its the reaction speed, keep low!
// Set this to 1 for just plain rotation w/out drag
var speed=.5;
// This is the rotation speed, set it negative if you want
// it to spin clockwise
var rotation=.1;
// Alter no variables past here!, unless you are good
//---------------------------------------------------
var ns=(document.layers);
var ie=(document.all);
var msg=msg.split('');
var n=msg.length;
var a=size*15;
var currStep=0;
var ymouse=0;
var xmouse=0;
var scrll=0;
var props="<font face="+font+" size="+size+" color="+color+">";
if (ie)
window.pageYOffset=0
// writes the message
if (ns){
for (i=0; i < n; i++)
document.write('<layer name="nsmsg'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props+msg+'</font></center></layer>');
}
if (ie){
document.write('<div id="outer" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < n; i++)
document.write('<div id="iemsg" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center;font-weight:regular;cursor:default">'+props+msg+'</font></div>');
document.write('</div></div>');
}
(ns)?window.captureEvents(Event.MOUSEMOVE):0;
function Mouse(evnt){
ymouse = (ns)?evnt.pageY+20-(window.pageYOffset):event.y; // y-position
xmouse = (ns)?evnt.pageX+20:event.x-20; // x-position
}
if (ns||ie)
(ns)?window.onMouseMove=Mouse:document.onmousemove=Mouse;
y=new Array();
x=new Array();
Y=new Array();
X=new Array();
for (i=0; i < n; i++){
y=0;
x=0;
Y=0;
X=0;
}
function makecircle(){ // rotation properties
if (ie) outer.style.top=document.body.scrollTop;
currStep-=rotation;
for (i=0; i < n; i++){ // makes the circle
var d=(ns)?document.layers['nsmsg'+i]:iemsg.style;
d.top=y+a*Math.sin((currStep+i*1)/3.8)+window.pageYOffset-15;
d.left=x+a*Math.cos((currStep+i*1)/3.8)*2; // remove *2 for just a plain circle, not oval
}
}
function drag(){ // makes the resistance
scrll=(ns)?window.pageYOffset:0;
y[0]=Math.round(Y[0]+=((ymouse)-Y[0])*speed);
x[0]=Math.round(X[0]+=((xmouse)-X[0])*speed);
for (var i=1; i < n; i++){
y=Math.round(Y+=(y[i-1]-Y)*speed);
x=Math.round(X+=(x[i-1]-X)*speed);
}
makecircle();
// not rotation speed, leave at zero
setTimeout('drag()',10);
}
if (ns||ie)window.onload=drag;
// -->
</SCRIPT>
</html>
<!--End ASPX page-->
|
|
|
LV
|
Posted: 09/29/2005, 11:12 AM |
|
Posting my problem to CCS support and got my problem solved the next day, I posted the solution here for anyone who has the same problem. I found out that if you are a registered customer, it is better to post your problem/question to CCS support rather than post it here in this forum it may never get the answer in time.
CCS response:
It looks like ASP.NET is not installed properly. Please find the aspnet_regiis.exe utility in %windir%\Microsoft.NET\Framework\v1.1.432 and launch it from command line with "-i" key:
aspnet_regiis.exe –i
It works for me now. I think the order that I setup my new PC with IIS and Framework somehow messed it up.
|
|
|
|