473,811 Members | 3,021 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Odd Ball Situation

Never seen anything like this. I have a C# app on the web that executes as
expected, except for one subdirectory.

In this particular subdirectory, the application fails to execute the C#
code and just returns the code as static HTML.

No compilation errors. No missing refs.

No idea what could be wrong!

Any ideas?

Mar 8 '06 #1
3 968
Sounds like what happens when IIS hasn't had ASP.NET registered with
it. Go to the virtual directory in IIS and view it's properties. Click
the Configuration button on the Directory tab. Under Mappings you
should see that .aspx, .asmx, .asax etc are all registered (and use
..NET's aspnet_isapi.dl l).

If your folder isn't a Virtual Directory then it must be inheriting
it's application configuration from a higher folder.

Is this the case for all folders on this machine? If so, you just need
to register aspnet with IIS (using aspnet_regiis -i at the .NET command
prompt). If it's just the virtual, you could probably delete and
recreate it - it should get the default settings like all the others
then.

Let me know how you get on.

Josh
http://www.thejoyofcode.com/

Mar 9 '06 #2
Appreciate the answer. The topology is as follows:

/root <<< aspx files work.
/root/Sales <<< aspx files work.
/root/MembersArea <<< aspx files fail. (Physical dir, not virt.)

Given this, any other possibilities?
On 3/9/06 3:40 AM, in article
11************* *********@j33g2 00...legr oups.com, "Josh Twist"
<jo********@gma il.com> wrote:
Sounds like what happens when IIS hasn't had ASP.NET registered with
it. Go to the virtual directory in IIS and view it's properties. Click
the Configuration button on the Directory tab. Under Mappings you
should see that .aspx, .asmx, .asax etc are all registered (and use
.NET's aspnet_isapi.dl l).
If your folder isn't a Virtual Directory then it must be inheriting
it's application configuration from a higher folder.

Is this the case for all folders on this machine? If so, you just need
to register aspnet with IIS (using aspnet_regiis -i at the .NET command
prompt). If it's just the virtual, you could probably delete and
recreate it - it should get the default settings like all the others
then.

Let me know how you get on.

Josh
http://www.thejoyofcode.com/


Mar 9 '06 #3
Hmm..

What OS/Version of IIS are you running?

Is the Physical Directory configured to run as an application (If
you're not sure, view the properties of the directory (in iis) and on
the Directory tab you should see a create button. If this button is
disabled your directory is running as an application). If so, click the
configuration button and check that aspx etc are registered properly as
explained above.

Is 'script source access' checked? Are the Execute Permissions set to
'Scripts only' or 'Scripts and Executables'? Is there anything
different about the physical directory's setup (maybe Authentication
for your members area)?

Interesting.

Josh
http://www.thejoyofcode.com/

Mar 9 '06 #4

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

Similar topics

2
1490
by: MV | last post by:
Hi, I want to try and get a lottery type script to run in these two browsers before i put it on my site. It runs OK in I.E.6 and my friend says it works in netscape 7 so i can't see the problem with 6, they're both fairly modern - aren't they? I'm not looking for someone else to do the legwork, just point me in the right direction. It looks like it's down to some browser-feature
5
1651
by: carl bloc | last post by:
Has any body got any code for this brief that a friend has to do, its for the uk version of the lottery i.e 6 balls and a bouns ball. 1. a control loop is required to determine the operation required by the user 2. use of a switch structure to execute required operation 3. read old draw data from file into arrays on programme start up 4. allow the user to enter the latest data 5. allow the user to modify existing draw data 6. view draw...
3
2189
MMcCarthy
by: MMcCarthy | last post by:
Has anyone experienced this problem and found a solution. I have a multipage form used to edit specified record. This form opens up filtered to a specified record and its relevant subforms etc. However, when I accidently move the roller ball on the mouse the form moves to a blank record. This form is set Not to allow additions. I have tried changing various settings but nothing seems to work. Any suggestions?
1
2264
ilikepython
by: ilikepython | last post by:
Hi, I made a pong game with pygame. It works pretty good but I want the ball to bounce realistically. Just like in real pong when it bounces off the right edge it goes to the right and when it bounces off the left edge it goes to the left. Right now, I just reverse the x speed of the ball (3 becomes -3). I need a way for the ball to bounce off the paddle depending on where it hit. I tried looking on Google but I couldn't find anything. Does...
7
4000
by: Bigs | last post by:
Source: http://fileho.com/download/120846695042/bounce2.zip.html How would I go about making a wall for my bouncing ball? For example if the ball hit the center box it would bounce.
1
2645
by: sake | last post by:
Dear All, I'm working on a 3d breakout game in C++, and I'm having a little trouble with the collision. It will detect that the ball has hit the paddle just fine, but after that, how do I determine where the ball should go? I've just been mirroring the direction Ball.Velocity().x *= -1; But this makes for very uninteresting gameplay. Any help would be very greatly appreciated.
2
1778
by: SilentCodingOne | last post by:
I have a application where each time you click the add ball button a new randomly colored ball is added to the jpanel. It works fine except that the balls suddenly stop at the same spot. I want them to continue to bounce for a longer period of time instead of like 8 bounces. It was going around withoutstopping prior to my getting the add new ball part working. I cannot seem to figure out what I did wrong. Also curious if anyone new of a tip as...
0
1984
by: andreachilam | last post by:
I am doing a project of creating a playing pool and 2 balls bouncing within the pool. I have tried to use "while loop" and "if statement" to set restriction limiting the ball not to bounce out of the pool. However, the ball doesn't move or bounce. It moves but stops after it hits one of the walls when I write this function below: def move_ball(heading): t1=turtle.Pen() t1.color("yellow") t1.shape("circle") ...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10647
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10133
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9204
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7669
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6889
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5554
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4339
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
3
3017
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.