473,566 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

OnSelectedIndex Changed DDL not working now in .NET2. WebResource.axd culprit?

(repost!)

I have a simple and common scenario. I'm developing pages in VWD and FTP-ing
them over to a test servr running Window 2003, NET2 Framework. On my page,
I have a DDL that causes a postback and executes a sub when the value has
changed. For some reason, it just quit working. I get a js error in IE6
(but NOT in FF 1.5) and gives me a vague error about:

'event' is null or not an object.Line X, character X.

I try to find line X in my markup (view source) and it's nothing even close
to the right line. I whip up a new test page and have a DDL change a
label's text with OnSelectedIndex Changed and all works fine. Yet, my page
that has worked for months just "stopped" working. I added a new DDL to
the same page and called the same sub and got the same error.

After doing some searching, I found this thread where this guy had the same
problem: http://forums.asp.net/thread/1146679.aspx

However, I don't really understand his workaround or the Project Conversion
Wizard (huh?) solution from MS. I never converted this page from 1.1 to
2.0. It has always been a 2.0 page created in VWD Express. After comparing
the source code from my whipped up test page and my now failing page, I
found this line in my failing page and it is NOT in my test page:

<script
src="/olga3/WebResource.axd ?d=0SzioPWWyjhw 2E9CY1GR8w2&amp ;t=632749912169 396975"
type="text/javascript"></script>

I looked and all of my pages in my .NET app have this line in browser source
code. Yet, any NEW pages I create in this app don't show this in my source
code on the test server.

What is this line and why is it there? There is no WebResource.axd file on
my test server. Could this be the problem? How did this happen? I
recently did a massive Windows update - was the .NET2 framework recently and
quietly updated causing this? What is my solution?

I have uninstalled NET2 on the server and completely reinstalled it. I also
deleted all files on the server and put fresh copies on it. Problem still
occurs.

Thanks in advance for all help!!
May 18 '06 #1
0 1493

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

Similar topics

8
2503
by: jojobar | last post by:
Okay, I am trying to do is to test the webresource in 2.0 1. I created a new project with assembly name (and default assembly name) "Office". 2. I added the following to the AssemblyInfo.cs file (present under the Properties folder of the project) 3. Now I created a file called test.js on the root folder of the project,
7
11009
by: awyl | last post by:
I tried to use validation in asp.net 2.0 with the following code. <%@ Page Language="c#" %> <html> <body> <form runat="server"> <asp:TextBox ID="abc" runat="server"> </asp:TextBox> <asp:RequiredFieldValidator ControlToValidate="abc" runat="server"></asp:RequiredFieldValidator>
3
13945
by: RobertS | last post by:
I'm trying to figure out what I need to do to configure IIS 5.1 on XP Pro to work when referencing WebResources.axd. For example, I have an aspx script that works fine when run from Visual Web Developer 2005 (Express Edition) built-in web server, but fails when run under IIS (same file, same location). I think I've tracked the problem to...
1
1859
by: Groove | last post by:
I have a strange problem. It seems that for some reason, a OnSelectedIndexChanged event is no producing an error in IE6. What concerns me is that I just performed that large Windows update a couple of weeks ago and it updated ActiveX "stuff" in IE. I'm not sure if the update has effected IE or there's something wrong with mt .net...
0
1337
by: sunev | last post by:
I have a question regarding WebResource and in particular the PerformSubstitution. I see that the <%=WebResouce(…)%can be used with a WebResource to perform substitution on a resource to substitute the WebResourceUrl of other resource referenced with the first (perhaps an image within an html file). What I would like to be able to do is...
8
8437
by: Mark Rae | last post by:
Hi, I'm developing an intranet for a client. On my development machine, I have created a virtual directory called, fairly unimaginatively, intranet. However, the client wants to deploy the app into its own site, rather than into a virtual directory, on the production server. Problem now is that the production site can't find...
2
808
by: Håkan | last post by:
I have a problem with WebResource.axd Most of the requests to this site work just fine but every now and then I recive described below: Date: 2007-02-13 15:20 RawUrl=/WebResource.axd?d=2X-p-JOqLnRCeGYyigKrMg2&t=632988382868932500 Exception Type: System.Web.HttpException
2
2582
by: zb | last post by:
I have my code directory structured this way App App\Pages <- contains ASPX files App\Pages\Common App\Pages\Common\Controls <- has user controls App\Pages\Common\Controls\SupportingJS <- has .js script files located here THe .js file is marked as embedded resource in VS.
2
1968
by: Roberto Rasto | last post by:
I have an application that use Componentart WebUI calendar control. When I execute on local everything works fine. When I execute on server I get the javascript error: Expected ')' I compared the two html source and I saw then on local I see WebResource.axd?d=...... On server source I can't see it. Can you help me? Thanks.
0
7666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7888
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7951
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2083
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
925
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.