473,288 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,288 software developers and data experts.

OnSelectedIndexChanged 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 OnSelectedIndexChanged 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=0SzioPWWyjhw2E9CY1GR8w2&amp;t=63 2749912169396975"
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 1478

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

Similar topics

8
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...
7
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>...
3
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...
1
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...
0
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...
8
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...
2
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 ...
2
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...
2
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.