Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 26th, 2007, 09:27 AM
Registered User
 
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to masif
Default Uploading Issue in ASP.NET Pages

Hello..

I have made one Form in ASP.NET 1.1, it is working very fine in local machine, but when i uploaded, it gives the error, which i tried to resolved it but unable to do that.. you can also view that error by visiting to http://www.cfsplc.com/WebApplication...es_AddNew.aspx

 , and the error is: " It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS."

and pointing to the " Line 47: by Microsoft that offers a single logon and core profile services for member sites.
Line 48: -->
Line 49: <authentication mode="Windows" />
Line 50:
Line 51: <!-- AUTHORIZATION
"

Please if any one know kindly help me,. i am very much worried about it... to resolved... i will be very thankful ...

Asif:
Email: m.asifjabbar@gmail.com
 
Old June 28th, 2007, 03:51 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

Well, the error above appears when you have not created a virtual directory for your application, in your local settings it must have been created, but not on the live server where you have uploaded, check for that.

Regards
Mike

Don't expect too much, too soon.
 
Old June 28th, 2007, 02:52 PM
Registered User
 
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to masif
Default

Well to resolved that problem, Iam keep doing test on live server, Some1 told me to copy root files of the project in root folder(wwwroot) of live server (root files: web.config,...etc) what i did, i made one new webapplication, on that application i simply print "Hello World" and upload that WebApplication into root folder of live server, so the error is changed, but it senceless error which is : " [b
]Error Message: Could not load type 'TestingApp.WebForm1'.

Source Error:


Line 1: <%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="TestingApp.WebForm1" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
Line 3: <HTML>


Source File: C:\Inetpub\vhosts\cfsplc.com\httpdocs\WebForm1.asp x Line: 1 "
[/b]
you guys can also view : http://www.cfsplc.com/WebForm1.aspx .

I complaint to webhosting companies, so they said to me your web.config file is not well optimized although i checked this application in servral machine where it is working fine, so how i make well optimize web.config file and how to identify?.... :( please help if anybody know...

thanks alot..


Asif:
Email: m.asifjabbar@gmail.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Uploading asp.net website Rebel ASP.NET 2.0 Basics 2 November 15th, 2007 04:23 AM
.NET|Issue with .aspx pages caching at Server side purtimalhotra ASP.NET 1.0 and 1.1 Professional 0 July 6th, 2006 12:13 AM
.NET|Issue with .aspx pages caching at Server side purtimalhotra ASP.NET 1.0 and 1.1 Basics 0 July 6th, 2006 12:03 AM
Need Code For Uploading File in ASP.Net rps1208 Classic ASP Basics 0 June 2nd, 2006 04:57 AM
Uploading File In ASP.NET gadhiav ASP.NET 1.0 and 1.1 Basics 3 June 29th, 2004 11:54 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.