Re: web.config host error!! PLEASE help!

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Pete Beech (peter_beech_at_hotmail.nojunk.com)
Date: 04/03/04


Date: Sat, 3 Apr 2004 11:38:39 +0200

I'm just guessing, but try putting the dll into the bin directory that is
immediately under your root directory (i.e. /bin, not /WebApplication1/bin.)
If this works, it would imply that your subdirectory WebApplication1 hasn't
been set up as an application in IIS. (i.e. you need to have someone run
IIS, go to the properties for that directory, and press the Create
Application button)

It might be possible to do that remotely - if it has FrontPage extensions on
the server, then I often use the ability from VS.NET to create a project
directly on a server - that sets up the application in IIS on that
directory, then I can delete the project files and just upload my
application files. Theres probably much better ways of doing it. Otherwise
you could get Tech support for your hosting provider to create an
application in the WebApplication1 directory (and any other directories you
want).

Each web application that you create like this will have its own bin
directory which it will use (rather than using the root one) and it will run
separately from the other web applications you have on the server.

Anyway, try what I suggested at the top to see if that is the problem..

Cheers,
Pete

"n3crius" <n3crius@blueyonder.co.uk> wrote in message
news:Nfubc.14269$Id.4119@news-binary.blueyonder.co.uk...
> Ok guys, thanks very much for your great responses you've helped me
> lots. Unfortunately, I think the DLL is in there? I'm still getting
> this message however? I have tried compiling, then loading up, theres a
> file such as 'WebApplication#.dll' in the bin folder depending on the
> applciation (#).
>
> Matt Hawley wrote:
>
> > Yeah - when you're using code-behind pages, you need to pre-compile your
application. I think...if you had src="WebForm1.aspx.vb" to the page
directive, then it should JIT compile on the server though. That is just
speculation since I never do it, but its worth a shot.
> >
> > Matt Hawley, MCAD .NET http://www.eworldui.net dude you were right
> >
> > i put the config in the root etc and now it work, but i have to put a
> > modded config in the actual application directory, but now i get this :
> >
> > -----------------
> >
> > Parser Error
> > Description: An error occurred during the parsing of a resource
required
> > to service this request. Please review the following specific parse
> > error details and modify your source file appropriately.
> >
> > Parser Error Message: Could not load type 'WebApplication1.WebForm1'.
> >
> > Source Error:
> >
> >
> > Line 1: <%@ Page Language="vb" AutoEventWireup="false"
> > Codebehind="WebForm1.aspx.vb" Inherits="WebApplication1.WebForm1"%>
> > Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > Line 3: <html>
> >
> >
> > Source File:
> > D:\Webspace\necrius.net\wwwroot\WebApplication1\WebForm1.aspx Line: 1
> >
> >
> > any ideas ????
> >
> > Matt Hawley wrote:
> >
> > > I understand that, however there seems to be a problem with your
web.config file, and without being able to see it, I can't help.
> > >
> > > Matt Hawley, MCAD .NET http://www.eworldui.net Mmm thought I'd
already put about this. I'll explain, basically I'm
> > > tried all that. I've tried every thing in the web config, makes no
> > > difference
> > >
> > > Matt Hawley wrote:
> > >
> > > > Yeah...but what does your Web.Config file look like? Thats the
problem. In your Web.Config file, have you set customErrors to "Off" ??
> > > >
> > > > Matt Hawley, MCAD .NET http://www.eworldui.net Matt, here's the
link mate
> > > >
> > > > http://www.necrius.net/WebApplication1/WebForm1.aspx
> > > >
> > > >
> > > >
> > > > Matt Hawley wrote:
> > > >
> > > > > What does your customErrors tag look like? Can you post it?
> > > > >
> > > > > Matt Hawley, MCAD .NET http://www.eworldui.net hi,
> > > > >
> > > > > i just got a web host with asp.net , seemed really cool. aspx
with the
> > > > > c# or vb IN the actual main page run fine, but when i use
codebehind and
> > > > > make another source file ( a .cs) to go with the aspx (as you
would
> > > > > realistically) I get this :
> > > > >
> > > > > Details: To enable the details of this specific error message to
be
> > > > > viewable on remote machines, please create a <customErrors> tag
within a
> > > > > "web.config" configuration file located in the root directory of
the
> > > > > current web application. This <customErrors> tag should then have
its
> > > > > "mode" attribute set to "Off".
> > > > >
> > > > > ----- every damn time, and ive done what it says about the
web.config,
> > > > > ive tried everything. i get nothing back from the tech support at
the
> > > > > minute so im totally in the dark :(. any suggestions please?
> > > > >
> > > > > thanks
> > > > >
> > > >
> > >
> >



Relevant Pages

  • Re: web.config host error!! PLEASE help!
    ... the root web bin folder. ... the wrong place for the dll as suggested below. ... My solution was to go into IIS and change the folder e.g. ... > There are 2 modes of Web Server Connection access, ...
    (microsoft.public.dotnet.framework.aspnet)
  • assemblies keep getting errors
    ... dll are stored in the root 'bin' folder, they are properly declared in the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: file and directory ownership question
    ... >I am fairly new to the unix security and am trying to get my head ... >sensitive files and directories owned by bin by default. ... most care protecting the root account, ... on the server. ...
    (comp.security.unix)
  • Avoiding Deploying Same Assembly In Different Subdirectories
    ... and the other 3rd party assemblies are found ... once into the root and once into ... the C++CLR DLL that needs ... Microsoft.VC80.CRT sits in the bin folder and so Windows apparently ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Cannot Telnet to Solaris 5.7 server
    ... > This is on a Solaris 5.7 server and I noticed that there is no Bin ... > a Solaris 5.6 server they both have a bin directory under the root ...
    (comp.unix.solaris)