Solved

ASPX Redirect confusion

Posted on 2013-06-29
8
188 Views
Last Modified: 2013-10-07
One of my customers runs an ASP.Net site.  The code is from Visual Studio 2005, the OS is Win 2003 SP2, and the IIS version is 6.0.

One of her folders is MySite_Info and under that she has Blog.aspx.

Every attempt to go to MySite_Info/Blog.aspx results in an error-based redirect  with the querystring ?aspxerrorpath=/MySite_Info/Blog.aspx.  Her MySite_Info folder is configured to send 404's back to the home page.  That setting is being triggered ... BUT the PAGE is THERE!

The permissions on that file are the same as on other files in the same folder.

What would trigger the redirect?

Thanks!
0
Comment
Question by:Daniel Wilson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 2
8 Comments
 
LVL 32

Author Comment

by:Daniel Wilson
ID: 39287606
OK, I got a little further.  With CustomErrors Mode="RemoteOnly",  I see what's wrong.

Kind of.

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0012: The type 'SiteName.database.VSS`1<T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'App_Code.vwzdvpzh, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.

Source Error:

 

Line 52:     // and the Pick
Line 53:     protected void LoadFields() {
Line 54:         DataTable dt = PickDB.GetRandomPicks(1, Master.vsi);    // get the next random pick
Line 55:         try {
Line 56:             int id = Util.ToInt(dt.Rows[0]["LayoutID"]);
 
Line 54 is the one it's complaining about.  But that's a REALLY weird assembly name to be missing.  And ... this thing was working a few months ago ...
0
 
LVL 32

Author Comment

by:Daniel Wilson
ID: 39287613
per http://stackoverflow.com/questions/496269/asp-net-page-says-i-need-to-reference-an-assembly-that-does-not-exist

I will try deleting the temp files from C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\ but some are locked.  I think I'll need to take IIS down for a couple minutes to do so.
0
 
LVL 11

Accepted Solution

by:
Sanjay Santoki earned 500 total points
ID: 39289730
Hello,

Try to remove temporary files as well as make all the supportive DLLs are put under bin folder.

If it does not work; you may need to look at the code. I have limited knowledge on coding so may not be able to assist you further.

Regards,
Sanjay Santoki
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 32

Author Comment

by:Daniel Wilson
ID: 39289926
Wrong answer.  Clearing that temp folder accomplished nothing.
0
 
LVL 32

Author Comment

by:Daniel Wilson
ID: 39289969
Actually ... clearing the temp folder did get me to a different error message.  I'll try working through that.  Clearing the Bin folder unfortunately took down the whole site, so I put the DLL's back there.
0
 
LVL 11

Expert Comment

by:Sanjay Santoki
ID: 39290159
If you clear temp file; i would compile your website and generate supported files again...
0
 
LVL 32

Author Comment

by:Daniel Wilson
ID: 39293445
Doesn't that compilation happen automatically?

The DLL's in the Bin folder were controls or libraries referenced by the project, not the DLL(s) for the project itself.
0
 
LVL 32

Author Closing Comment

by:Daniel Wilson
ID: 39553916
Partial solution ... thanks!
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

621 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