New to ASP

  • Thread starter Thread starter Brad Allison
  • Start date Start date
B

Brad Allison

I have created my first ASP app and I have a problem. I am building this
application at work, but last night I wanted to take it home to work on. I
put the file on a memory key and transferred it to my laptop. I get errors
when trying to open this file. Something about the project file could not
be opened. I copied the folder directly to \innet\wwwroot

What am I doing wrong here?

Thanks for any insight.

Brad
 
Brad Allison said:
I have created my first ASP app and I have a problem. I am building this
application at work, but last night I wanted to take it home to work on. I
put the file on a memory key and transferred it to my laptop. I get errors
when trying to open this file. Something about the project file could not
be opened. I copied the folder directly to \innet\wwwroot

What am I doing wrong here?

Thanks for any insight.

Brad

Brad,

You need to supply more details:

What "file" did you copy? I think asp.net likes to have both a web.config
and a global.asax
in the root of your application. If you are using the "codebehind" model,
then you
need the compiled dll also.
You did install the .net framework on your laptop?
Did it say *what* project file it couldn't open?

Hans Kesting
 
hi

Its not enough that you just copy it to your wwwroot folder , you have to create that as virtual folder

for that open your IIS and in that you can find your folder in defaultwebsite menu right click it and select property

in general tab check create appliction then click ok and come out from it

then you can acesss it from your brower by apply URL
 
I copied the whole directory, after building the application so I would
imagine that the dll would be included. I do have the .NET Framework on the
laptop, but thinking about it, it is the older version and not 1.1. Could
this be why? I confirmed that global.asax and web.config is in the
directory.

The exact error message that I am getting is "Unable to get the project file
from the Web server. I do have IIS installed and running and the directory
is under the Default Web Site directory and it is set to Application.

I am running all of this on Windows 2000 Professional on both machines (work
and laptop).

Brad
 
When I right click on IIS Default Web Site I do not have a General tab. I
am running IIS 5.0.

Brad

Jagdish said:
hi,

Its not enough that you just copy it to your wwwroot folder , you have to create that as virtual folder

for that open your IIS and in that you can find your folder in
defaultwebsite menu right click it and select property
 
Brad,
Open the Default Web Site.
You see list of Folders.
Right Click on the folder you have created.
Select Properties in that Menu.
It will open a Window .
In the Directory Tab Under Application Settings
There will be Application NAme: if it nothing Then Click on the Create
button.
and Say 'OK'
then ur folder looks different i.e the virtual folder.
now try accessing your folder by saying:
localhost/foldername/<some>.aspx page.
Arvind
 
if you build the project in vs 2003 framework 1.1 you will need framework
1.1 on any server (laptop) you want to deploy on.
It will be a serious issue but i don't know if it will be all, i'm afraid
that there are a lot of things that can go wrong.
 
Back
Top