Solved

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

Posted on 2012-03-22
5
500 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

744 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