Saturday, March 31, 2012

web components dissappearing

I have run into a problem where I work with a Web Form for a while and get it almost good to go only to find during a test that something has gone wrong (via an exception displayed in the browser). I return to the IDE and find that the web components have been removed from my form. Do you know what causes this problems and how I can avoid it? This has happened a few times and I am force to recreate my form. This only effects my presentation. Any help is appreciated.

Thanks,I've seen some strange behaviour, but this isn't one of them.

web conferencing application

I would like to build a web conferencing application but need a place to start. If anyone has any links for some documentation, please let me know. Thanks!

You really cant accomplish this under the standard ASP.NET model. ASP.NET is connectionless (actually most things that run through the browser are) -

An avenue I've explorered for getting this done at one point was Flash. It has built in features for streaming, persistant connections, video, and full motion...etc.

Another way would be to tie into the WMP codec's and write a server side listening service, and an ActiveX control that could get this done.

Probably the way I'd get started would be to work on getting chat / video input from a single user and updating a server in realtime, then find a way to make that information available to a distributed system somehow that you could invite other users into.


I was thinking somehow I could tie into RDP that would update a web service with AJAX.. I have already developed the chat feature using AJAX. Its not perfect but works with multiple users.

presenter logs into website and installs activeX control for RDP. The webpage feeds video through RDP to the webservice that feeds the other clients

The only problem is the documentation that I have found so far is very limited. Do you think this is possible?

Web Config

Is there a way to write to the web.config file during the execution of the
application?Hi Claudio

The web.config file is a standard XML file so you should be able to
write to it by accessing it using the classes of the System.Xml
namespace. However, AFAIK none of the built-in configuration classes
provide you with direct write-access to the application configuration file.

I'd rather recommend you to store settings that need read/write access
in a dedicated configuration file. A simple library that I've written
ages ago (and still using in all my projects) can be found here
(contains the source plus a sample project):

http://www.evolvesoftware.ch/downlo...nfiguration.zip

hth, Philipp

Claudio wrote:

> Is there a way to write to the web.config file during the execution of the
> application?
Claudio wrote:
> Is there a way to write to the web.config file during the execution
> of the application?

It's possible.
I wrote an example to modify the list of users that are allowed access:
http://www.codeproject.com/aspnet/members.asp

But don't forget that any change to web.config causes the
web application to restart. All users lose their session state.

--

Jos Branders

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>and the error?
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Mike Moore" <MikeMoore@.discussions.microsoft.com> wrote in message
news:87EFF9FE-06F8-4EAB-A1D6-3B0D544199DC@.microsoft.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>
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" <MikeMoore@.discussions.microsoft.com> wrote in message
news:87EFF9FE-06F8-4EAB-A1D6-3B0D544199DC@.microsoft.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>
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" <MikeMoore@.discussions.microsoft.com> wrote in message
> news:87EFF9FE-06F8-4EAB-A1D6-3B0D544199DC@.microsoft.com...
>
>
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" <MikeMoore@.discussions.microsoft.com> wrote in message
> news:87EFF9FE-06F8-4EAB-A1D6-3B0D544199DC@.microsoft.com...
>
>
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" <MikeMoore@.discussions.microsoft.com> wrote in message
news:CF6E6FB9-0AF5-4D73-8BE6-9D85FCE64351@.microsoft.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:
>

web config

