Solved

Unexpected call to method or property access since deploying website asp.net

Posted on 2012-03-22
5
511 Views
Last Modified: 2012-08-14
Hi All,

During the development process of my website it works great on local host. Since deploying the website on the web server I get the following message when I go to the page: -

http://ssdintranet/systems/SalesReport.aspx

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3)
Timestamp: Thu, 22 Mar 2012 11:49:47 UTC


Message: Unexpected call to method or property access.
Line: 280
Char: 25
Code: 0
URI: http://intranet/Systems/ScriptResource.axd?d=7MrikHdkIYY-qKRcr2qUdK5wb7CNJ_kmJEQC2e0-zvQOtNMRvjyLCrtcukn2u1ozaP0gA2YwoZf78xbpIPitEjzNGEqx6GbWODr1bqrFop41&t=252a36c5


The line seems to be: -

<script type="text/javascript">

When I go to view code in IE.

What do you think will be causing this please?

Many Thanks
Lee
0
Comment
Question by:Codingitup
  • 3
  • 2
5 Comments
 

Author Comment

by:Codingitup
ID: 37752199
It seems to show this error and also i've added round button extension to the buttons and this does not show once deployed. Only shows the standard button shape.

Best Regards
Lee
0
 

Author Comment

by:Codingitup
ID: 37752349
If I remove the ajax extension on the button the error goes away.

Best Regards
Lee
0
 
LVL 9

Accepted Solution

by:
gery128 earned 500 total points
ID: 37753136
The roundedCornersExtender won't work with button. Use divs. From this link:

http://forums.asp.net/p/1352765/2766571.aspx


I agree with cninjas, the RoundedCornersExtender can only be populated to Panel, and the description of the ‘TargetControlID’ is not correct. I recommend you report this issue to the IssueTracker of the CodePlex Team to get more help.
0
 

Author Comment

by:Codingitup
ID: 37764515
Hi,

I've managed to get it working with other websites but can't on this one. i'm just wondering as this article was from 4 years ago if this functionality as been added.

Bets regards
Lee
0
 
LVL 9

Expert Comment

by:gery128
ID: 37764603
Does other AjaxControlToolkit controls working fine on your deployed site? You may want to check if the web server has correct version of .NET and Ajax Control Toolkit installed on it.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now