|
This is usually permissions or a corruption/not-installed problem.
To check permissions, here are a few suggestions to try. While trying these suggestions, you may want to try the most liberal settings, until it works, and then tighten the settings down to make sure your server is secure.
Regards,
Satips.
|
|
|
|
|
Satips, thks for your reply.
This is usually permissions or a corruption/not-installed problem??
can u guide me more details??
the email sending is working properly when i try to send out in my local pc. but after uploading to hosting site. i get the error message that i post just now. Is it the coding problem or something tht the configuration or setting need on the hosting site??
|
|
|
|
|
If you are using "localhost" for the SmtpMail.SmtpServer property , you may want to try the following:
Open up IIS Admin. Locate the SMTP Server, and right-click select Properties. On the Security tab, add the ASPNET account as an Operator. Close the dialoag, and stop/start the SMTP Service. If this works, I don't know how to tell you to fix this problem. Sorry. However, I consider this a security breach, and would recommend you purchase a 3rd party product, and not use System.Web.Mail. Evidently there is something funky with your machine.
And Make sure all the settings are done and check it for the mail in the hosting service too.
Regards,
Satips.
|
|
|
|
|
When I run my program written by C# ASP.NET 2.0 first time then my logo disappear and then there is error is: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding , I have to click back button and re-login then the logo appear and the error disappear
In conclusion the error happen when I run my program in first time, How can I do to fix these bugs,
Thanks alot and best regard !
|
|
|
|
|
That means your program is taking too much time to execute the page. Anyway after deployment, when we call the page it will compile then serve the page. Try using precompiled website before deploying.
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
it seems to me that ur application taking more than 90sec...(In our .net environment no application is allowed to exicute more than 90 sec) if we want to allowe our application to be exicuted more than that period let's do this ----in the machine.config file there is an element called httpRuntime with in that there is one attribute executionTimeout=90 there u can prolong (i.e make it like 120 0r...)such that server won't send this kind of error provided ur appliation must exicuted before the mentioned time
|
|
|
|
|
I can't find machine.config, there is only web.config file, in this file I also can't find element called <b>httpRuntime</b>???
Can i solve this problem if I increase the <b>Connect Timeout</b> more (i.e like 60 or 90)
<add name="ASPNETDBConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename="F:\Final Project\TestOnlineSystem\App_Data\ASPNETDB.MDF";Integrated Security=True;Connect Timeout=30;User Instance=True" providerName="System.Data.SqlClient"/>
<b>Thanks and best regart !</b>
|
|
|
|
|
Here u can go to find the machine.config file--C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG\Machine...observe carefullly u will find the element which is mentioned there...!
httpRuntime executionTimeout="90" maxRequestLength="4096" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100"
regards---yuva
|
|
|
|
|
- I am Using VS 2005 so that I can't found path: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG\Machine.config, I only found path: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\Machine.config
- In this file I am only found so that it doesn't have properties as you said
- How can I do now, please help me
Thanks and best regard !
|
|
|
|
|
It is allowed to include the elements manually with in the machine.config file..do it
after /system.Web
u write
httpRuntime executionTimeout="...." /
this may help u out..!
|
|
|
|
|
I am a fresher to ASP.NET and I have done my project with asp.net and oracle 9i as ack end,everything is woriking good. What is the next process
|
|
|
|
|
Find another project ? What is it that you're asking ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Hello
How can i open a new window afteraexecuting aevent in the codebehind?
|
|
|
|
|
You can write JS as follows
<br />
Response.Write("<script language=javascript>")<br />
Response.Write("window.open('mypage.aspx')")<br />
Response.Write("</script>")
Mubashir
Software Architect
Storan Technologies Inc, USA
Every job is a self portrait of the person who did it.
|
|
|
|
|
I´ve been trying what you told me but the window is not open. It´s only show the text what you say to me but on a yellow background.
|
|
|
|
|
Hi, I've got a bit of niggling problem...
- I've got two multi-select listboxes
- I want to loop listbox1, and for every item in listbox1 that is selected (by the user), loop listbox2 and find which items are also selected
So:
Listbox1
---
Item1
Item2
Item3
Listbox 2
---
ItemA
ItemB
ItemC
So my end result should be:
Item1
ItemA
ItemB
ItemC
Item2
ItemA
ItemB
ItemC
Item3
ItemA
ItemB
ItemC
However, I can't loop the listboxes.
Any suggestions?
Thanks
|
|
|
|
|
for(int i=0;i<n1;i++)
{
if(item "i" of list1 is selected)
{
for(int j=0;j<n2;j++)
{
if(item "j" of list2 is selected)
{
do whatever here
}
}
}
}
n1->No. of items in listbox1.
n2->No. of items in listbox2.
Hope that helps you...
Regards,
Arun Kumar.A
|
|
|
|
|
Hi Friends,
I am developing a website in asp.net. I have seperate textboxes for email and password in the table which is being defined in "asp:Login" control of c# Visual Studio 2005. Now I want to put "Remember my Password" checkbox in that table just below of text boxes. When user select that checkbox, it should remind the password and automatically get login next time.
Please remember I can't use any built-in control, I definitely need separate checkbox for that.
It is just same as you have here in this website (www.codeproject.com)
Thanks and Regards,
Abubakar
|
|
|
|
|
You can store it on the user machine, in a cookie.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Ya, I can store it on user machine in a cookie but I really don't understand how will I get value from the cookie and login to website automatically when user will come next time? Can you send me some code snipset for that? It will be really helpful for me.
|
|
|
|
|
Hi, I created an asp.net web application using Visual Studio 2005. The problem is that when I run the application, the web page opens with the url: http://localhost:1158/MyProject/WebPage1.aspx...but I want it to open with http://localhost/MyProject/WebPage1.aspx. How can I fix that??
|
|
|
|
|
|
I have a textbox which represent date, but sometime it will be empty.I want to send it as empty to the database. How can I do it
|
|
|
|
|
If the string is empty, pass DBNull.Value and make the column nullable in the DB.
Use DateTime.TryParse to make sure the string you're passed in is a valid date. The other option is to store it as a string, but of course you can't do anything with it, then.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Another option would be to store a default date which is meaningless but avoids a null value in the DB (something I try to avoid if at all possible).
e.g 01/01/1900
|
|
|
|