473,383 Members | 1,795 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,383 software developers and data experts.

Web Config

I'm getting errors when I run my application with the following in my web
config file.

<httpHandlers>
<add verb="*" path="*.vb"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.cs"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.vbproj"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.csproj"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.webinfo"
type="System.Web.HttpNotFoundHandler,System.Web" />
</httpHandlers>
Nov 19 '05 #1
5 2505
and the error?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Mike Moore" <Mi*******@discussions.microsoft.com> wrote in message
news:87**********************************@microsof t.com...
I'm getting errors when I run my application with the following in my web
config file.

<httpHandlers>
<add verb="*" path="*.vb"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.cs"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.vbproj"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.csproj"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.webinfo"
type="System.Web.HttpNotFoundHandler,System.Web" />
</httpHandlers>

Nov 19 '05 #2
My guess is that since System.Web.dll is located in the GAC (global assembly
cache) it requires the full assembly name which might be:
System.Web.HttpNotFoundHandler,System.Web,Version= 1.0.3705.0,Culture=neutral
,PublicKeyToken=b03f5f7f11d50a3a

However, I don't think there's any need to map those extensions to it
anymore..I think as of 1.0 those extensions are automatically mapped...could
be wrong about all of this though.

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Mike Moore" <Mi*******@discussions.microsoft.com> wrote in message
news:87**********************************@microsof t.com...
I'm getting errors when I run my application with the following in my web
config file.

<httpHandlers>
<add verb="*" path="*.vb"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.cs"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.vbproj"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.csproj"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.webinfo"
type="System.Web.HttpNotFoundHandler,System.Web" />
</httpHandlers>

Nov 19 '05 #3
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: File or assembly name System.Web, or one of its
dependencies, was not found.

Source Error:
Line 74:
Line 75: <httpHandlers>
Line 76: <add verb="*" path ="*.vb"
type="System.Web.HttpNotFoundHandler,System.Web" />
Line 77: <add verb="*" path ="*.cs"
type="System.Web.HttpNotFoundHandler,System.Web" />
Line 78: <add verb="*" path ="*.vbproj"
type="System.Web.HttpNotFoundHandler,System.Web" />

"Curt_C [MVP]" wrote:
and the error?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Mike Moore" <Mi*******@discussions.microsoft.com> wrote in message
news:87**********************************@microsof t.com...
I'm getting errors when I run my application with the following in my web
config file.

<httpHandlers>
<add verb="*" path="*.vb"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.cs"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.vbproj"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.csproj"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.webinfo"
type="System.Web.HttpNotFoundHandler,System.Web" />
</httpHandlers>


Nov 19 '05 #4
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: File or assembly name System.Web, or one of its
dependencies, was not found.

Source Error:
Line 74:
Line 75: <httpHandlers>
Line 76: <add verb="*" path ="*.vb"
type="System.Web.HttpNotFoundHandler,System.Web" />
Line 77: <add verb="*" path ="*.cs"
type="System.Web.HttpNotFoundHandler,System.Web" />
Line 78: <add verb="*" path ="*.vbproj"
type="System.Web.HttpNotFoundHandler,System.Web" />

"Curt_C [MVP]" wrote:
and the error?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Mike Moore" <Mi*******@discussions.microsoft.com> wrote in message
news:87**********************************@microsof t.com...
I'm getting errors when I run my application with the following in my web
config file.

<httpHandlers>
<add verb="*" path="*.vb"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.cs"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.vbproj"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.csproj"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.webinfo"
type="System.Web.HttpNotFoundHandler,System.Web" />
</httpHandlers>


Nov 19 '05 #5
Could it be because all of those handlers
are already configured in machine.config as
System.Web.HttpForbiddenHandler
( not as System.Web.HttpNotFoundHandler... )

???

Juan T. Llibre
ASP.NET MVP
===========
"Mike Moore" <Mi*******@discussions.microsoft.com> wrote in message
news:CF**********************************@microsof t.com...
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: File or assembly name System.Web, or one of its
dependencies, was not found.

Source Error:
Line 74:
Line 75: <httpHandlers>
Line 76: <add verb="*" path ="*.vb"
type="System.Web.HttpNotFoundHandler,System.Web" />
Line 77: <add verb="*" path ="*.cs"
type="System.Web.HttpNotFoundHandler,System.Web" />
Line 78: <add verb="*" path ="*.vbproj"
type="System.Web.HttpNotFoundHandler,System.Web" />

"Curt_C [MVP]" wrote:
and the error?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Mike Moore" <Mi*******@discussions.microsoft.com> wrote in message
news:87**********************************@microsof t.com...
> I'm getting errors when I run my application with the following in my
> web
> config file.
>
> <httpHandlers>
> <add verb="*" path="*.vb"
> type="System.Web.HttpNotFoundHandler,System.Web" />
> <add verb="*" path="*.cs"
> type="System.Web.HttpNotFoundHandler,System.Web" />
> <add verb="*" path="*.vbproj"
> type="System.Web.HttpNotFoundHandler,System.Web" />
> <add verb="*" path="*.csproj"
> type="System.Web.HttpNotFoundHandler,System.Web" />
> <add verb="*" path="*.webinfo"
> type="System.Web.HttpNotFoundHandler,System.Web" />
> </httpHandlers>


Nov 19 '05 #6

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

Similar topics

13
by: Maxim Khesin | last post by:
I want to have a config file with my python proggie, satisfying the following requirements: 1) support key->(value, default) 2) simple and intuitive to read and edit 3) easyly readable into a...
4
by: Fuzzyman | last post by:
There have been a couple of config file 'systems' announced recently, that focus on building more powerful and complex configuration files. ConfigObj is a module to enable you to much more *simply*...
3
by: Richard Lewis Haggard | last post by:
I have a test application that is calling an assembly that reads some strings out of a config file. Normally, this assembly supports a web application and the information can be read just fine....
13
by: Khodr | last post by:
Hello, I am using VS.NET 2003 and vb. I build my application MyApp and it generates MyApp.exe.config. So now MyApp.exe reads parameters from MyApp.exe.config. Great and no problem! I need to...
20
by: tomerfiliba | last post by:
hey i've been seeing lots of config-file-readers for python. be it ConfigObj (http://www.voidspace.org.uk/python/configobj.html) or the like. seems like a trend to me. i came to this conclusion...
11
by: TARUN | last post by:
Hello All I need to ask about the configuration file in .NET, There are Two config File 1. Web Config 2. Machine config I understand the the usage of Web config , but not able to understand...
12
by: dbuchanan | last post by:
Hello, (Is this the proper newsgroup?) === Background === I am building a solution with two projects. One project is my data access layer which contains my DataSet as an xsd file. The XSD...
5
by: mmcd79 | last post by:
I built a VB.net application that makes use of a machine level DB connection string setting, and a user level starting location setting. The machine level setting and the default user based...
10
by: eagle | last post by:
I have a web.config in my application that contains the connection strings to all my datasources. I want to move these connection strings to another web config up the folder hierarchy so that all...
5
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a app that uses several membership/role providers. I can list these Providers with the code: Dim rootWebConfig1 As Configuration rootWebConfig1 =...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.