Real big deployment problem

G

Guest

Hello,

I’ve got a very strange but big deployment problem.

I’ve written an asp.net application with an usercontrol on a webform. The
usercontrol reads all picture names out of a mssql database, then it writes a
html table with all pictures as “<imgâ€. So all pictures are displayed near
each other.

Within the development environment it works (Windows server 2003 with
VS.NET2003 installed). On the production server e.g. www.myserver.com the
pictures are not displayed within the page. No error occurs, but the control
is just not executed. When I copy all files from the root to a map within the
root named Test (so that’s www.myserver.com/test) or Second
(www.myserver.com/Second) everything goes well (off course I right click the
directories and say create application, all other pages with other controls
that are part of the webapplication are working fine). The production server
is windows 2000 sp4 IIS 5. No errors occur, and I can’t debug it, because I
can’t reproduce the problem anywhere else except on the production server
where the site needs to run……..

So:

- I am constantly using the same files
- www.myserver.com = not working
- www.myserver.com/Test = working
- www.myserver.com/Secound = working


Looked everywhere on the Internet but can’t find any solutions???

Any help please???

Charl
 
G

Guest

Hey Charl,

That is a bit strange, the best I would reccomend would be to check the
application settings for the root of your website in IIS (Make sure it is set
as a virtual application directory and has an application name etc.). As it
works in sub-folders but not the root folder, I think this is your best bet.

If this doesn't work though, you could run it from a sub-folder, and just
palce a htm file in the root folder that will automatically redirect users to
the new page through any number of ways, such as either a meta refresh,
javascript redirect, or both. This was users can stil laccess your site with
www.myserver.com, they will just be redirected to www.myserver.com/folder as
soon as they arrive. It's not a fix to the problem, but it is a very very
simple way around it

- B
 
S

Steven Cheng[MSFT]

Hi Charl,

Looking at the symptom of the problem you met, it was really a bit strange.
Does the
" No error occurs, but the control
is just not executed. "

you mentioned means the control didn't ouput any html code?

Is it ok that you try modifying the control's code so as to output any
string to see whether all the events of the control has got executed in the
page's lifecycle. Also, is the problem also occur on any other UserControl?

In addition, one thing we can check is your usercontrol's path, how do you
reference the ascx file in your page's code, is it possbile that the page
fails to get reference ot the UserContorl correctly?
Anyway, since this is not a normal behavior, we have any better means but
troubleshoot steps by step to isolate it.

If there are any new findings, please feel free to post here. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top