473,511 Members | 15,715 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Disabling <%= %>?

Hi,

I have a client that has our product and in one of the aspx files, there is
code like this:

<%= SomePublicProperty %>

where the public property returns a string. In the test environment at the
client's site, the value is being REsponse.Written as expected. In their
production environment, it is not. No errors or anything. It's just as if
that <%= %line doesn't exist at all. Is there anything I should know
about at the IIS level, where they may perhaps have disabled server-side
scripts in aspx files?

Thanks
Mar 25 '08 #1
3 1762
Check the source. Do you see <%=...%in HTML.
If yes then .NET is not installed in IIS and IIS serves the page as is.

George

"Josh Valino" <no spam pleasewrote in message
news:uh**************@TK2MSFTNGP04.phx.gbl...
Hi,

I have a client that has our product and in one of the aspx files, there
is code like this:

<%= SomePublicProperty %>

where the public property returns a string. In the test environment at
the client's site, the value is being REsponse.Written as expected. In
their production environment, it is not. No errors or anything. It's
just as if that <%= %line doesn't exist at all. Is there anything I
should know about at the IIS level, where they may perhaps have disabled
server-side scripts in aspx files?

Thanks

Mar 25 '08 #2
Sorry, I should stated that. No, it doesn't show up. So, it seems to be
executing. The DLL that contains the value of this property is identical
(according to Beyond Compare 2, so they say), so I have reason to believe
that the property does still have a value. The only thing I can come up
with is that someone deleted the line out of the aspx file for some reason.
I'm waiting for them to send me the file but I figured I'd venture into the
remote possibility that it's an IIS configuration option.

Thanks
"George Ter-Saakov" <gt****@cardone.comwrote in message
news:OX**************@TK2MSFTNGP05.phx.gbl...
Check the source. Do you see <%=...%in HTML.
If yes then .NET is not installed in IIS and IIS serves the page as is.

George

"Josh Valino" <no spam pleasewrote in message
news:uh**************@TK2MSFTNGP04.phx.gbl...
>Hi,

I have a client that has our product and in one of the aspx files, there
is code like this:

<%= SomePublicProperty %>

where the public property returns a string. In the test environment at
the client's site, the value is being REsponse.Written as expected. In
their production environment, it is not. No errors or anything. It's
just as if that <%= %line doesn't exist at all. Is there anything I
should know about at the IIS level, where they may perhaps have disabled
server-side scripts in aspx files?

Thanks


Mar 25 '08 #3
One option is to add traces to the page. It makes things easier to 'debug'
in production, as you can have your client run the page and examine the
trace. This allows you to see what is going on wtihout having to send back
files.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"Josh Valino" <no spam pleasewrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
Sorry, I should stated that. No, it doesn't show up. So, it seems to be
executing. The DLL that contains the value of this property is identical
(according to Beyond Compare 2, so they say), so I have reason to believe
that the property does still have a value. The only thing I can come up
with is that someone deleted the line out of the aspx file for some
reason. I'm waiting for them to send me the file but I figured I'd venture
into the remote possibility that it's an IIS configuration option.

Thanks
"George Ter-Saakov" <gt****@cardone.comwrote in message
news:OX**************@TK2MSFTNGP05.phx.gbl...
>Check the source. Do you see <%=...%in HTML.
If yes then .NET is not installed in IIS and IIS serves the page as is.

George

"Josh Valino" <no spam pleasewrote in message
news:uh**************@TK2MSFTNGP04.phx.gbl...
>>Hi,

I have a client that has our product and in one of the aspx files, there
is code like this:

<%= SomePublicProperty %>

where the public property returns a string. In the test environment at
the client's site, the value is being REsponse.Written as expected. In
their production environment, it is not. No errors or anything. It's
just as if that <%= %line doesn't exist at all. Is there anything I
should know about at the IIS level, where they may perhaps have disabled
server-side scripts in aspx files?

Thanks



Mar 26 '08 #4

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

Similar topics

9
2944
by: Francesco Moi | last post by:
Hello. I'm trying to build a RSS feed for my website. It starts: ----------------//--------------------- <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE rss PUBLIC "-//Netscape...
1
6794
by: Christian Schmidbauer | last post by:
Hello! I prepare my XML document like this way: ------------------------------------------------------- PrintWriter writer; Document domDocument; Element domElement; // Root tag
2
3185
by: Eshrath | last post by:
Hi, What I am trying to do: ======================= I need to form a table in html using the xsl but the table that is formed is quite long and cannot be viewed in our application. So we are...
2
10537
by: Donald Firesmith | last post by:
I am having trouble having Google Adsense code stored in XSL converted properly into HTML. The <> unfortunately become &lt; and &gt; and then no longer work. XSL code is: <script...
0
2041
by: Arne Schirmacher | last post by:
I want to display a MySQL database field that can contain HTML markup. If I use <esql:get-string> then I get all of the database field, but all tags are escaped which is not what I want. If I use...
4
62086
by: higabe | last post by:
Three questions 1) I have a string function that works perfectly but according to W3C.org web site is syntactically flawed because it contains the characters </ in sequence. So how am I...
34
10972
by: Mark Moore | last post by:
It looks like there's a pretty serious CSS bug in IE6 (v6.0.2800.1106). The HTML below is validated STRICT HTML 4.01 and renders as I would expect in Opera, FrontPage, and Netscape. For some...
11
13657
by: Les Paul | last post by:
I'm trying to design an HTML page that can edit itself. In essence, it's just like a Wiki page, but my own very simple version. It's a page full of plain old HTML content, and then at the bottom,...
1
1386
by: thesti | last post by:
hello, i need to validate birthday using javascript. the validation is that for example user couldn't choose the date 29, 30 and 31 if she has chosen February as the month before and the year % 4...
0
7251
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,...
0
7367
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,...
0
7430
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7089
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7517
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...
0
4743
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...
0
3217
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
790
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
451
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...

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.