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?
Mhm, very strange.. maybe a STRG + Reload helps?

Signature
More on ASP.NET and Silverlight on my blog: http://www.andreas-kraus.net/blog
> 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
[quoted text clipped - 11 lines]
>
> Any ideas what the problem is?
Bjarke - 16 Sep 2007 18:05 GMT
thanks for the reply!
I dont understand (STRG + Reload)????
Are you sure that the IIS Application this runs under is located where your
source files are, or somewhere else? Sounds like the latter.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com
> 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
[quoted text clipped - 11 lines]
>
> Any ideas what the problem is?
Bjarke - 16 Sep 2007 18:29 GMT
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)
Bjarke - 16 Sep 2007 20:12 GMT
I mannaged to get the project to run under IIS instead of the
development server, thanks to this site
http://webproject.scottgu.com/CSharp/HelloWorld/HelloWorld.aspx
But the IIS still pops a 404 error, also when I launch from VS.
> Hello Peter!
>
[quoted text clipped - 17 lines]
> I even get this message if I rightclick the file in IIS and
> choose"explore" (Just to assure that I dont misspell the URL)
Bjarke - 16 Sep 2007 21:20 GMT
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.
Bjarke - 16 Sep 2007 18:30 GMT
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)
Bjarke - 16 Sep 2007 18:47 GMT
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)