Last post Sep 24, 2009 06:30 AM by superdavidam
May 29, 2008 04:06 AMfirstname.lastname@example.org|LINK
Hi to all,
I have web application project it's workgin fine in local machine, but when i upload it to the server then i mee the below error
<!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="Off"/> </system.web></configuration>
<!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web></configuration>
May 29, 2008 04:20 AM|worldclasscoders|LINK
It wont show error. until you have set correct .net framework in server
May 29, 2008 05:30 AMemail@example.com|LINK
Thanks for your reply,
I set like this
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
then also return a same error.....any solution is there?
May 30, 2008 12:15 AMfirstname.lastname@example.org|LINK
I found the problem,
This is the problem due to wrong connection string, i correct it and now it's working fine.
Oct 09, 2008 12:50 PM|salman_1|LINK
I'm facing the same problem. U said its due to having the wrong connect string. What the connection string you used.
my script is this. please help me. I don't have any web.config file. it would be very helpful if you give the solution.
sub OnBtnSendClicked (s As Object, e As EventArgs)
Dim strConn as string = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & server.mappath("guestbook.mdb") & ";"
Dim MySQL as string = "INSERT INTO Guestbook (Name, EMail, URL, Comment) VALUES ('" & txtName.Text & "','" & txtEMail.Text & "','" & txtURL.Text & "','" & txtComment.Text & "')"
Dim MyConn as New OleDBConnection (strConn)
Dim cmd as New OleDBCommand (MySQL, MyConn)
sub OnBtnClearClicked (s As Object, e As EventArgs)
txtName.Text = ""
txtEMail.Text = "email@example.com"
txtURL.Text = "http://"
txtComment.Text = ""
Mar 13, 2009 05:49 PM|alex_11|LINK
Create a web.config file then... >_>
Sep 24, 2009 06:30 AM|superdavidam|LINK
I am having the same error but only when I try to acces to a specific folder of the web. I have checked my connection string out ant it is ok because it goes fine for the rest of web application...
What could it be??