|
I have made webpages in asp dot net 2005 using C# and sql server 2005.My project name is "ubility" and the ip of server is 192.168.1.49.Now the problem is when i want to access it using "http://localhost/ubility", though it shows the directory listing, it doesn't show the page when i click to any link.And the second problem is when i use different computer and want to access the client page,i couldn't get it.I have used the address like "http://192.168.1.49/ubility" to get accessed of the project but it doesn't give the output.I mean it doesn't even show the directory listing. In this case, the error message is "Page can't be displayed." When i try to publish the project to the client side, it couldn't publish also.So how can i get the solution of this problem ??? My iis version is 5.
-- modified at 1:53 Thursday 20th September, 2007
suchitamanandhar@hotmail.com
|
|
|
|
|
How to run the .avi files in the windows media player?The .avi files were downloaded from another application.How to initiate the Windows media player while we are downloading the file from another source?
Divya
|
|
|
|
|
hi friends
i need to disable the browser backbutton .I used below code .it is work fine in IE browser.
my query is:
Is this code work in other browser(firefox,mozilla etc)
onload="javascript:history.forward(1)"
regards
saravavan
|
|
|
|
|
Disabling the back button is not the solution to any problem ?
you can't play with client browser
Why you want to disable the back button ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
hi
i have 3 pages.
1.signup.aspx->this page just enter u r email,password and click proceed button. it will redirct to verify details.aspx page
2.verify details.aspx->this page whatever u enter the signup.aspx page sre display here using session.verify u r email and password and click the register button.it will redirct to register.aspx page
3.register.aspx->this page i click browser back button.it will not go verify details.aspx page
and also
i tried session.abandon method.but it is not work
how can achive this?
regards
saravanan
|
|
|
|
|
DO one thing before page loading check the session values if you are in register page put that value in session ...
suppose
Login Page -> session['CurrentPage']=Login
verif Page -> session['CurrentPage']=Verify
Register Page -> session['CurrentPage']=Register
but while assining value in verify page check session value if it contains Register then redirect it to again Register Page
also add this code in aspx of every page
<head><br />
<meta http-equiv="Expires" CONTENT="0"><br />
<meta http-equiv="Cache-Control" CONTENT="no-cache"><br />
<meta http-equiv="Pragma" CONTENT="no-cache"><br />
</head>
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
hi sandeep
sorry for disturbance
Login Page -> session['CurrentPage']=Login
verif Page -> session['CurrentPage']=Verify
Register Page -> session['CurrentPage']=Register
i have one doubt what is the 'CurrentPage' and Login (['CurrentPage']=Login )
plz tell me clearly
regrds
saravanan
|
|
|
|
|
I mean that to store the page name in session so that you will come to know user on which page
Suppose When you are in Register Page and you click on back button then
in page load you will see what is the session value if it Register means user was on Register page (back button clicked) so redirect it to Register Page instead of verify .....
In short check the work flow ..
Hoping now u understood
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
hi
Session["CurrentPage"] = "VerifyDetails.aspx"; in VerifyDetails.aspx.
same as others
Is this corrct?
i tried this but the back button in register.aspx is workes.
i need i click back button in register.aspx ..the will not redirect to verify details .aspx..simply message displayed page ix expired.
how can i achive this?
regards
saravan
|
|
|
|
|
hi,
In a single data grid I want to display a 50 images, 5 columns and 10 rows, how to display the images.
Please help me.
jai prakash
|
|
|
|
|
You have using Repeater Control or DataList Control.
abglorie
|
|
|
|
|
i am using datagrid.
i use this code.
this code is displaying the image in single columns one after the other,i want to display the images in 5 columns.
jai prakash
|
|
|
|
|
for this kind of problems better to use datalist by giving the RepeatColumns="5"
<asp:datalist repeatcolumns="5" runat="server" repeatlayout="Table">
ramana
|
|
|
|
|
Hello Everyone,
Can anybody tell me that "Is it any limit to send the mail or newsletter to the recipients......." Actually i've to send the mail to the all the registeredd users to my site... but they are around 500 so as i send mail it generate an error "Could not access CDO........" something like this
|
|
|
|
|
Check it WebMail
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
Put this error into gooelg u will get near about five of code from microsoft
in that code just jave to put u r username,password and servername then
this error should not come again?
This error could not occur because u r sending message to 500 users.
Thanks.
Rahul
|
|
|
|
|
Actually Sir I'm not understanding u r saying plz explain it.........
|
|
|
|
|
This is a network related error. Your application cannot connect to the mail server specified.
SmtpMail.SmtpServer
1)Is a valid SMTP Server
2)Check to be sure the server System.Web.Mail is executing on can connect to the mail server. Some times firewalls or proxy servers can get in the way.
3)Try specifying the value by IP address. Poor DNS resolution can sometimes hinder name lookups.
4)Make sure the that the mail server is running at port 25.
5)If you did not specify a SmtpMail.SmtpServer property, or if SmtpMail.SmtpServer points to "localhost" (or the equivalent), be sure the SMTP Service is running on port 25.
For testing purposes change the MailMessage.From and MailMessage.To properties to an address that exists on SmtpMail.SmtpServer. Some times this exception is thrown, when it really is a relay issue.
also try this
SmtpMail.SmtpServer.Insert( 0, "127.0.0.1 or your mail server name here")
Also make sure Anonymous access is allowd.
Rahul
|
|
|
|
|
Hi everyone, I am developing one web application using C#.Net. I want to add facility for up loading the video file. When user upload video at that time I WANT TO CONVERT IT INTO WMV FORMAT for that I am using WMcmd.vbs command line WMV converter my complete line is
EXEC master..xp_cmdshell 'CScript.exe D:\setup\WMCmd_20070322\WMCmd.vbs D:\Tarun\project\1.avi D:\Tarun\project\144.wmv -v_mode 1 -v_bitrate 500000 -v_keydist 30 -v_buffer 10000 -v_quality 100 -v_preproc 5 -v_width 320 -v_height 240'
I am trying to run it into sql server and it gives message that Query executed successfully. but on system tray it will display one message like "Microsoft (R) Console Based Script Host stopped working and was closed".
So how can I execute this procedure to convert any format's file to another format's file. from command line only. or suggest me the another WMV converter which can convert movie clip to wmv format from command line. It's very urgent pls if u can then help me.
Thanks.
TarDuk - A Memory Beyond The Life.
Always eagar to make some thing creative.
|
|
|
|
|
Hi,
I am trying to displaying image when the user clicks on upload button after browsing image by FileUpload COntrol. This time I just displaying image not saving image. ANd saving it afterwards.
This works fine but the problem is that when user browse image from system drive like: C:/ then this arrangements does not display image.
Have anybody idea for this problem then replay me immediately.
Thanks in advance.
Naresh Patel
|
|
|
|
|
N a r e s h P a t e l wrote: Have anybody idea for this problem then replay me immediately.
FYI - this is rude.
Where are people browsing from ? If they browse the file system, how does this relate to ASP.NET ? Or do you mean if the site is on the local machine and you browse to a page ? How does that matter, will anyone do that when it deploys ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I have created one com dll in VC Win32 appl. and now i want to use that in ASP.Net it gives an error.
Best Regards,
Chetan Patel
|
|
|
|
|
Wow.
Try reading the post on how to ask questions
1 - what is the error message ?
2 - what does the dll do ?
3 - are you expecting to call it on the server, or the client ?
4 - why are you using a COM dll at all ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I have a text box. It's input should be integer. I want to validate this
text box so that it's value should be integer. What validation control
shouuld I use.
seema
|
|
|
|
|
The regex one seems like the best bet to me.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|