I am trying to upgrade an existing site to Atlas. I have Web.config updated. I have a Script Manager and a updatecontrol on the page and when the page loads I get the java error message object expected line:0 item:0 . Any ideas on where I can start looking
to resolve this problem?
I have almost same problem in my site. When I have in my web.config file enabled section customErrors (with some customError pages defined), on every pageLoad I get also the javascript error (Line 3, item 1, Code 0 -- when I try javascript
debug, i can't catch any useful informations). I don't know if it is rule, but maybe it can be useful for you...
I am very suprised, but it seems, that the same error you can see also on official atlas asp web site (at least in my IE browser) -- is it the bug that Atlas doesn't work correctly with customErrors section?
on my page and all the controls have a "cc1" as the tag prefix. When I run the page the first part is a login screen. Atla works fine and update panel works as advertised. If I enter the wronf user name password only the login section updates.
and there are no errors. after I login everything works find and only the panel updates. after login I have a menu in the control I am using. As soon as I click on the menu the page fails and error show up saying
Line:1
Char:1
Error: Object Expected
Code:0
and the menu does not work hence there is no postback. Any Ideas on this is greatly appreciated.
.. the bug was on my side [:)] I have new asp net 2.0 project and I add atlas toolkit by dragging some control to the page of project. This add atlas reference
without changing my web.config file..
So after correction web.config file (add all handlers, modules, and other staff... (like in atlas page sample)) customError works perfect.
Could you post the configuration that you added to your web.config? I actually created a new AJAX enabled project and then copied the web.config file from that to my application and it did not help. Any ideas is greatly appreciated. This is driving me nuts.
mhariri
Participant
1266 Points
509 Posts
Javascript Problem at Page load
Oct 13, 2006 03:09 AM|LINK
Hi,
I am trying to upgrade an existing site to Atlas. I have Web.config updated. I have a Script Manager and a updatecontrol on the page and when the page loads I get the java error message object expected line:0 item:0 . Any ideas on where I can start looking to resolve this problem?
Thansk
vipi
Member
22 Points
23 Posts
Re: Javascript Problem at Page load
Oct 13, 2006 08:42 AM|LINK
Hello mhariri,
I have almost same problem in my site. When I have in my web.config file enabled section customErrors (with some customError pages defined), on every pageLoad I get also the javascript error (Line 3, item 1, Code 0 -- when I try javascript debug, i can't catch any useful informations). I don't know if it is rule, but maybe it can be useful for you...
I am very suprised, but it seems, that the same error you can see also on official atlas asp web site (at least in my IE browser) -- is it the bug that Atlas doesn't work correctly with customErrors section?
Best regards,
*vipi
mhariri
Participant
1266 Points
509 Posts
Re: Javascript Problem at Page load
Oct 13, 2006 01:02 PM|LINK
What I experience is that I add the script manager and update panel to my existing page. I get the
<%@ Register Assembly="Microsoft.Web.Atlas" Namespace="Microsoft.Web.UI" TagPrefix="cc1" %>
on my page and all the controls have a "cc1" as the tag prefix. When I run the page the first part is a login screen. Atla works fine and update panel works as advertised. If I enter the wronf user name password only the login section updates. and there are no errors. after I login everything works find and only the panel updates. after login I have a menu in the control I am using. As soon as I click on the menu the page fails and error show up saying
Line:1
Char:1
Error: Object Expected
Code:0
and the menu does not work hence there is no postback. Any Ideas on this is greatly appreciated.
vipi
Member
22 Points
23 Posts
Re: Javascript Problem at Page load
Feb 23, 2007 07:18 AM|LINK
.. the bug was on my side [:)] I have new asp net 2.0 project and I add atlas toolkit by dragging some control to the page of project. This add atlas reference without changing my web.config file..
So after correction web.config file (add all handlers, modules, and other staff... (like in atlas page sample)) customError works perfect.
mhariri
Participant
1266 Points
509 Posts
Re: Javascript Problem at Page load
Feb 23, 2007 12:47 PM|LINK
Steve Marx
Contributor
2460 Points
643 Posts
Re: Javascript Problem at Page load
Feb 23, 2007 05:58 PM|LINK