I am using Windows Server 2019 with all the current updates. It does not have .net Framework 5.0 installed. I trying to move to this new server. I cannot get the btnet service to work.
The SQL string connection is working the username and password works just like it should, works on the old server.
btnet_service.exe can use IIS's Windows security, but there's a workaround if you use Windows security: You can change the website so that insert_bug.aspx ONLY is configured not to use windows security. That is, you can set the security at the level of a page, not just at the level of a virtual directory.
Maybe it has something to do with this but I do not know how to fix it.
I cannot see anything in my logs that says Why it having the 500 error
From: gsdfgsdfsgdfgsdfgsdfgsdfcom>
Subject: xxx (DO NOT EDIT THIS:152)
calling insert_bug.aspx
BUGID=152
updating existing bug 152
HttpWebRequest error url=http://127.0.0.1/xxxx/insert_bug.aspx?bugid=152
System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at POP3Main.fetch_messages(String user, String password, Int32 projectid)
No response from web server. Skipping the delete of the email from the server.
Incrementing total error count
I get an emailed error message
TIME: 12:14:32 PM
URL: http://127.0.0.1/xxxxxx/insert_bug.aspx?bugid=152
Exception: System.Web.HttpRequestValidationException (0x80004005): A potentially dangerous Request.Form value was detected from the client (from="...sdfsdfsdffsd...").
at System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection)
at System.Web.HttpRequest.ValidateHttpValueCollection(HttpValueCollection collection, RequestValidationSource requestCollection)
at System.Web.HttpRequest.get_Form()
at System.Web.HttpRequest.get_HasForm()
at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull)
at System.Web.UI.Page.DeterminePostBackMode()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.insert_bug_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\gdfgdfgdfgdf\44f18556\8a4416ec\App_Web_eg20ilsk.23.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) ALL_HTTP=HTTP_CONNECTION:Keep-Alive
HTTP_CONTENT_LENGTH:8351
HTTP_CONTENT_TYPE:application/x-www-form-urlencoded
HTTP_EXPECT:100-continue
HTTP_HOST:127.0.0.1
I redacted the information for privacy those are not the folder paths
Thank you for reading and any advice would be greatly appreciated
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That is great thank you. It wasn't anything that I could have obviously fixed. I have been testing and retrying settings for 4 days now. Maybe I can figure something else out.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am using Windows Server 2019 with all the current updates. It does not have .net Framework 5.0 installed. I trying to move to this new server. I cannot get the btnet service to work.
If I got to the site https://myhost/mysite&username=UN&password=x&bugid=1234&comment=TestMessage
I am successful and no problem.
The btnet console and service get a 500 error.
The SQL string connection is working the username and password works just like it should, works on the old server.
Maybe it has something to do with this but I do not know how to fix it.
I cannot see anything in my logs that says Why it having the 500 error
I get an emailed error message
I redacted the information for privacy those are not the folder paths
Thank you for reading and any advice would be greatly appreciated
This is just from googling the error message:
https://stackoverflow.com/questions/81991/a-potentially-dangerous-request-form-value-was-detected-from-the-client
Sorry, I'm not planning on investigating or fixing this.
That is great thank you. It wasn't anything that I could have obviously fixed. I have been testing and retrying settings for 4 days now. Maybe I can figure something else out.
Your message lead me down a resolution and it is working. Thank you again.