naveedqadri 0 Junior Poster in Training

I have a website in developed by some one else, i have made some improvements and now facing problem while uploaded []
this site is running well on localhost.

scenario : all files has path starts with /ictm/../../*.aspx

1: i created a folder on root directory with name "ictm" and put all published data there including web.config.

2: i created a file Default.aspx having include directive to "/ictm/default.aspx"


Scenario 2:

I put all published data on root

changes in web.config

<?xml version="1.0"?>
    Note: As an alternative to hand editing this file you can use the 
    web admin tool to configure settings for your application. Use
    the Website->Asp.Net Configuration option in Visual Studio.
    A full list of settings and comments can be found in 
    machine.config.comments usually located in 
<configuration xmlns="">
  <add key="MM_CONNECTION_HANDLER_ictmdb" value="default_oledb.htm" />
  <add key="MM_CONNECTION_STRING_ictmdb" value="Provider=MSDAORA.1;User ID=ictm;Password=ictm" /><!--;data source=ictmuser-->
    <add key="MM_CONNECTION_DATABASETYPE_ictmdb" value="OleDb" />
  <add key="MM_CONNECTION_SCHEMA_ictmdb" value="" />
  <add key="MM_CONNECTION_CATALOG_ictmdb" value="" />
  <add key="CSS_PATH" value="~/css" />
  <add key="IMG_PATH" value="~/soft/tmp/" />
		<httpRuntime executionTimeout="360"/>
		<sessionState timeout="30"/>
            The <authentication> section enables configuration 
            of the security authentication mode used by 
            ASP.NET to identify an incoming user. 
		<identity impersonate="false"/>
		<!--<authentication mode="Forms">
			<forms name=".ICTMLogin" loginUrl="~/default.aspx" protection="All" timeout="30" path="/">
				--><!-- protection="[All|None|Encryption|Validation]" --><!--
			<allow users="*"/>
            The <customErrors> section enables configuration 
            of what to do if/when an unhandled error occurs 
            during the execution of a request. Specifically, 
            it enables developers to configure html error pages 
            to be displayed in place of a error stack trace.
		<!--customErrors mode="RemoteOnly" defaultRedirect="/ictm/public/template/login/sessionTO.aspx"/>
		<customErrors mode="On"  defaultRedirect="/ictm/public/template/login/sessionTO.aspx">
		<customErrors mode="Off"  defaultRedirect="/ictm/public/template/login/sessionTO.aspx"-->

		<!--<customErrors mode="RemoteOnly"  defaultRedirect="/ictm/public/template/login/sessionTO.aspx">-->
    <customErrors mode="RemoteOnly">
			<error statusCode="500" redirect="~/errors/GenericError.aspx"/>
			<!--<error statusCode="404" redirect="/ictm/errors/FileNotFound.aspx"/>-->
			<!--error statusCode="403" redirect="authorizationfailed.aspx"/-->
		<compilation defaultLanguage="c#" debug="true">
				<add assembly="vjslib, Version=, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies></compilation>

changes in GenerricError.aspx

<%@ Page Language="C#" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
		<title>Page is being updated</title>
	    <link href="~/css/static.css" rel="stylesheet" type="text/css" />
	    <link href="~/css/ee.css" rel="stylesheet" type="text/css" />
	<BODY class="d1"leftMargin=0 topMargin=0>
	<table height="90%" width="100%">
		<tr height="20"><td><h1>Please login again.</h1></td></tr>

		<tr valign="top" height="100%">
				<h3>Your computer had been idle too long. The session timed-out for your security.</h3>
				<a href="" target="_top">Click here to login.</a>
		  <%Response.Write("<br/><div style=\"color:#C6E2FF\">" + ASP.global_asax.exception.StackTrace + "</div><br/>"); %>
		  <a href="" target="_top">Home </a>
	<table height="10%" width="100%">
		<tr valign="middle" height="100%">
			<td valign="middle" height="100%" >
			<hr /><div></div>
						//Exception ex = Server.GetLastError;



<!--#include file="~/public/Applications/Driverprog/healthcare/default.aspx"-->

and Result you can view by Clicking on
plz help me to remove this problem.
One this more there is database behind but not uploaded yet. so need static pages to run

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.