473,748 Members | 9,641 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 2702
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
1376
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 redirect the program to the error page, it does not work. I have tried using, Response.Write...
14
3893
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 able to trap the error thrown when the file is too large and that's where I could use some help.
25
17214
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 immediately redirects to the "The page cannot be displayed" error page which is very confusing. ...
8
1248
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
1290
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
3614
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
3279
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 directory. The only difference in the 2 pages is that page 2 creates a text file writes data to it then...
29
2499
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
1898
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 nothing but:
0
8989
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9537
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9367
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9243
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6795
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6073
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3309
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
2
2780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2213
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.