|
Hi all,
I have asp page. In that I want to call a aspx page in the background.That called aspx pages will send and receive
mail in the background.The calling of the aspx pages should be hidden from the user.Is it possible
Thanks
Dana
|
|
|
|
|
You could hide the other page in an iframe, but overall, it sounds like your design is a mess. There are better ways of doing this sort of stuff, what's the point of a page you can't see that sends and recieves mail ( how ? To who ? ) only when the user is on another page and cannot see that it's even there.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Dear Christian,
Thanks for ur reply. What I am doing is it has to extact the mails from the server and to show the user.This sending and receiving module is done is aspx. But the calling page is asp page.How can I do this one ?
Dana
|
|
|
|
|
I have to pass user name and password for the LDAP authentication but during this process password is getting saved into the local machine RAM and which can be retrived later... So how I can use MD5 hash code for preventing this.
|
|
|
|
|
How do other programs access your RAM ?
The way an MD5 hash works is destructive, if you have an MD5, you cannot use it to get your original password back. They are used sometimes to store passwords, so the password sent is an MD5 hash of what is typed, and the MD5 hash is what is stored. The main idea here is that the actual password is not in the DB and in theory, people are not likely to work it out from the MD5. MD5 is not all that secure, nowadays.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Christian Graus wrote: people are not likely to work it out from the MD5. MD5 is not all that secure, nowadays
I agree, and I don't even bother treaching MD5 in my class. I stick to SHA-256 or better.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
Who's on your server accessing the RAM?
|
|
|
|
|
Why does that question make me think pictures of cats inside computer cases?
|
|
|
|
|
Too much lunchtime wine??
|
|
|
|
|
|
Dear Programmers,
I am developing a website in which I have placed an imagebox in it. The pictures are stored in MS-SQL-SERVER 2000. From their they are showing me the right path. At loading time I again recheck them the values are correct but when I assign them to imagebox as its url, It does not display the image.
Please Note that I am using VB.NET as language in ASP.NET
MY Website is in ASP.NET.
Please help me friends as soon as possible.
Your Friends,
Zeeshan Ahmad Memon.
|
|
|
|
|
you set the image using a URL from the DB, is the URL wrong, or does it just not display ? ( well, if the URL is wrong, it won't display, but is the problem that the URL changes, or that what you think is a valid URL does not work ) ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanx for giving reply so quick. My friend the path is write and during debugging it show me the path correct. I have also place some text with the image component button. I show me the text but it do not show me the picture. Please help me
|
|
|
|
|
Hello Everyone,
I have a problem,that is
I have to get .doc file contains through filestream.
string[] strFileData = File.ReadAllLines(strPostFileName);
if my .doc file have some chinese character then
How can I get this chinese data as actual
then my strFileData gives me some ASCII character
PK like this
So can u help me about this particular
Thanks in Advance
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
There's a second parameter to ReadAllLines where you can specify the encoding to be UTF8, I think. The default is probably ASCII.
|
|
|
|
|
I used this buddy
But my strFiledata still giving me ASCII characters
Thanks
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
I have created ASP .Net web service using VC++ .Net, if there is one function inside a namespace its working well, but if add one more function, it is not running. Is there any restriction for number of functions inside web service?
Best Regards,
Suman
|
|
|
|
|
rp_suman wrote: Is there any restriction for number of functions inside web service?
AFAIK, there is no restriction for that. How many function do you have so far?
rp_suman wrote: if add one more function, it is not running.
Are you getting the error or something?
|
|
|
|
|
Hi I got the problem,
There are two functions,
In CPP file, one function's class name before the scope resolution operator was incorrect[letter case was different] and thats why did not compile correctly.
Thank you very much for your help!!
Best Regards,
Suman
|
|
|
|
|
No there is no restriction on having functions in web service. I think it must me the way you implemented those functions might have some problem.. please verify reading some documentation on the same, to chk whether you hav implemented them correctly.
Pankaj Chamria,
Software Programmer.
|
|
|
|
|
Hi Thanks for the help!! I have fixed it already.
Best Regards,
Suman
|
|
|
|
|
Hi all,
i am getting following error
System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.HttpWebRequest.GetResponse()
at UseWebApplication.WebForm1.btnSendSoap_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\UseWebApplication\WebForm1.aspx.vb:line 63
while passing soap request in web service like
<soap:envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:body>
<receivexmlfromcytric xmlns="http://localhost/WpmsDeCtWebSrv/WpmsDeCtWebSrvService.asmx">
<request>
<check1>Check1Data</check1>
<check2>check2Data</check2>
</request>
</receivexmlfromcytric>
</soap:body>
</soap:envelope>
If i pass only text in <Request> tag then it works fine but when i try to pass xml type data in <Request> tag then it shows the error.
Can't i pass xml type of request in soap messages.
I have written following code to access the webservice
Dim strUrl As String = "http://localhost/WpmsDeCtWebSrv/WpmsDeCtWebSrvService.asmx"
Dim req As HttpWebRequest = WebRequest.Create(strUrl)
Try
req.Headers.Add("SOAPAction", "http://localhost/WpmsDeCtWebSrv/WpmsDeCtWebSrvService.asmx/ReceiveXmlFromCytric")
Dim content As String = txtHttp.Text
req.ContentType = "text/xml; charset=utf-8"
req.Method = "POST"
Dim s As System.IO.Stream = req.GetRequestStream()
Dim sw As New System.IO.StreamWriter(s)
sw.Write(content)
sw.Close()
Dim res As HttpWebResponse = req.GetResponse()
s = res.GetResponseStream()
Dim sr As New System.IO.StreamReader(s)
Dim strresult As String = sr.ReadToEnd()
sr.Close()
txtResponse.Text = strresult
Catch ex As Exception
txtResponse.Text = ex.ToString
End Try
Please help to provide the solution.
Thanks
|
|
|
|
|
Title: Encountering HTTP Error 500
Issue:
The server was unable to send the html document to you due to an internal (server software) error.
Resolving 500 errors - general
This error can only be resolved by fixes to the Web server software. It is not a client-side problem. It is up to the operators of your Web server site to locate and analyse the logs which should give further information about the error.
Piyush Vardhan Singh
|
|
|
|
|
Hi,
thanx for your reply.
But Actualy its not a server problem as my request got completed if i send only string message.But when i try to pass nodes like xml in <request> tag only then it gives error, means i m unable to pass xml formated data in request tag.
Can we pass xml file as request in above code?
Any other solution pls.
|
|
|
|
|
Hello,
Can anybody help me regarding logic, how to check that perticular files have already installed or not in local system during installation of desktop application.
Actually i've created a desktop application. Now for that application, some microsoft.sqlserver files must be installed in the local system.
I want that during installtion of my desktop application, there should be a way for checking that .sqlserver files have installed. If not then, it prompt to the user that those files must be installed for this desktop application.
Please help me about this asap...
Thanx
Deep
|
|
|
|