473,569 Members | 2,536 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

asp error accord when upload the aspx file to my web site

29 New Member
hello

i have an aspx page that write in javascript

its too small file

when i upload it to my website i got an error

Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error

i tried to upload it to another website and its work fine

then i contact the host company to ask about the problem

and they reply this message

As per your request, we have checked into this issue. The error that your site is producing appears to be a coding error, below is the full error from the server.

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized configuration section 'connectionStri ngs'

Source Error:


Line 10: <configuratio n>
Line 11: <appSettings/>
Line 12: <connectionStri ngs/>
Line 13: <system.web>
Line 14: <!--


Source File: D:\Home\reselle r@attlashost.co m\webadmin@attl ashost.com\attl ashost.com\www\ web.config Line: 12
and this is my webconfig file

Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0"?>
  2. <!-- 
  3.     Note: As an alternative to hand editing this file you can use the 
  4.     web admin tool to configure settings for your application. Use
  5.     the Website->Asp.Net Configuration option in Visual Studio.
  6.     A full list of settings and comments can be found in 
  7.     machine.config.comments usually located in 
  8.     \Windows\Microsoft.Net\Framework\v2.x\Config 
  9. -->
  10. <configuration>
  11.     <appSettings/>
  12.     <connectionStrings/>
  13.     <system.web>
  14.         <!-- 
  15.             Set compilation debug="true" to insert debugging 
  16.             symbols into the compiled page. Because this 
  17.             affects performance, set this value to true only 
  18.             during development.
  19.         -->
  20.         <compilation debug="true"/>
  21.         <!--
  22.             The <authentication> section enables configuration 
  23.             of the security authentication mode used by 
  24.             ASP.NET to identify an incoming user. 
  25.         -->
  26.         <authentication mode="Windows"/>
  27.         <!--
  28.             The <customErrors> section enables configuration 
  29.             of what to do if/when an unhandled error occurs 
  30.             during the execution of a request. Specifically, 
  31.             it enables developers to configure html error pages 
  32.             to be displayed in place of a error stack trace.
  33.  
  34.         <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
  35.             <error statusCode="403" redirect="NoAccess.htm" />
  36.             <error statusCode="404" redirect="FileNotFound.htm" />
  37.         </customErrors>
  38.         -->
  39.     </system.web>
  40. </configuration>
please i need ur help its very very important to me

and thanks for all
Mar 9 '07 #1
13 2673
acoder
16,027 Recognized Expert Moderator MVP
This seems like an .NET problem. I'll move it there.
Mar 9 '07 #2
MCPD
29 New Member
ok thnx i hope to find any help here
Mar 9 '07 #3
MCPD
29 New Member
i really need a help guys i dont have time just 22 hours

please help
Mar 9 '07 #4
Frinavale
9,735 Recognized Expert Moderator Expert
i really need a help guys i dont have time just 22 hours

please help
The <connectionStri ngs> tag is used to define any connection strings your application might use to connect to a databases.
It appears that you are not using this section.
I would take it out of the web.config file and try again.

(I would also remove the <appSettings> tag since it appears that you are not using it either)

Cheers!
-Frinny
Mar 9 '07 #5
MCPD
29 New Member
thnx alot but i have a question

is it possible that the problem is from the server

they say that the server support asp !
Mar 9 '07 #6
Frinavale
9,735 Recognized Expert Moderator Expert
thnx alot but i have a question

is it possible that the problem is from the server

they say that the server support asp !

Is it just ASP that they support or do they support ASP.NET.

I believe that you're application is an ASP.NET application because its using a web.config file....you could be right in assuming that that particular server wont support your application.

Ask them if the server supports ASP.NET

Best of Luck

-Frinny
Mar 9 '07 #7
MCPD
29 New Member
thnx for help

i will ask them

i get a new error is that mean any thing ?

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type '_Default'.

Source Error:


Line 1: <%@ Page Language="C#" AutoEventWireup ="true" CodeFile="Defau lt.aspx.cs" Inherits="_Defa ult" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">


Source File: D:\Home\reselle r@attlashost.co m\webadmin@attl ashost.com\attl ashost.com\www\ Default.aspx Line: 1
Mar 9 '07 #8
MCPD
29 New Member
when i ask them about supporting asp.net this what they say

I recommend having your webmaster review your code for the error that is being displayed. Our server does support asp.net version 1.1.4322.
what next ?
Mar 9 '07 #9
Frinavale
9,735 Recognized Expert Moderator Expert
when i ask them about supporting asp.net this what they say



what next ?
Your code must run on a web server that supports asp.net.
Your web application cannot run unless this is provided for it.

I don't know what I would do in your situation.
Switch providers?
Mar 10 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1370
by: Amar | last post by:
I have set the file size limit to 50 MB in the Machine.config file on the websever. whenever a user tries to upload a file which has size > 50 MB, then my application quits showing a DNS error page. With some help from this forum, i have been able to trap this error of file size limit in the Application_Error() event. But when i try to...
14
3871
by: Al Smith | last post by:
I need help in implementing proper error handling. I am trying to upload a file based on the sample code below. The code works well except if the file selected is too big. I do know about the maxRequestLength parameter of the <httpRuntime> section and that works as expected. What I want is to enforce a max file size but haven't been...
25
17165
by: moondaddy | last post by:
I have an application where users need to upload images and in my web.config file I have a setting like this: <httpRuntime maxRequestLength="512" /> Which restricts image larger than 500k from being uploaded. I'm also using the HtmlInputFile control to do the uploading. My problem is that when the user's file size exceeds 512k, the page...
8
1241
by: John | last post by:
Hi I have a perfectly fine running webform on the local server. When I upload the webform to a remote shared server I get the below error. Any idea what is causing this? Thanks Regards
5
1281
by: Shapper | last post by:
Hello, I just upload my web site to my hosting server and when I access it I always get an error: "Redicterion limit for this URL exceeded. Unable to load the requested page" Does anyone has any idea what is going on?
6
3604
by: Paul | last post by:
Hi there, When adding a "File Field" HTML control to an aspx page to facilitate file uploading, the following occurs: 1. You select a file that is larger than the allowed size limit. 2. Once the user selected the too large file, the page is redirected to a "page not found" error page. 3. This is as per the docs, but my question is:
1
3264
by: igotyourdotnet | last post by:
Ok, here is the issue: I have 2 web pages one does a file upload to a database and the other page does a FTP to a server, both pages use the c:\temp directory. The page that uploads to a database works fine, the page that FTP's the files returns me an error (Access denied filename.txt) Now the asp.net ID has full control of the c:\temp...
29
2461
by: =?Utf-8?B?SGVybWF3aWg=?= | last post by:
Hello, Please anybody help me. I have only a little experience with web development. I created simple project using ASP NET 2.0 (VS 2005) It works fine on local computer. When I tried to run the application on the web, it give me an error about net framework version information.
3
1887
by: =?Utf-8?B?RWRC?= | last post by:
I am having a real problem with this. I am much more a Windows guy then a Web guy, so that doesn't help. I have an ASP app I developed in VS2003/VB. I then converted it to VS2005. It works fine on my machine in VS2005 (worked fine in VS2003 as well). I am using a hosting facility. When I upload the pages to the hosting site, I get...
0
7700
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7614
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7676
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7974
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5513
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.