changes to the aspxfiles does not show in the browser

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?
 
B

Bjarke

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)
 
B

Bjarke

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)
 
B

Bjarke

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)
 
B

Bjarke

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top