JodoHost .Net problem

Okay,
Created a new web application using visual studio called nick.
Added a blank Webform1.aspx saved and recompiled.
Altered web.config to be the following:

<system.web>

</system.web>

Saved and recompiled.

When viewing the page I get the following error msg:
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 ‘nick._default’.

Source Error:

Line 1: <%@ Page language=“c#” Codebehind=“default.aspx.cs” AutoEventWireup=“false” Inherits=“nick._default” %>
Line 2:
Line 3:

Source File: C:\hshome\riggers\lower.jodoshared.com\nick\default.aspx Line: 1

Any ideas?

You’re using code-behind with a compliled DDL. You need to copy that dll into your BIN directory off the web root.
-Dave

[QUOTE=WineIsGood]
You’re using code-behind with a compliled DDL. You need to copy that dll into your BIN directory off the web root.
-Dave
[/QUOTE]

Thanks for your reply.
But Visual Studio is placing the dlls in the bin directory already.
Or are you saying it needs to be in /bin/ not /nick/bin/?

if its the latter, is this the only way it will work @ Jodo? in an intranet environment both methods work fine…

Cheers
Nick

It needs to be in \bin, directly off the root of your web application.
-Dave

[QUOTE=riggers]
Thanks for your reply.
But Visual Studio is placing the dlls in the bin directory already.
Or are you saying it needs to be in /bin/ not /nick/bin/?

if its the latter, is this the only way it will work @ Jodo? in an intranet environment both methods work fine…

Cheers
Nick
[/QUOTE]

It needs to be in the /bin directory directly under your web app. Example - if your web app is in /nick:

/nick
[INDENT]Webform1.aspxv[/INDENT]
[INDENT]web.config[/INDENT]
/nick/bin
[INDENT]dll files[/INDENT]

Actually, HSphere only creates applications in the domain folder and not its sub folders. If you want to run an application in a sub folder, you’d have to contact us and we’d manually set it up

[QUOTE=Yash]
Actually, HSphere only creates applications in the domain folder and not its sub folders. If you want to run an application in a sub folder, you’d have to contact us and we’d manually set it up
[/QUOTE]

Yash,
Thanks for all your help with this everything now works perfectly :slight_smile:

Nick