Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Sep 24, 2009 10:30 AM by superdavidam
May 29, 2008 08:06 AM|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 08:20 AM|LINK
It wont show error. until you have set correct .net framework in server
May 29, 2008 09:30 AM|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 04:15 AM|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 04:50 PM|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 = "firstname.lastname@example.org"
txtURL.Text = "http://"
txtComment.Text = ""
Mar 13, 2009 09:49 PM|LINK
Create a web.config file then... >_>
Sep 24, 2009 10:30 AM|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??