changes to the aspxfiles does not show in the browser

  • Thread starter Thread starter Bjarke
  • Start date Start date
B

Bjarke

I am working on a project that is developed by another Company. The
project is a webapplication project, in asp.net 2.0, and was sold
along with the sourcecode. My job is to move some web user controls
from one page in the project to anther.

The problem

If I change anything in the aspx file, nothing happens when I build
and run the page in a browser.

I tried to add a div tag which was styled to be a red 500X500px
square. The square was visible in visusal Studio when in was set to
design mode.

Any ideas what the problem is?
 
Hello Peter!
Are you sure that the IIS Application this runs under is located where your
source files are, or somewhere else? Sounds like the latter.


This could be the problem! I have set up a new website in IIS and run
the project from this folder. But every time I run the application
from Visual Studio it starts a developement server.

I would believe that it would work the same this way, but it is
absolutely worth a try.

Do you know how I get the application to run under IIS? The Website is
set right in IIS I believe. WHen I type http:/localhost/images/
banner.jpg in the browser It shows the image. But If I try to run one
of the aspx files I get the message:
Server Error in '/' Application.
The resource cannot be found.

I even get this message if I rightclick the file in IIS and
choose"explore" (Just to assure that I dont misspell the URL)
 
Hello Peter!
Are you sure that the IIS Application this runs under is located where your
source files are, or somewhere else? Sounds like the latter.


This could be the problem! I have set up a new website in IIS and run
the project from this folder. But every time I run the application
from Visual Studio it starts a developement server.

I would believe that it would work the same this way, but it is
absolutely worth a try.

Do you know how I get the application to run under IIS? The Website is
set right in IIS I believe. WHen I type http:/localhost/images/
banner.jpg in the browser It shows the image. But If I try to run one
of the aspx files I get the message:
Server Error in '/' Application.
The resource cannot be found.

I even get this message if I rightclick the file in IIS and
choose"explore" (Just to assure that I dont misspell the URL)
 
Hello Peter!
Are you sure that the IIS Application this runs under is located where your
source files are, or somewhere else? Sounds like the latter.


This could be the problem! I have set up a new website in IIS and run
the project from this folder. But every time I run the application
from Visual Studio it starts a developement server.

I would believe that it would work the same this way, but it is
absolutely worth a try.

Do you know how I get the application to run under IIS? The Website is
set right in IIS I believe. WHen I type http:/localhost/images/
banner.jpg in the browser It shows the image. But If I try to run one
of the aspx files I get the message:
Server Error in '/' Application.
The resource cannot be found.

I even get this message if I rightclick the file in IIS and
choose"explore" (Just to assure that I dont misspell the URL)
 
ooops seemed it was my own fault! I tried the ASP.NET configuration
tool, and found out that I had set the site to run offline.

OK I fixed it. I STILL have the first problem ( whiich this thread
originally was about.
 
Back
Top