Strange problem  
Author Message
Vincent Yau





PostPosted: 2003-7-8 0:18:00 Top

java-programmer, Strange problem Dear All:

I have used MySQL as prototype on an application that I am developing.
The project has been
approved and I am now moving to Oracle for the production run. I have a
section
that deals with user password. My front end is in JSP/Servlet using
Apache tomcat and talking
to Oracle 8i using JDBC driver from Oracle (but I am using the Oracle 9i
driver).
The user password, I am using MD5 hashes and storing the string copy of
that hashes onto the database (as varchar).
MySQL was ok. However, when I moved the application to talk to Oracle,
I am always getting a different string back
from the database than what I am saving into it. However, I am
always getting back, from ORacle, the same
set of characters. So it was consistently different but consistently in
the same format. So I think there
are some character conversion that is happening. Some of the
characters are non-printable characters so
they look like rubbish. But you can still compare with your bare eyes
as the strings always contain the
same set of characters.

I think I am missing something as to how Oracle handle non-printable
character strings.
Any help much appreciated!!

Please email me as well as posting back to the newsgroup.

Thanks

--Vincent
email***@***.com


 
Chuck





PostPosted: 2003-7-8 1:56:00 Top

java-programmer >> Strange problem Try a binary datatype for that column. RAW should work.

Vincent Yau <email***@***.com> wrote in news:email***@***.com:

> Dear All:
>
> I have used MySQL as prototype on an application that I am developing.
> The project has been
> approved and I am now moving to Oracle for the production run. I have
a
> section
> that deals with user password. My front end is in JSP/Servlet using
> Apache tomcat and talking
> to Oracle 8i using JDBC driver from Oracle (but I am using the Oracle
9i
> driver).
> The user password, I am using MD5 hashes and storing the string copy of
> that hashes onto the database (as varchar).
> MySQL was ok. However, when I moved the application to talk to Oracle,
> I am always getting a different string back
> from the database than what I am saving into it. However, I am
> always getting back, from ORacle, the same
> set of characters. So it was consistently different but consistently
in
> the same format. So I think there
> are some character conversion that is happening. Some of the
> characters are non-printable characters so
> they look like rubbish. But you can still compare with your bare eyes
> as the strings always contain the
> same set of characters.
>
> I think I am missing something as to how Oracle handle non-printable
> character strings.
> Any help much appreciated!!
>
> Please email me as well as posting back to the newsgroup.
>
> Thanks
>
> --Vincent
> email***@***.com
>
>
>

 
bill_hen





PostPosted: 2003-7-9 1:20:00 Top

