JodoHost .Net problem

riggers

Guppy
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:
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

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: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
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
 
WineIsGood said:
You're using code-behind with a compliled DDL. You need to copy that dll into your BIN directory off the web root.
-Dave

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
 
riggers said:
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 the /bin directory directly under your web app. Example - if your web app is in /nick:

/nick
Webform1.aspxv​
web.config​
/nick/bin
dll files​
 
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
 
Yash said:
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

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

Nick
 
Back
Top