Cannot run a ASP.Net website

G

Guest

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\Config 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(HttpContext context, String
requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
+659

System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +120
System.Web.HttpApplication.ExecuteStep(IExecutionStep 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\Config folder? My email address
is (e-mail address removed)

Thanks.

Venki
 
M

Morten Wennevik

Hi Venki,

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

Just copy web.config.default to web.config



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\Config 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(HttpContext context, String
requestType, VirtualPath path, String pathTranslated, Boolean
useAppConfig)
+659
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+120
System.Web.HttpApplication.ExecuteStep(IExecutionStep 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\Config folder? My email
address
is (e-mail address removed)

Thanks.

Venki
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top