473,385 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Real big deployment problem

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

Nov 19 '05 #1
2 1102
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

"Charl" wrote:
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

Nov 19 '05 #2
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.)

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Felix | last post by:
Out of no where I'm starting to get these problems and my Deployment projects won't build anymore. Does anyone have any idea what's causing this? I've tried copying these files from another...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
1
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
1
by: Johnny Holland | last post by:
Hi there, We are trying to decide whether to go the ASP.NET route or the rich client route with no touch deployment as described in this article...
0
by: feng | last post by:
Hi, I am having a strange problem right now and I don't even know how to go about it. Someone please help me! Any inputs will be highly appreciated. We have an application that has a VB.Net...
0
by: Michael | last post by:
After a week of beating my head against a wall I still continue to receive the following error message when trying to deploy a package using the cabinet option. The same error occurs with a...
2
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
1
by: =?Utf-8?B?dmNs?= | last post by:
Short version: IE7 and .NET Framework 2.0 breaks no touch deployment for .NET 1.1 applications. IE6 and .NET Framework 1.1 + 2.0 works fine. IE7 with .NET Framework 1.1 only is fine, once we add...
14
by: dE|_ | last post by:
For months I have been happily using a downloaded JS file and inline script to embed and control the parameters of SWF files which I use as mp3 players with actionscript. The last so.addParam...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.