Hi all,
I have developed a simple web site on my machine I have tested it and it is working fine on my laptop. Because I have problems with my images (previous question) I have now deployed my web site (FTP) to the .netplayground for testing and to get used to deploying web sites and updating pages and so on. I have tried to hit the web site and all I get is an error: :mad:
Parser Error Message: File or assembly name System.Web, or one of its dependencies, was not found.
Source Error:
Line 54: -->
Line 55: <httpHandlers>
Line 56: <add verb="*" path="*.vb" type="system.web.HttpNotFoundHandler,System.Web" />
Line 57: <add verb="*" path="*.cs" type="System.Web.HttpNotFoundHandler,System.Web" />
Line 58: <add verb="*" path="*.vbproj" type="System.Web.HttpNotFoundHandler,System.Web" />
Source File: E:\web\Cornwood\htdocs\web.config Line: 56
I have had various attempts such as commenting out lines in this area, but I still get related errors to System.Web
Any ideas?
Thanks for your time :)try System.Web.dll
I have tried to use System.Web.Dll in:
Line 56: <add verb="*" path="*.vb" type="system.web.dll.HttpNotFoundHandler,System.Web.Dll" />
is this correct? If so, then it still doesn't work (is web.config case sensitive?) is there anything else that I've missed here?
I thought I would include the load trace of the original error, for completeness :)
Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = System.Web
(Partial)
LOG: Appbase = file:///E:/web/Cornwood/htdocs
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: System.Web
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/root/0a038de6/5c54360a/System.Web.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/root/0a038de6/5c54360a/System.Web/System.Web.DLL.
LOG: Attempting download of new URL file:///E:/web/Cornwood/htdocs/bin/System.Web.DLL.
LOG: Attempting download of new URL file:///E:/web/Cornwood/htdocs/bin/System.Web/System.Web.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/root/0a038de6/5c54360a/System.Web.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/root/0a038de6/5c54360a/System.Web/System.Web.EXE.
LOG: Attempting download of new URL file:///E:/web/Cornwood/htdocs/bin/System.Web.EXE.
LOG: Attempting download of new URL file:///E:/web/Cornwood/htdocs/bin/System.Web/System.Web.EXE.
The answer to my earlier problem, for those interested, is:
<add verb="*" path="*.vb" type="System.Web.HttpNotFoundHandler" /> and nothing more. In other words, loose the ",System Web" :cool:
L8R
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment