Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

Errors locating WebResource.axd

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
May - 05 Jul 2007 22:44 GMT
We are getting WebForm_DoPostBackWithOptions is not defined and other Java
script errors related to WebResource.axd file. I narrowed down the problem
and found out the cause but can't come up with a solution based on our
application setup. Here is is how our web sites configured on IIS.
Multiple web sites points to the same IP address and some of these web sites
has sub-virtual directories, for example mystore.com is  a web site that has
one or more  virtuals configured store1, store2, etc... so mystore.com/store1
and mystore.com are two different URLs.

Website:somestore.com
website: newstore.com
website: Mystore.com
  virtual:store1
  virtual:store2
  virtual:test1

Now, mystore.com is working fine with no errors because it is locating
WebResource file via this path "/WebResource.axd/...." whereas
mystore.com/store1 causes Javascript errors because it is trying to locate
javascripts built-in through this path "/store1/WebResource.asd/...."

<script
src="/store1/WebResource.axd?d=GDH9bwi9ljRPaO1zUbDGCA2&t=633165740660873260"
type="text/javascript"></script>
Which doesn't exist. I checked the mappings of both website and its virtual
and .axd is mapped to
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
Is there is a way to control the path to WebResource.axd page so it doesn't
add the virtual name to the path? Or do I need to change some parameters in
IIS?

Note: we are getting these errors now because we recently upgraded our
application to VS2005.
May - 08 Jul 2007 08:16 GMT
I am still researching this problem and found out that the src to
webResource.axd on the html page source for mystore.com/store1 is correct but
still can't locate the file if I paste the path
="/store1/WebResource.axd?d=GDH9bwi9ljRPaO1zUbDGCA2&t=633165740660873260 to
the URL I get page can't be displayed error. Is it because we have multiple
websites points to the same IP address and under these web  sites we have
another level of virtuals, web site without any virtuals works fine
(newsite.com) the problem is when a store has multiple virtuals
"mystore.com/store1, mystore.com.store2, etc..."

any idea can help, thanks...

> We are getting WebForm_DoPostBackWithOptions is not defined and other Java
> script errors related to WebResource.axd file. I narrowed down the problem
[quoted text clipped - 29 lines]
> Note: we are getting these errors now because we recently upgraded our
> application to VS2005.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.