catalyst2 community forums  

Go Back   catalyst2 community forums > Support > Scripting Support

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 20-02-2008, 07:01 PM   #1 (permalink)
Registered User
 
WillR's Avatar
 
Join Date: Jun 2007
Posts: 10
ASP.NET 2 app

I'm trying to run a .NET 2 blogging app. (http://www.codeplex.com/blogengine). I've enabled .NET version 2 under the domain Website Settings > Website Extensions in HELM. The files are on the web root in a single folder. The installation instructions state that this folder must be set as an ASP.NET 2 application.
On a local host in IIS this would be done thru the folder properties. But what else (if anything) do I need to do in HELM? Currently, I just get an application error returned by the server.
Thanks
Will
WillR is offline   Reply With Quote
Old 20-02-2008, 10:43 PM   #2 (permalink)
Bring me your problems :p
 
paulredpath's Avatar
 
Join Date: Jan 2003
Location: /dev/ahhhhhhhhh
Posts: 3,537
Will,

You can set it as an application using 'virtual directories' in HELM.
paulredpath is offline   Reply With Quote
Old 21-02-2008, 10:27 AM   #3 (permalink)
Registered User
 
WillR's Avatar
 
Join Date: Jun 2007
Posts: 10
ASP.NET app installation

Thanks Paul, I found some further info, which I have pasted below incase anyone else needs clarification.
======================================
By default all \wwwroot folders are already configured as application directories. This allows your asp.net applications to run from \wwwroot\bin.

But if you try to run a asp.net application from a sub-folder ie: \wwwroot\testapp1\bin, this application will likely fail because the \testasp1 directory is not setup as a application/virtual directory.

To make a sub-folder a application/virtual directory, follow these steps:

1. Goto the Helm control panel and find your domain.
2. Then goto the 'Virtual Directories' icon and then click add new
3. Enter the name of your sub-folder in the Virtual Directory Name textbox ie: testapp1
4. Select the Physical Folder and click ok. You should see \testapp1
5. Save
Assuming that the directory \wwwroot\testapp1 already was created, this example would make the \wwwroot\testapp1 folder a application/virtual directory and allow asp.net applications to run from the new \wwwroot\testapp1\bin directory.

NOTE: For this to work correctly, both the "Virtual directory" and "points to path" texts need to be exactly the same. IE: Virtual Directory Name: \testapp1 and Physical Folder: \testapp1
WillR is offline   Reply With Quote
Old 21-02-2008, 01:23 PM   #4 (permalink)
Registered User
 
WillR's Avatar
 
Join Date: Jun 2007
Posts: 10
security/permissions

Further to my last post, the blog app is now running but I think I have a problem with read/write permissions. The setup instructions for the blog state that a certain folder in the virtual dir/app folder must have read/write. I thought I had done this via folder properties in FileZilla on upload, but whenever I attempt to amend blog settings etc, I get a "connect to www.domain.co.uk" dialog with user and password prompts. Could someone please advise what I need to do to get rid of this?
Thanks
Will
WillR is offline   Reply With Quote
Old 21-02-2008, 03:23 PM   #5 (permalink)
Administrator
 
WhiskyFudge's Avatar
 
Join Date: Oct 2003
Posts: 1,484
You need to tick the 'Website Write Permissions' in the Website Settings section of your domain in helm.

HTH

Jas
__________________
Jason Robbins
jason@catalyst2.com
WhiskyFudge is offline   Reply With Quote
Old 21-02-2008, 04:21 PM   #6 (permalink)
Registered User
 
WillR's Avatar
 
Join Date: Jun 2007
Posts: 10
Red face Website permissions

Jason, thanks for your help. My mistake was not enabling the option to "Allow website permissions" under the Web Resources section of my hosting plan. Doh!
WillR is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 11:22 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.