java-programmer >> Strange problem Perhaps you should convert the binary hash to Hex string
and then save it to the database as varchar.
This way, it should have no problem with any database systems.
(this is how I do, but don't know about other people)
_________________________________
Bugzero all-in-one: bug tracking & help desk
Free try: http://www.websina.com/bugzero/


Vincent Yau <email***@***.com> wrote in message news:<email***@***.com>...
> Dear All:
>
> I have used MySQL as prototype on an application that I am developing.
> The project has been
> approved and I am now moving to Oracle for the production run. I have a
> section
> that deals with user password. My front end is in JSP/Servlet using
> Apache tomcat and talking
> to Oracle 8i using JDBC driver from Oracle (but I am using the Oracle 9i
> driver).
> The user password, I am using MD5 hashes and storing the string copy of
> that hashes onto the database (as varchar).
> MySQL was ok. However, when I moved the application to talk to Oracle,
> I am always getting a different string back
> from the database than what I am saving into it. However, I am
> always getting back, from ORacle, the same
> set of characters. So it was consistently different but consistently in
> the same format. So I think there
> are some character conversion that is happening. Some of the
> characters are non-printable characters so
> they look like rubbish. But you can still compare with your bare eyes
> as the strings always contain the
> same set of characters.
>
> I think I am missing something as to how Oracle handle non-printable
> character strings.
> Any help much appreciated!!
>
> Please email me as well as posting back to the newsgroup.
>
> Thanks
>
> --Vincent
> email***@***.com
 
 
atampone





PostPosted: 2003-7-15 0:21:00 Top

java-programmer >> Strange problem
You'll get this in IIS if you request a page that should be parsed by the PHP CGI that does not exist. IIS trys to load the script into the CGI but gets no results since there was no page to load. I think it's an IIS bug.... i.e. you go to www.domain.com/page1.php
but there is no page1.php file. So you'd expect to get a 404 error. but IIS gives you the CGI error instead. Kinda sucks, I just use Apache now anyway, so I never spent the time to figure out why.

- Anthony
"Haseeb" <email***@***.com> wrote in message news:email***@***.com...


Hi all,
this is a very strange problem. i don't know where i am doing something that is causing this. the problem is that i am working on a web portal entirely in php. i have a few hidden pages. that do the queries to the DB. now when i redirect to any page for query i get this error
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

strangely when i hit F5 or refresh the page i get redirected to the desired page. i have checked for any whitespaces. there are none. i have checked and double checked this. i am using win2k,IIS, php 4.3.0

again i have checked all the files for any space left that could be causing problem but i found none.

i hope i make my self clear.
Haseeb



____________________________________________________
IncrediMail - Email has finally evolved - Click Here
 
 
webcodder





PostPosted: 2003-7-15 2:12:00 Top

java-programmer >> Strange problem
--------------Boundary-00=_B811MY50000000000000--





Hi all,

this is a very strange problem. i don't know where i am doing something that
is causing this. the problem is that i am working on a web portal entirely
in php. i have a few hidden pages. that do the queries to the DB. now when
i redirect to any page for query i get this error

CGI Error

The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:



strangely when i hit F5 or refresh the page i get redirected to the desired
page. i have checked for any whitespaces. there are none. i have checked and
double checked this. i am using win2k,IIS, php 4.3.0



again i have checked all the files for any space left that could be causing
problem but i found none.



i hope i make my self clear.

Haseeb


<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="IncrediMail 1.0" name=GENERATOR>
<!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>0CE75F22-E4B4-461B08C75-A21FEDCED51A</X-FID>
<X-FVER>3.0</X-FVER>
<X-FIT>Letter</X-FIT>
<X-FCOL>Example</X-FCOL>
<X-FCAT>Untitled</X-FCAT>
<X-FDIS>Def</X-FDIS>
<X-Extensions>SU1CTDEsNDYsgUmBSYE0LJ2NOJGRTSyJMIlNiZmFMIHBNJ2NTSSRhTgsKDQsKI2FJEmBSYFJgSxJTUJMMiwwLCxJTUJMMywwLCxUeXBlVmVyc2lvbiwzLDEuMCw=</X-Extensions>
<X-BG></X-BG>
<X-BGT>repeat</X-BGT>
<X-BGC>#ffffff</X-BGC>
<X-BGPX>left</X-BGPX>
<X-BGPY>0px</X-BGPY>
<X-ASN>ANIM3D00-NONE-0000-0000-000000000000</X-ASN>
<X-ASNF>1</X-ASNF>
<X-ASH>ANIM3D00-NONE-0000-0000-000000000000</X-ASH>
<X-ASHF>1</X-ASHF>
<X-AN>ANIM3D00-NONE-0000-0000-000000000000</X-AN>
<X-ANF>0</X-ANF>
<X-AP>ANIM3D00-NONE-0000-0000-000000000000</X-AP>
<X-APF>1</X-APF>
<X-AD>ANIM3D00-NONE-0000-0000-000000000000</X-AD>
<X-ADF>0</X-ADF>
<X-AUTO>X-ASN,X-ASH,X-AN,X-AP,X-AD</X-AUTO>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd-->
</HEAD>
<BODY style="BACKGROUND-POSITION: left 0px; SCROLLBAR-FACE-COLOR: #c6d7ff; FONT-SIZE: 10pt; MARGIN: 0px 10px 10px; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; SCROLLBAR-SHADOW-COLOR: #ffffff; SCROLLBAR-3DLIGHT-COLOR: #7b9ed6; SCROLLBAR-ARROW-COLOR: #4a6184; BACKGROUND-REPEAT: repeat; FONT-FAMILY: Verdana; SCROLLBAR-DARKSHADOW-COLOR: #bebebe" bgColor=#ffffff background="" scroll=yes SIGCOLOR="30975" X-FDIS="Def" X-FCAT="Example" X-FCOL="Example" X-FIT="Letter" X-FID="0CE75F22-E4B4-461B08C75-A21FEDCED51A" X-FVER="3.0" X-ASN="ANIM3D00-NONE-0000-0000-000000000000" X-ASNF="1" X-ASH="ANIM3D00-NONE-0000-0000-000000000000" X-ASHF="1" X-AN="ANIM3D00-NONE-0000-0000-000000000000" X-ANF="0" X-AP="ANIM3D00-NONE-0000-0000-000000000000" X-APF="1" X-AD="ANIM3D00-NONE-0000-0000-000000000000" X-ADF="0" ORGYPOS="0">
<TABLE id=INCREDIMAINTABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD id=INCREDITEXTREGION style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 10pt; PADDING-BOTTOM: 0px; CURSOR: auto; PADDING-TOP: 0px" vAlign=top width="100%">
<DIV> </DIV>
<DIV> </DIV>
<DIV>Hi all,
<DIV>this is a very strange problem. i don't know where i am doing something that is causing this. the problem is that i am working on a web portal  entirely in  php. i have a few hidden pages. that do the queries to the DB. now when i redirect to any page for query i get this error</DIV>
<H1>CGI Error</H1>
<DIV>The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:</DIV>
<DIV> </DIV>
<DIV>strangely  when i hit F5 or refresh the page i get redirected to the desired page. i have checked for any whitespaces. there are none. i have checked and double checked this. i am using win2k,IIS, php 4.3.0</DIV>
<DIV> </DIV>
<DIV>again i have checked all the files for any space left that could be causing problem but i found none.</DIV>
<DIV> </DIV>
<DIV>i hope i make my self clear.</DIV>
<DIV>Haseeb</DIV></DIV>
<DIV> </DIV></TD></TR>
<TR>
<TD id=INCREDIFOOTER width="100%">
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD width="100%"></TD>
<TD id=INCREDISOUND vAlign=bottom align=middle></TD>
<TD id=INCREDIANIM vAlign=bottom align=middle></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><SPAN id=IncrediStamp><SPAN dir=ltr><FONT face="Arial, Helvetica, sans-serif" size=2>____________________________________________________<BR><FONT face="Comic Sans MS" size=2><A href="http://www.incredimail.com/redir.asp?ad_id=309&lang=9"><IMG alt="" hspace=0 src="cid:367EB399-9D9D-49AB-B256-4745D54B9F40" align=baseline border=0></A>  <I>IncrediMail</I> - <B>Email has finally evolved</B> - </FONT><A href="http://www.incredimail.com/redir.asp?ad_id=309&lang=9"><FONT face="Times New Roman" size=3><B><U>Click Here</U></B></FONT></A></SPAN></SPAN></FONT></BODY></HTML>
 
 
bilaribilari





PostPosted: 2003-7-17 13:41:00 Top

java-programmer >> Strange problem Hi,
I am facing a strange problem. On a panel, I have a JTextField and a 2
JButtons.
One of these is a default button. For this default button, I have
written a registerKeyboardAction() method which binds the "ENTER" key
to the event of clicking that default button. The second button has a
registerKeyboardAction defined for the "ESCAPE" key.
The problem is this:
If focus is in the text field, pressing the "ESCAPE" key invokes the
correct functionality. But the "ENTER" key just doesn't work. If focus
is anywhere else on the panel, the "ENTER" key also starts working.

Please help.
Thanks in advance.
Regards.
 
 
Adrian Jetzer





PostPosted: 2003-7-18 17:14:00 Top

java-programmer >> Strange problem Have you registered the Action on the JPanel?


"FET" <email***@***.com> schrieb im Newsbeitrag
news:email***@***.com...
> Hi,
> I am facing a strange problem. On a panel, I have a JTextField and a 2
> JButtons.
> One of these is a default button. For this default button, I have
> written a registerKeyboardAction() method which binds the "ENTER" key
> to the event of clicking that default button. The second button has a
> registerKeyboardAction defined for the "ESCAPE" key.
> The problem is this:
> If focus is in the text field, pressing the "ESCAPE" key invokes the
> correct functionality. But the "ENTER" key just doesn't work. If focus
> is anywhere else on the panel, the "ENTER" key also starts working.
>
> Please help.
> Thanks in advance.
> Regards.


 
 
decho





PostPosted: 2003-9-7 4:32:00 Top

java-programmer >> Strange problem Hello All,

I have strange problem with libodbc++ ( 0.2.3 or 0.2.2 ).
i'm using mysql-4.0.14 , MyODBC-3.51.06 and unixODBC-2.2.6
configured with following options

1.MySQL
./configure --prefix=/usr/local/test --with-openssl
--with-mysqld-user=root --enable-thread-safe-client --with-pthread
--enable-shared
2.unixODBC
./configure --prefix=/usr/local/test --sysconfdir=/etc
--enable-threads=yes
3.MyODBC
./configure --prefix=/usr/local/test
--with-mysql-libs=/usr/local/MailQubeBuild/lib/mysql
--with-mysql-includes=/usr/local/MailQubeBuild/include/mysql
--with-unixODBC=/usr/local/MailQubeBuild --enable-thread-safe
4.libodbc
./configure --prefix=/usr/local/test
--with-odbc=/usr/local/MailQubeBuild --enable-threads

OS is a Red Hat 7.3

and problem is that when i'm trying to write to database - all is ok
but when i try to read i get empty resultsets

here is a test code which fails :

void _perform_test()
{
int iCnt = 0;
long lID = 0;
odbc::Statement* stmt = NULL;
odbc::ResultSet* rset = NULL;
std::string csQuery;

LogLineToLogServer(MQ_LOG_NOTICE, "[80200] !!!!!!!!!!!!!! Testing DB
!!!!!!!!!!!!!!");

odbc::PreparedStatement* rs=connDBConnection->prepareStatement
("create table tmp__ ( testfld int(1))TYPE=INNODB ;");
try {
rs->executeUpdate();

}
catch (odbc::SQLException& e ) {
LogLineToLogServer(MQ_LOG_NOTICE, "[12011] Database exception %s",
e.getMessage().c_str() );
if( rs ) delete rs;
}
rs=connDBConnection->prepareStatement ("insert into tmp__
values(1)");
try {
rs->executeUpdate();

}
catch (odbc::SQLException& e ) {
LogLineToLogServer(MQ_LOG_NOTICE, "[12011] Database exception %s",
e.getMessage().c_str() );
if( rs ) delete rs;
}


csQuery += "SELECT * FROM tmp__";


try {
stmt=connDBConnection->createStatement();
}
catch (odbc::SQLException& e ) {
LogLineToLogServer(MQ_LOG_NOTICE, "[12011] Database exception %s",
e.getMessage().c_str() );
if( stmt ) delete stmt;
}
try {
rset=stmt->executeQuery(csQuery);
while(rset->next()) {
lID = rset->getLong ( "testfld" );
iCnt++;
}
}
catch (odbc::SQLException& e ) {
LogLineToLogServer(MQ_LOG_NOTICE, "[12011] Database exception %s",
e.getMessage().c_str() );
if( rs ) { delete rset; rset = NULL; }
if( stmt ) { delete stmt; stmt = NULL; }
}



rs=connDBConnection->prepareStatement ("drop table tmp__");
try {
rs->executeUpdate();

}
catch (odbc::SQLException& e ) {
LogLineToLogServer(MQ_LOG_NOTICE, "[12011] Database exception %s",
e.getMessage().c_str() );
if( rs ) delete rs;
return 0;
}


if( iCnt != 1 || lID != 1 )
LogLineToLogServer(MQ_LOG_NOTICE, "[80200] !!!!!!!!!!!!!! ERROR
!!!!!!!!!!!!!!");
else
LogLineToLogServer(MQ_LOG_NOTICE, "[80200] !!!!!!!!!!!!!! TEST
PASSED !!!!!!!!!!!!!!");
}


and problem is that each time i get ERROR :)

so may be someone can help me?


best wishes,

decho
 
 
Arpan





PostPosted: 2003-9-30 6:33:00 Top

java-programmer >> Strange problem I am working on Windows 2000 Professional. Due to some reasons, I had to
re-install it. There is one particular ASP application named Track. The
problem is I am able to visit only some of the pages in this application
(using hyperlinks) but am not able to visit the rest of the pages by
clicking hyperlinks (a user has to login first as 'admin' to get into the
site). For e.g. there is a page named Maint.asp which has many hyperlinks.
When I click a link in this page, I am not able to go forward; neither a
script timeout error (set to 90 seconds) gets generated. The page remains
static at Maint.asp though the status bar in IE shows that it is proceeding
ahead. This problem is happening only with the links in Maint.asp but not
with the links in any other page in this application. What could be the
problem? Please note that before re-installing Win2K Pro on my system, I
didn't face any such problems.

Thanks,

Arpan


 
 
Atrax





PostPosted: 2003-10-1 8:18:00 Top

java-programmer >> Strange problem you didn't install Norton Antivirus at the same time, did you?

if script blocking is enabled, that'll screw any ASP script which uses
FileSystemObject






________________________________________
Atrax. MVP, IIS
http://rtfm.atrax.co.uk/

newsflash : Atrax.Richedit 1.0 now released.
http://rtfm.atrax.co.uk/infinitemonkeys/components/Atrax.RichEdit/

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
 
Bert Jansen /news/





PostPosted: 2003-10-5 3:46:00 Top

java-programmer >> Strange problem The main issue of what i want to reach is very simple...
when i click image1 image2 has to appear; when i click on image2, image1 has
to appear again...

http://w-traxx.servemp3.com/jeugdraad/fixed_content/jeugdverenigingen_overzi
cht.asp

It all works fine... until i click the "contact" button... i just open a
website in a blank window then... but when i close that page and go back to
my images en click on someone;.. they dissappear..... very strange!!

I surfed the net... searching for the problem but never found the answer.

Can someone help me?

thx
Bert
email***@***.com


 
 
EMW





PostPosted: 2004-7-3 6:53:00 Top

java-programmer >> Strange problem On my pc on which I created my aspx files, my site works fine.
I use IIS5 and is does everything I want it to do.

I moved my site to the networkserver (it's a intranet site) and then
something strange happens.

On my photo page, I show a few pictures that are found in a certain folder.
But instead of seeing my pictures, I see only the placeholders with a little
icon in the left-upper corner with a red cross in it.
I know it finds the files, because if I change the filepath in the apsx
file, I get a message telling me the file cannot be found.

But why are my pictures not normaly visible?
If I go to them via an URL, I can see them in my explorer.

Because there is a list created, before the pictures are shown, I can see
that all my picture - filenames are put in that list, so the program does
find them.
it just isn't showing them.

Please advise?

rg,
Eric


 
 
Ken Cox [Microsoft MVP]





PostPosted: 2004-7-3 10:28:00 Top

java-programmer >> Strange problem Is it possible that your browser or a proxy server has cached a non-existent
version of the images? Make sure IE is set to get a new page every time.

I worked at a place where the system cached pages so aggressively that it
was almost impossible to tell if a problem had been fixed.

When you right-click on the missing image to check the properties, does it
give a clue as to where the server "thinks" the image is located?

Ken


"EMW" <SomeOne@MicroSoftdotCom> wrote in message
news:40e5e76c$0$62380$email***@***.com...
> On my pc on which I created my aspx files, my site works fine.
> I use IIS5 and is does everything I want it to do.
>
> I moved my site to the networkserver (it's a intranet site) and then
> something strange happens.
>
> On my photo page, I show a few pictures that are found in a certain
> folder.
> But instead of seeing my pictures, I see only the placeholders with a
> little
> icon in the left-upper corner with a red cross in it.
> I know it finds the files, because if I change the filepath in the apsx
> file, I get a message telling me the file cannot be found.
>
> But why are my pictures not normaly visible?
> If I go to them via an URL, I can see them in my explorer.
>
> Because there is a list created, before the pictures are shown, I can see
> that all my picture - filenames are put in that list, so the program does
> find them.
> it just isn't showing them.
>
> Please advise?
>
> rg,
> Eric
>
>

 
 
EMW





PostPosted: 2004-7-3 16:07:00 Top

java-programmer >> Strange problem Yes, it gives the full path of where the images are located.
If I change this path a little, knowing it would never find the images, it
doesn't find them and I get an error.

I have one pulldown listbox and a datagrid on my page.
The images are in a subfolder of the folder "Fotos" and the subfoldernames
are shown in the listbox.
Then the user can select one and the datagrid becomes visible with the
images from that folder.

I works fine on my own PC when running it in VS.NET or when I go to the page
as a user and not as developer.

What could this be?

rg,
Eric



"Ken Cox [Microsoft MVP]" <email***@***.com> schreef in bericht
news:email***@***.com...
> Is it possible that your browser or a proxy server has cached a
non-existent
> version of the images? Make sure IE is set to get a new page every time.
>
> I worked at a place where the system cached pages so aggressively that it
> was almost impossible to tell if a problem had been fixed.
>
> When you right-click on the missing image to check the properties, does it
> give a clue as to where the server "thinks" the image is located?
>
> Ken
>
>
> "EMW" <SomeOne@MicroSoftdotCom> wrote in message
> news:40e5e76c$0$62380$email***@***.com...
> > On my pc on which I created my aspx files, my site works fine.
> > I use IIS5 and is does everything I want it to do.
> >
> > I moved my site to the networkserver (it's a intranet site) and then
> > something strange happens.
> >
> > On my photo page, I show a few pictures that are found in a certain
> > folder.
> > But instead of seeing my pictures, I see only the placeholders with a
> > little
> > icon in the left-upper corner with a red cross in it.
> > I know it finds the files, because if I change the filepath in the apsx
> > file, I get a message telling me the file cannot be found.
> >
> > But why are my pictures not normaly visible?
> > If I go to them via an URL, I can see them in my explorer.
> >
> > Because there is a list created, before the pictures are shown, I can
see
> > that all my picture - filenames are put in that list, so the program
does
> > find them.
> > it just isn't showing them.
> >
> > Please advise?
> >
> > rg,
> > Eric
> >
> >
>


 
 
EMW





PostPosted: 2004-7-3 16:55:00 Top

java-programmer >> Strange problem btw. I use the physical path of the application to locate the images and
pass this on to every image.

ie.: img.imageurl = "d:\inetpub\wwwroot\........\image.jpg"

There is a few folders in the dotted space, but I didn't want to write them
all...

If I call an image in IE with http:// etc. then it shows the image.

I'm puzzeled...

rg,
Eric



"Ken Cox [Microsoft MVP]" <email***@***.com> schreef in bericht
news:email***@***.com...
> Is it possible that your browser or a proxy server has cached a
non-existent
> version of the images? Make sure IE is set to get a new page every time.
>
> I worked at a place where the system cached pages so aggressively that it
> was almost impossible to tell if a problem had been fixed.
>
> When you right-click on the missing image to check the properties, does it
> give a clue as to where the server "thinks" the image is located?
>
> Ken
>
>
> "EMW" <SomeOne@MicroSoftdotCom> wrote in message
> news:40e5e76c$0$62380$email***@***.com...
> > On my pc on which I created my aspx files, my site works fine.
> > I use IIS5 and is does everything I want it to do.
> >
> > I moved my site to the networkserver (it's a intranet site) and then
> > something strange happens.
> >
> > On my photo page, I show a few pictures that are found in a certain
> > folder.
> > But instead of seeing my pictures, I see only the placeholders with a
> > little
> > icon in the left-upper corner with a red cross in it.
> > I know it finds the files, because if I change the filepath in the apsx
> > file, I get a message telling me the file cannot be found.
> >
> > But why are my pictures not normaly visible?
> > If I go to them via an URL, I can see them in my explorer.
> >
> > Because there is a list created, before the pictures are shown, I can
see
> > that all my picture - filenames are put in that list, so the program
does
> > find them.
> > it just isn't showing them.
> >
> > Please advise?
> >
> > rg,
> > Eric
> >
> >
>


 
 
Ken Cox [Microsoft MVP]





PostPosted: 2004-7-3 21:24:00 Top

java-programmer >> Strange problem You can't use a physical path like that because the browser will look on the
local machine for the image. You have to use a relative path.

That's where your problem lies. You can't use the file system path that way.

Ken

"EMW" <SomeOne@MicroSoftdotCom> wrote in message
news:40e67498$0$62399$email***@***.com...
> btw. I use the physical path of the application to locate the images and
> pass this on to every image.
>
> ie.: img.imageurl = "d:\inetpub\wwwroot\........\image.jpg"
>
> There is a few folders in the dotted space, but I didn't want to write
> them
> all...
>
> If I call an image in IE with http:// etc. then it shows the image.
>
> I'm puzzeled...
>
> rg,
> Eric
>
>
>
> "Ken Cox [Microsoft MVP]" <email***@***.com> schreef in bericht
> news:email***@***.com...
>> Is it possible that your browser or a proxy server has cached a
> non-existent
>> version of the images? Make sure IE is set to get a new page every time.
>>
>> I worked at a place where the system cached pages so aggressively that it
>> was almost impossible to tell if a problem had been fixed.
>>
>> When you right-click on the missing image to check the properties, does
>> it
>> give a clue as to where the server "thinks" the image is located?
>>
>> Ken
>>
>>
>> "EMW" <SomeOne@MicroSoftdotCom> wrote in message
>> news:40e5e76c$0$62380$email***@***.com...
>> > On my pc on which I created my aspx files, my site works fine.
>> > I use IIS5 and is does everything I want it to do.
>> >
>> > I moved my site to the networkserver (it's a intranet site) and then
>> > something strange happens.
>> >
>> > On my photo page, I show a few pictures that are found in a certain
>> > folder.
>> > But instead of seeing my pictures, I see only the placeholders with a
>> > little
>> > icon in the left-upper corner with a red cross in it.
>> > I know it finds the files, because if I change the filepath in the apsx
>> > file, I get a message telling me the file cannot be found.
>> >
>> > But why are my pictures not normaly visible?
>> > If I go to them via an URL, I can see them in my explorer.
>> >
>> > Because there is a list created, before the pictures are shown, I can
> see
>> > that all my picture - filenames are put in that list, so the program
> does
>> > find them.
>> > it just isn't showing them.
>> >
>> > Please advise?
>> >
>> > rg,
>> > Eric
>> >
>> >
>>
>
>

 
 
EMW





PostPosted: 2004-7-4 2:10:00 Top

java-programmer >> Strange problem Finally solved it. This page helped:
http://west-wind.com/weblog/posts/269.aspx

for the imageurl I needed to use "~/fotos/image1.jpg".

thanks!
Eric


"Ken Cox [Microsoft MVP]" <email***@***.com> schreef in bericht
news:ui$email***@***.com...
> You can't use a physical path like that because the browser will look on
the
> local machine for the image. You have to use a relative path.
>
> That's where your problem lies. You can't use the file system path that
way.
>
> Ken
>
> "EMW" <SomeOne@MicroSoftdotCom> wrote in message
> news:40e67498$0$62399$email***@***.com...
> > btw. I use the physical path of the application to locate the images and
> > pass this on to every image.
> >
> > ie.: img.imageurl = "d:\inetpub\wwwroot\........\image.jpg"
> >
> > There is a few folders in the dotted space, but I didn't want to write
> > them
> > all...
> >
> > If I call an image in IE with http:// etc. then it shows the image.
> >
> > I'm puzzeled...
> >
> > rg,
> > Eric
> >
> >
> >
> > "Ken Cox [Microsoft MVP]" <email***@***.com> schreef in
bericht
> > news:email***@***.com...
> >> Is it possible that your browser or a proxy server has cached a
> > non-existent
> >> version of the images? Make sure IE is set to get a new page every
time.
> >>
> >> I worked at a place where the system cached pages so aggressively that
it
> >> was almost impossible to tell if a problem had been fixed.
> >>
> >> When you right-click on the missing image to check the properties, does
> >> it
> >> give a clue as to where the server "thinks" the image is located?
> >>
> >> Ken
> >>
> >>
> >> "EMW" <SomeOne@MicroSoftdotCom> wrote in message
> >> news:40e5e76c$0$62380$email***@***.com...
> >> > On my pc on which I created my aspx files, my site works fine.
> >> > I use IIS5 and is does everything I want it to do.
> >> >
> >> > I moved my site to the networkserver (it's a intranet site) and then
> >> > something strange happens.
> >> >
> >> > On my photo page, I show a few pictures that are found in a certain
> >> > folder.
> >> > But instead of seeing my pictures, I see only the placeholders with a
> >> > little
> >> > icon in the left-upper corner with a red cross in it.
> >> > I know it finds the files, because if I change the filepath in the
apsx
> >> > file, I get a message telling me the file cannot be found.
> >> >
> >> > But why are my pictures not normaly visible?
> >> > If I go to them via an URL, I can see them in my explorer.
> >> >
> >> > Because there is a list created, before the pictures are shown, I can
> > see
> >> > that all my picture - filenames are put in that list, so the program
> > does
> >> > find them.
> >> > it just isn't showing them.
> >> >
> >> > Please advise?
> >> >
> >> > rg,
> >> > Eric
> >> >
> >> >
> >>
> >
> >
>


 
 
Bart Schelkens





PostPosted: 2004-10-28 16:51:00 Top

java-programmer >> Strange problem Hi,

I have the following problem :

at my work I'm creating a web-application using VS.NET 2002 on a
WIN2000-server.
Everything works fine there.

Now when i take the complete directory that holds all the files to my home
where I want to continue the application, I have the following :
In design-mode, everything is shown as it should be.
When I run it, i don't see my textboxes anymore and some labels that i
marked as visible = false, are beind displayed.

At home I have a Win XP Pro and VS.NET 2002

What is wrong ?

Thx


 
 
Saravana





PostPosted: 2004-10-28 17:06:00 Top

java-programmer >> Strange problem Check out this faq,
http://www.extremeexperts.com/Net/FAQ/ControlsNotAppearing.aspx

--
Saravana
http://dotnetjunkies.com/WebLog/saravana/
www.ExtremeExperts.com


"Bart Schelkens" <email***@***.com> wrote in message
news:email***@***.com...
> Hi,
>
> I have the following problem :
>
> at my work I'm creating a web-application using VS.NET 2002 on a
> WIN2000-server.
> Everything works fine there.
>
> Now when i take the complete directory that holds all the files to my home
> where I want to continue the application, I have the following :
> In design-mode, everything is shown as it should be.
> When I run it, i don't see my textboxes anymore and some labels that i
> marked as visible = false, are beind displayed.
>
> At home I have a Win XP Pro and VS.NET 2002
>
> What is wrong ?
>
> Thx
>
>


 
 
aHV6eg





PostPosted: 2004-11-9 22:24:00 Top

java-programmer >> Strange problem I have a class method which takes integer as parameter...when i call the
method as shown below i get this error message: Specified cast is not valid

<td><%# bs.getPriority((int)DataBinder.Eval(Container.DataItem,
"Priority"))%></td>

When i print the DataItem "Priority" it shows an integer value, but for some
reason the method does not like value.. if i call this method like ->
bs.getPriortiy(3); it works fine.

In the database i have a field called "Priority" int type...

The method works fine when i call it in DataItemBound method..

any idea?