Hi,
I'm trying to setup the Web Config file so that the connection string is
read from it but I'm not sure what I'm doing wrong. The error I get is:
The ConnectionString property has not been initialized.
I also tried to create a virtual path but that didn't work.
My application is at c:\inetpub\wwwroot\web This is where the web.config
file is and it contains the following:
<appSettings>
<add key="connectionstring" value="server=(local)
;trusted_connection=true;database=xxx"/>
</appSettings>
The aspx file contains:
<%@dotnet.itags.org. Page Language="VB" %>
<script runat="server">
Function GetData() As System.Data.IDataReader
Dim connectionString As String
connectionString = ConfigurationSettings.AppSettings
("ConnectionString")
Dim dbConnection As System.Data.IDbConnection = New
System.Data.SqlClient.SqlConnection(connectionString)
Dim queryString As String = "SELECT [tblLink].[quote], [tbllink]
.[linkURL"& _
"] FROM [tblink]"
Dim dbCommand As System.Data.IDbCommand = New
System.Data.SqlClient.SqlCommand
dbCommand.CommandText = queryString
dbCommand.Connection = dbConnection
dbConnection.Open
Dim dataReader As System.Data.IDataReader =
dbCommand.ExecuteReader(System.Data.CommandBehavior.CloseConnection)
Return dataReader
End Function
Sub Page_Load(sender As Object, e As EventArgs)
Page.Databind()
End Sub
</script>
Thanks
Message posted via http://www.webservertalk.com"connectionstring" and "ConnectionString" are not the same. Change the line-
connectionString=ConfigurationSettings.AppSettings("ConnectionString")
to
connectionString=ConfigurationSettings.AppSettings("connectionstring")
"Joe via webservertalk.com" <forum@.webservertalk.com> wrote in message
news:086ed6be9bd842dbabf1aa433aa7fdf3@.Do
webservertalk.com...
> Hi,
> I'm trying to setup the Web Config file so that the connection string is
> read from it but I'm not sure what I'm doing wrong. The error I get is:
> The ConnectionString property has not been initialized.
> I also tried to create a virtual path but that didn't work.
> My application is at c:\inetpub\wwwroot\web This is where the web.config
> file is and it contains the following:
> <appSettings>
> <add key="connectionstring" value="server=(local)
> ;trusted_connection=true;database=xxx"/>
> </appSettings>
>
> The aspx file contains:
> <%@. Page Language="VB" %>
> <script runat="server">
> Function GetData() As System.Data.IDataReader
> Dim connectionString As String
> connectionString = ConfigurationSettings.AppSettings
> ("ConnectionString")
> Dim dbConnection As System.Data.IDbConnection = New
> System.Data.SqlClient.SqlConnection(connectionString)
> Dim queryString As String = "SELECT [tblLink].[quote],
[tbllink]
> .[linkURL"& _
> "] FROM [tblink]"
> Dim dbCommand As System.Data.IDbCommand = New
> System.Data.SqlClient.SqlCommand
> dbCommand.CommandText = queryString
> dbCommand.Connection = dbConnection
> dbConnection.Open
> Dim dataReader As System.Data.IDataReader =
> dbCommand.ExecuteReader(System.Data.CommandBehavior.CloseConnection)
> Return dataReader
> End Function
> Sub Page_Load(sender As Object, e As EventArgs)
> Page.Databind()
> End Sub
> </script>
>
> Thanks
> --
> Message posted via http://www.webservertalk.com
Thanks. I changed it but I still get the error message that:
The ConnectionString property has not been initialized.
Message posted via http://www.webservertalk.com
JOe how can u get ConnectionString property error
when u said u have changed it!
*** Sent via Developersdex http://www.examnotes.net ***
Don't just participate in USENET...get rewarded for it!
I fixed the names so that I tried to make sure it was case sensitive. I've
been going through the code but still can't seem to see what's wrong. I
renamed the connection string, so I have in the Web config:
<appSettings>
<add key="ConnectionString1" value="server=(local)
;trusted_connection=true;database=xx"/>
</appSettings>
aspx file:
Function GetLessons() As System.Data.IDataReader
Dim strConnection As String
strConnection = ConfigurationSettings.AppSettings
("ConnectionString1")
Dim dbConnection As System.Data.IDbConnection = New
System.Data.SqlClient.SqlConnection(strConnection)
Dim queryString As String = "SELECT [tblLesson].* FROM
[tblLesson]"
Dim dbCommand As System.Data.IDbCommand = New
System.Data.SqlClient.SqlCommand
dbCommand.CommandText = queryString
dbCommand.Connection = dbConnection
dbConnection.Open
Dim dataReader As System.Data.IDataReader =
dbCommand.ExecuteReader(System.Data.CommandBehavior.CloseConnection)
Return dataReader
End Function
Sub Page_Load(sender As Object, e As EventArgs)
Page.Databind()
End Sub
</script>
<html>
<head>
</head>
<body>
<form runat="server">
<asp:DataGrid id="DataGrid1" runat="server" DataSource="<%#
GetLessons() %>"></asp:DataGrid>
</form>
</body>
</html>
Thanks again
Message posted via http://www.webservertalk.com
Joe,
why are you using Data Provider syntax
for a simple data connection ?
System.Data.IDataReader, System.Data.IDbConnection,
and System.Data.IDbConnection all are used when
implementing your own Data Provider.
Please review
http://msdn.microsoft.com/library/d...connections.asp
to see the info you need to implement a data connection
using any of the Data Providers built into .NET.
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espaol
Ven, y hablemos de ASP.NET...
======================
"Joe via webservertalk.com" <forum@.webservertalk.com> wrote in message
news:00ad191e3d8f47f6a6ba782e53ddcb5e@.Do
webservertalk.com...
>I fixed the names so that I tried to make sure it was case sensitive. I've
> been going through the code but still can't seem to see what's wrong. I
> renamed the connection string, so I have in the Web config:
> <appSettings>
> <add key="ConnectionString1" value="server=(local)
> ;trusted_connection=true;database=xx"/>
> </appSettings>
> aspx file:
> Function GetLessons() As System.Data.IDataReader
> Dim strConnection As String
> strConnection = ConfigurationSettings.AppSettings
> ("ConnectionString1")
> Dim dbConnection As System.Data.IDbConnection = New
> System.Data.SqlClient.SqlConnection(strConnection)
> Dim queryString As String = "SELECT [tblLesson].* FROM
> [tblLesson]"
> Dim dbCommand As System.Data.IDbCommand = New
> System.Data.SqlClient.SqlCommand
> dbCommand.CommandText = queryString
> dbCommand.Connection = dbConnection
> dbConnection.Open
> Dim dataReader As System.Data.IDataReader =
> dbCommand.ExecuteReader(System.Data.CommandBehavior.CloseConnection)
> Return dataReader
> End Function
>
> Sub Page_Load(sender As Object, e As EventArgs)
> Page.Databind()
> End Sub
> </script>
> <html>
> <head>
> </head>
> <body>
> <form runat="server">
> <asp:DataGrid id="DataGrid1" runat="server" DataSource="<%#
> GetLessons() %>"></asp:DataGrid>
> </form>
> </body>
> </html>
> Thanks again
Hi,
I think what's happening is that it's not seeing the web.config file since
I tried removing it and got the same error message.
I have the application at: c:/inetpub/wwwroot/web
The web.config file is in this directory and so is the aspx file that I am
testing. I created a virtual directory to this.
Am I missing anything in making this my application root?
Thanks again
Message posted via http://www.webservertalk.com
Thanks for all the help. I got it working. It was the case-sensitivity
issue. Also thanks for the advice on the data provider.
Message posted via http://www.webservertalk.com
Hello Juan,
I disagree with this statement. While these interfaces can be used when impl
ementing
your own data provider, they provide a very nice abstraction layer.
Let's say that I want to interact with either an Oracle or an MSSQL database
in my application, depending on my client's requirements. The quickest/easie
st
way to accomplish this is to return an IDbConnection or IDataReader out of
my class's methods. The calling code has no idea about the underlying datast
ore
and new databases can be added by simply adding a new class.
Very good design...
Matt Berther
http://www.mattberther.com
> Joe,
> why are you using Data Provider syntax
> for a simple data connection ?
> System.Data.IDataReader, System.Data.IDbConnection, and
> System.Data.IDbConnection all are used when implementing your own Data
> Provider.
> Please review
> http://msdn.microsoft.com/library/d...ary/en-us/cpgui
> de/html/cpconadonetconnections.asp
> to see the info you need to implement a data connection
> using any of the Data Providers built into .NET.
> Juan T. Llibre
> ASP.NET MVP
> http://asp.net.do/foros/
> Foros de ASP.NET en Espaol
> Ven, y hablemos de ASP.NET...
> ======================
> "Joe via webservertalk.com" <forum@.webservertalk.com> wrote in message
> news:00ad191e3d8f47f6a6ba782e53ddcb5e@.Do
webservertalk.com...
>
In general, yes, but the added level of complexity
may cause troubleshooting problems which don't
crop up with the simpler data connection methods.
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espaol
Ven, y hablemos de ASP.NET...
======================
"Matt Berther" <mberther@.hotmail.com> wrote in message
news:221a09c78550fb8c6ecc5d1d2e129@.news.microsoft.com...
> Hello Juan,
> I disagree with this statement. While these interfaces can be used when
> implementing your own data provider, they provide a very nice abstraction
> layer.
> Let's say that I want to interact with either an Oracle or an MSSQL
> database in my application, depending on my client's requirements. The
> quickest/easiest way to accomplish this is to return an IDbConnection or
> IDataReader out of my class's methods. The calling code has no idea about
> the underlying datastore and new databases can be added by simply adding a
> new class.
> Very good design...
> --
> Matt Berther
> http://www.mattberther.com
>
>
>

Web Config

Is there a way to write to the web.config file during the execution of the
application?Hi Claudio
The web.config file is a standard XML file so you should be able to
write to it by accessing it using the classes of the System.Xml
namespace. However, AFAIK none of the built-in configuration classes
provide you with direct write-access to the application configuration file.
I'd rather recommend you to store settings that need read/write access
in a dedicated configuration file. A simple library that I've written
ages ago (and still using in all my projects) can be found here
(contains the source plus a sample project):
www.evolvesoftware.ch/download/file...nfiguration.zip
hth, Philipp
Claudio wrote:

> Is there a way to write to the web.config file during the execution of the
> application?
>
Claudio wrote:
> Is there a way to write to the web.config file during the execution
> of the application?
It's possible.
I wrote an example to modify the list of users that are allowed access:
http://www.codeproject.com/aspnet/members.asp
But don't forget that any change to web.config causes the
web application to restart. All users lose their session state.
Jos Branders

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>and the error?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Mike Moore" <MikeMoore@.discussions.microsoft.com> wrote in message
news:87EFF9FE-06F8-4EAB-A1D6-3B0D544199DC@.microsoft.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
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" <MikeMoore@.discussions.microsoft.com> wrote in message
news:87EFF9FE-06F8-4EAB-A1D6-3B0D544199DC@.microsoft.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
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" <MikeMoore@.discussions.microsoft.com> wrote in message
> news:87EFF9FE-06F8-4EAB-A1D6-3B0D544199DC@.microsoft.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>
>
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" <MikeMoore@.discussions.microsoft.com> wrote in message
> news:87EFF9FE-06F8-4EAB-A1D6-3B0D544199DC@.microsoft.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>
>
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" <MikeMoore@.discussions.microsoft.com> wrote in message
news:CF6E6FB9-0AF5-4D73-8BE6-9D85FCE64351@.microsoft.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" <MikeMoore@.discussions.microsoft.com> wrote in message
>> news:87EFF9FE-06F8-4EAB-A1D6-3B0D544199DC@.microsoft.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>
>>
>>
>