473,385 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Cannot run a ASP.Net website

Hello:

When I was debugging an ASP application, I saw that it was using a
Web.Config in c:\windows\Microsoft.Net\Framework\v2.0.50727\Conf ig folder
rather than my application's web.config file.

So, like an idiot, I copied the web.config file from my project folder to
the above folder, without copying the original file first.

Now, when I try to access the website, I get the following error:

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

No http handler was found for request type 'GET'
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.Web.HttpException: No http handler was found for
request type 'GET'

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:
[HttpException (0x80004005): No http handler was found for request type 'GET']
System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String
requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
+659

System.Web.MapHandlerExecutionStep.System.Web.Http Application.IExecutionStep.Execute() +120
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +155


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET
Version:2.0.50727.42

I've a feeling it could be because of what I did.

Can somebody send me the web.config file from
c:\windows\Microsoft.Net\Framework\v2.0.50727\Conf ig folder? My email address
is th****@hotmail.com

Thanks.

Venki
Oct 11 '06 #1
1 1180
Hi Venki,

No need to spam, I got you the first time.

Just copy web.config.default to web.config

On Wed, 11 Oct 2006 14:37:02 +0200, vvenk
<vv***@discussions.microsoft.comwrote:
Hello:

When I was debugging an ASP application, I saw that it was using a
Web.Config in c:\windows\Microsoft.Net\Framework\v2.0.50727\Conf ig folder
rather than my application's web.config file.

So, like an idiot, I copied the web.config file from my project folder to
the above folder, without copying the original file first.

Now, when I try to access the website, I get the following error:

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

No http handler was found for request type 'GET'
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about
the error and where it originated in the code.

Exception Details: System.Web.HttpException: No http handler was found
for
request type 'GET'

Source Error:

An unhandled exception was generated during the execution of the current
web
request. Information regarding the origin and location of the exception
can
be identified using the exception stack trace below.

Stack Trace:
[HttpException (0x80004005): No http handler was found for request type
'GET']
System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String
requestType, VirtualPath path, String pathTranslated, Boolean
useAppConfig)
+659
System.Web.MapHandlerExecutionStep.System.Web.Http Application.IExecutionStep.Execute()
+120
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +155

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42;
ASP.NET
Version:2.0.50727.42

I've a feeling it could be because of what I did.

Can somebody send me the web.config file from
c:\windows\Microsoft.Net\Framework\v2.0.50727\Conf ig folder? My email
address
is th****@hotmail.com

Thanks.

Venki


--
Happy Coding!
Morten Wennevik [C# MVP]
Oct 11 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: revolnip | last post by:
As attached is the code : <% Option Explicit dim lngTimer lngTimer = Timer %> <!--#include file="Connect.asp" --> <!--#include file="Settings.asp" --> <!--#include file="Common.asp" -->
1
by: aben | last post by:
Hello all, I am using the following microsoft article to try and learn more about SSL: http://support.microsoft.com/default.aspx?scid=kb;EN-US;315588 I have a virtual directory that I have...
2
by: Chris Fink | last post by:
I encountered a very odd error this afternoon. A website that has been in production for quite some time suddenly came up with a page cannot be found on the main index.aspx page for the site. 5...
1
by: PipScouser | last post by:
Hi, Most times, but not always, after my session times out (default 20 mins) if a user clicks on any control that necessitates a code-behind call, I get the 'Cannot find Server or DNS Error'...
5
by: jd | last post by:
I am trying to setup a site using the Personal Website Starter Kit available in VS2005, I can debug my site just fine in Visual Studio. I am also running IIS and am able to connect to my new...
7
by: Brian Kitt | last post by:
I frequently get the above error on my website. It happens only for short periods of times, then the error goes away. I cannot recreate this. I have an error trap that picks up this error. When...
3
by: Andy Sutorius via DotNetMonster.com | last post by:
After installing Sharepoint Portal Services I am no longer able to see my website. When I try I get Required permissions cannot be acquired. I have tried to put the Trust key in the web.config but...
2
by: TTT | last post by:
Hi, I have developed a website from the model "Starter kits Classified". Well, the application works good, no problem in my development environment. It uses a SqlServer 2005 express database...
1
by: vhrao | last post by:
I created asp.net project with location http://localhost/proj1, which works fine. Now I found out that I have to change port from 80 to 8080. I changed TCP port for deafult website from 80 to...
4
by: dougmeece | last post by:
Morning Everyone... I have a table that needs to be append to and also updated. All the fields in the table are populated with data from the text boxes and combo boxes on a form. The Date...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...

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.