|
-
Jun 8th, 2005, 08:35 AM
#1
Thread Starter
Addicted Member
configure ASP.net beta 2 on server (SOLVED)
Hello..
I made a webapplication in ASP.net beta 2 and now it is finished I would like to publish it on my server.. But I don't know how?
Is there someone who can explain me how to publish my webapplication on my server? (step by step )
I tried everything I could think of, but it won't work
tnx in advance!
greetz
nickname
Last edited by nickname; Jun 9th, 2005 at 08:07 AM.
Software Engineer
DBA
Webdesigner
--
to code or to be coded, that's the question
-
Jun 8th, 2005, 07:57 PM
#2
Member
Re: configure ASP.net beta 2 on server
complie it, take the compiled code, asp code, web.config and globals.asax to a folder on a web server that supports asp.net 2.0
there should be a patch to update iis to 2.0 when you download the new 2.0 framework
-
Jun 8th, 2005, 08:18 PM
#3
Frenzied Member
-
Jun 8th, 2005, 10:19 PM
#4
Member
Re: configure ASP.net beta 2 on server
-
Jun 8th, 2005, 10:55 PM
#5
-
Jun 8th, 2005, 11:03 PM
#6
-
Jun 9th, 2005, 01:54 AM
#7
Thread Starter
Addicted Member
Re: configure ASP.net beta 2 on server
Hello..
tnx very very much! Tis is what I needed..
Now, I'm going to try it out..
I'l let you know how it went..
greetz
nickname
PS: indeed, configuring a server for ASP.net is new to me
Software Engineer
DBA
Webdesigner
--
to code or to be coded, that's the question
-
Jun 9th, 2005, 02:40 AM
#8
Thread Starter
Addicted Member
Re: configure ASP.net beta 2 on server
Hello..
For some reason it wont work..
Maybe I'm putting the wrong files on the server?
When I chose for 'Build' ->'publish' in Visual Studio it creates an directory 'precompiled'.. Those files I put on the server..
greetz
nickname
Software Engineer
DBA
Webdesigner
--
to code or to be coded, that's the question
-
Jun 9th, 2005, 02:48 AM
#9
Frenzied Member
Re: configure ASP.net beta 2 on server
No I'm not sure what publish does for ASP.NET applications, I've only ever used for Windows applications (which rocks, by the way). From the build menu choose "Build Solution".
-
Jun 9th, 2005, 03:05 AM
#10
Thread Starter
Addicted Member
Re: configure ASP.net beta 2 on server
 Originally Posted by TomGibbons
No I'm not sure what publish does for ASP.NET applications, I've only ever used for Windows applications (which rocks, by the way). From the build menu choose "Build Solution".
.. and then just putting the files
- Default.aspx
- Default.aspx.vb
- web.config
on the server?
Software Engineer
DBA
Webdesigner
--
to code or to be coded, that's the question
-
Jun 9th, 2005, 03:09 AM
#11
Frenzied Member
Re: configure ASP.net beta 2 on server
You don't need to copy over the .vb files because that's the source that gets compiled. The assemblies are in the 'bin' directory which you need to copy over to the server.
-
Jun 9th, 2005, 04:06 AM
#12
Thread Starter
Addicted Member
Re: configure ASP.net beta 2 on server
 Originally Posted by TomGibbons
You don't need to copy over the .vb files because that's the source that gets compiled. The assemblies are in the 'bin' directory which you need to copy over to the server.
Maybe a stupid question, but where can I find that 'bin' directory? It is not in my project directory
greetz
nickname
Software Engineer
DBA
Webdesigner
--
to code or to be coded, that's the question
-
Jun 9th, 2005, 04:52 AM
#13
Frenzied Member
Re: configure ASP.net beta 2 on server
I assume you're using codebehind because of the .aspx.vb files... were there any errors when you tried to compile?
-
Jun 9th, 2005, 05:03 AM
#14
Thread Starter
Addicted Member
Re: configure ASP.net beta 2 on server
 Originally Posted by TomGibbons
I assume you're using codebehind because of the .aspx.vb files... were there any errors when you tried to compile?
nope, everything works just fine..
Even when I put the files
-Default.aspx
-Default.aspx.vb
-Web.config
on my local IIS, other users can go to the page and it works..
Only on the server it wont work..
greetz
Software Engineer
DBA
Webdesigner
--
to code or to be coded, that's the question
-
Jun 9th, 2005, 05:06 AM
#15
Frenzied Member
Re: configure ASP.net beta 2 on server
Oh I'm sorry. I've been misleading you a little bit with the compiling. I didn't realise how much they'd changed it in 2005. I'm giving you instructions for 2003 here.
Okay I've worked out what's going on. You do indeed need to publish the project. By default that's created a load of files in my documents folder here;
F:\Documents and Settings\Tom\My Documents\Visual Studio\Projects\WebSite3\PrecompiledWeb\WebSite3
There you will find the files you need to copy over, including the bin directory.
My sincerest apologies for that 
P.S. I've given you the location of my files for you to use as a reference. You should be able to work out where yours are, if you followed the default like I did.
-
Jun 9th, 2005, 05:09 AM
#16
Thread Starter
Addicted Member
Re: configure ASP.net beta 2 on server
 Originally Posted by TomGibbons
Oh I'm sorry. I've been misleading you a little bit with the compiling. I didn't realise how much they'd changed it in 2005. I'm giving you instructions for 2003 here.
Okay I've worked out what's going on. You do indeed need to publish the project. By default that's created a load of files in my documents folder here;
F:\Documents and Settings\Tom\My Documents\Visual Studio\Projects\WebSite3\PrecompiledWeb\WebSite3
There you will find the files you need to copy over, including the bin directory.
My sincerest apologies for that
P.S. I've given you the location of my files for you to use as a reference. You should be able to work out where yours are, if you followed the default like I did.
Now thats a valuable post for me!
tnx, I'm gonna try!
greetz
Software Engineer
DBA
Webdesigner
--
to code or to be coded, that's the question
-
Jun 9th, 2005, 05:15 AM
#17
Frenzied Member
Re: configure ASP.net beta 2 on server
Even though that was so confusing, I do like how they've only put what you need to copy over in that folder. Good call Microsoft
-
Jun 9th, 2005, 05:18 AM
#18
Thread Starter
Addicted Member
Re: configure ASP.net beta 2 on server
 Originally Posted by TomGibbons
Even though that was so confusing, I do like how they've only put what you need to copy over in that folder. Good call Microsoft 
The only thing left for me to do is making it possible for other users to access the server, and I'm finished.. It's a windows 2000 server.. But that doesn't belong in this post I guess ;-)
tnx very very much!
greetings from belgium
nickname
Software Engineer
DBA
Webdesigner
--
to code or to be coded, that's the question
-
Jun 9th, 2005, 08:07 AM
#19
Thread Starter
Addicted Member
Re: configure ASP.net beta 2 on server
also struggled with an old MDAC driver but now everithing works fine!
tnx again..
greetz
nickname
Software Engineer
DBA
Webdesigner
--
to code or to be coded, that's the question
-
Jun 9th, 2005, 07:37 PM
#20
Member
Re: configure ASP.net beta 2 on server (SOLVED)
interesting find guys, well done
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|