Just starting to learn.?? Why does not my asp app run?

  • Thread starter Thread starter Morten
  • Start date Start date
M

Morten

Hi.

I am just startin to learn asp.net.
Have developed a small test on my dev w2k mashine (vb.net).
Localy everything and from my laptop calling my dev machine it works fine.
But when I build a setup and install on my laptop all I can get is what
seems to be the pure html code in default.aspx.
I have also installed vb.net on the laptop.
Have made a copy of the project on the laptop and i desing it looks like it
should, why not in the browser.
Guess there is some security i have missed.

Any ideas?

Thanks

Morten
 
There are several possible problems which I cannot
determine because of a lack of information.

The following steps should make your application work.

1. In VS.net in your solution explorer, select the project
file.
2. A copy icon will appear above it.
3. Click the copy icon.
4. A dialog will appear asking you to copy the project.
5. In the destination folder it will automatically prepend
copy_of_ to your project name. You can change this if you
like.
6. Keep the following default options.
a. Front Page
b. Copy only files needed to run this application.

This create a new virtual directory in IIS and will copy
all the files necessary to run the application to that new
directory.

7. Browse to c:\inetpub\wwwroot\copy_of_Your_Project.
8. Copy this folder to your destination server.
9. Create a virtual directory under the Defalut Web Site
in IIS.
10. Set the path to the location where you placed your
files in step 8.
11. Open a browser and type
http://localhost/VirtualDirectoryName/default.aspx

Your application should now run.


Keep in mind that you must be running IIS 5.0 or greater
with the .net framework on the web server in which you are
serving the web application.

Hope that helps,

Billy Jacobs
 
Back
Top