![]() |
| Getting started - aps.net |
|
danadams
|
Hello all. I am rather new to asp.net and HMS. I am able to build an asp.net application localy but am not really sure how to go about deploying it to HMS. If anyone can give me some direction in this area or point me to some documentation that I may have missed I would greatly appreciate it.
thanks in advance |
||||||||||||
|
|
|||||||||||||
|
bobum
Elvis Fanatic
![]()
|
pretty much you copy all of hte source code - in exactly the same directory structure as you have it locally - onto your website - make sure that HMS has your directory set up as an applicaiton directory - make sure that your web.config points to their servers if you are using a database etc and then - browse away. If you are using 2.0 you can precompile and all that but you probably aren't there yet.
|
||||||||||||
|
|
|||||||||||||
|
danadams
|
Thanks for the reply bobum. How do I set the directory up as an application directory? I copied everything over but I get the following error when I run it:
Server Error in '/' Application. Runtime Error |
||||||||||||
|
|
|||||||||||||
|
Connie
|
Just email support with the directory that needs to be made into an application in IIS. support@hostmysite.com
|
||||||||||||
|
|
|||||||||||||
|
danadams
|
Thanks I will do that. I appreciate the help.
Can I have them make the root directory an application directory. If so, does each individual directory have to be set seperately or are sub directories included. |
||||||||||||
|
|
|||||||||||||
|
bobum
Elvis Fanatic
![]()
|
Dont think so - if the root is an app - everything under it SHOULD be part of that application. Be careful doign that though - be sure that you only want to have ONE app at any time. If you decide you want to install a forum or a blog or a CMS afterwards you might find yourself screwed since each probalby needs to be a seperate app.
|
||||||||||||
|
|
|||||||||||||
|
danadams
|
I see thanks for the advice.
If I wanted to use .net as part of my main page do you think would it be best to just redirect to the app from the default page? |
||||||||||||
|
|
|||||||||||||
|
bobum
Elvis Fanatic
![]()
|
not sure I understand the question completely...
|
||||||||||||
|
|
|||||||||||||
|
jraybould
|
Not unless you need to have multiple redirect scenarios. If you just want the one website on your account you can just use an index.aspx page as your home page, which is .NET enabled (the website itself can be set as an application, it's not just subfolders that can do this).
Also...if you needed to have a redirect, you could use .NET to do this. |
||||||||||||
|
|
|||||||||||||
| Getting started - aps.net |
|
||
|



