PC Review


Reply
Thread Tools Rate Thread

different behavior - localserver vs prod server

 
 
CC
Guest
Posts: n/a
 
      6th Feb 2004
I noticed several differences between the way my code behaves on my
local machine, and how it behaves on the server. I've found work
arounds for all but a few issues. Any help would be greatly
appreciated!

- SmartNavigation doesn't seem to be working right. I have multiple
dropdowns on a page. With the smartNavigation property set to true,
pressing the 'Back' button should go back to the 'previous' screen
(which was a menu) no matter how many drop down items were selected.
This works properly on my local machine, but on the production server,
it does not: if I make a selection from all three drop downs, for
example, I have to press the Back button three times to get back to
the menu. Since the smartnav works fine for another developer here
(same server, different application), I'm thinking it must be
something with my code and not the server.

- RangeValidator is not working. Works fine to prevent erroneous
entries (checking a date range) on my own machine, but does not seem
to even be invoked on the production server... so bad data is ending
up in the db. I'm wondering if this is associated with the smart
navigation problem?

I want to keep the smartnavigation property set to true
All components are set to autopostback.
I'm working in C# with a little jscript... though a little new to
both...

Thanks!!
Carol
 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      6th Feb 2004
Smart Navigation and Client Range checking are implemented by client script,
not server code.

check that you can access the client scripts. view source and look for
<script src="????/smartnav.js"> and <script src="????/webuivalidation.js">.
type the src urls into the browser, and see if they are correct. if not, the
server is setup wrong. if you don't find the <script> entires, then browser
detect is not working.

-- bruce (sqlwork.com)


"CC" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I noticed several differences between the way my code behaves on my
> local machine, and how it behaves on the server. I've found work
> arounds for all but a few issues. Any help would be greatly
> appreciated!
>
> - SmartNavigation doesn't seem to be working right. I have multiple
> dropdowns on a page. With the smartNavigation property set to true,
> pressing the 'Back' button should go back to the 'previous' screen
> (which was a menu) no matter how many drop down items were selected.
> This works properly on my local machine, but on the production server,
> it does not: if I make a selection from all three drop downs, for
> example, I have to press the Back button three times to get back to
> the menu. Since the smartnav works fine for another developer here
> (same server, different application), I'm thinking it must be
> something with my code and not the server.
>
> - RangeValidator is not working. Works fine to prevent erroneous
> entries (checking a date range) on my own machine, but does not seem
> to even be invoked on the production server... so bad data is ending
> up in the db. I'm wondering if this is associated with the smart
> navigation problem?
>
> I want to keep the smartnavigation property set to true
> All components are set to autopostback.
> I'm working in C# with a little jscript... though a little new to
> both...
>
> Thanks!!
> Carol



 
Reply With Quote
 
CC
Guest
Posts: n/a
 
      9th Feb 2004
Thanks Bruce. I do see those in the source:

<script language="javascript"
src="/aspnet_client/system_web/1_1_4322/WebUIValidation.js"></script>


<script language="JScript"
src="/aspnet_client/system_web/1_1_4322/SmartNav.js"></script>

But I don't understand what you mean when you say to type the src urls
into the browser to see if they are correct. Are you saying that I
should type something like this in the browser:

http://myprojectname/aspnet_client/s...alidation.js??

Thanks,
Carol


"bruce barker" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> Smart Navigation and Client Range checking are implemented by client script,
> not server code.
>
> check that you can access the client scripts. view source and look for
> <script src="????/smartnav.js"> and <script src="????/webuivalidation.js">.
> type the src urls into the browser, and see if they are correct. if not, the
> server is setup wrong. if you don't find the <script> entires, then browser
> detect is not working.
>
> -- bruce (sqlwork.com)
>
>
> "CC" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I noticed several differences between the way my code behaves on my
> > local machine, and how it behaves on the server. I've found work
> > arounds for all but a few issues. Any help would be greatly
> > appreciated!
> >
> > - SmartNavigation doesn't seem to be working right. I have multiple
> > dropdowns on a page. With the smartNavigation property set to true,
> > pressing the 'Back' button should go back to the 'previous' screen
> > (which was a menu) no matter how many drop down items were selected.
> > This works properly on my local machine, but on the production server,
> > it does not: if I make a selection from all three drop downs, for
> > example, I have to press the Back button three times to get back to
> > the menu. Since the smartnav works fine for another developer here
> > (same server, different application), I'm thinking it must be
> > something with my code and not the server.
> >
> > - RangeValidator is not working. Works fine to prevent erroneous
> > entries (checking a date range) on my own machine, but does not seem
> > to even be invoked on the production server... so bad data is ending
> > up in the db. I'm wondering if this is associated with the smart
> > navigation problem?
> >
> > I want to keep the smartnavigation property set to true
> > All components are set to autopostback.
> > I'm working in C# with a little jscript... though a little new to
> > both...
> >
> > Thanks!!
> > Carol

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Q: Login Control is behaving strange when site on prod server. Martin Arvidsson, Visual Systems AB Microsoft ASP .NET 2 8th Apr 2008 04:16 PM
Using Login control. In prod server, Need to attach App_Data mdffiles to database. Help. aboutjav.com@gmail.com Microsoft ASP .NET 0 28th Feb 2008 11:41 PM
64 bit prod web server pre-compile problems?? jobs Microsoft ASP .NET 0 9th Oct 2007 04:27 PM
I keep losing session state on Prod server Keith-Earl Microsoft ASP .NET 4 3rd May 2004 02:58 PM
Parser Error when running on prod server Kenneth Microsoft ASP .NET 1 20th Aug 2003 04:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:01 PM.