Last post Jun 29, 2006 03:44 AM by zhuhua1006
Jun 28, 2006 04:49 AM|DaviCZech|LINK
Jun 29, 2006 03:44 AM|zhuhua1006|LINK
Are you using asp.net 2.0? To asp.net 2.0, it is normal. The development server is different from IIS. For development server, each request is passed to asp.net engine to handle. However, for IIS, only asp.net related request (for example, aspx,asmx) is
passed to asp.net engine. Those static files (jpg, css) is handled by IIS and returned to client directly. That is the problem.
There are two solutions, I think.
1, For static files, use absolute path rather than relative path.
2. In IIS, map the static files to asp.net engine anf let asp.net to handle it.