I have finally solved this through the help of many valuable suggestions. The problem I was having was as a result of not granting write and read permission to ASP.net.
Otekpo Emmanuel
Posts
-
Web.config Encryption and Decryption -
Load Webpage in JS conditionHi there, As pointed by Richard Deem, there are many syntax errors. Editing your code as below should work.
function myFunction(){
var fname = document.getElementById("fname").value;if(fname > 40)
{window.location.href = "http://www.w3schools.com";
}
else {
alert("Condition xxxxx met");}
} -
submit buttonJust the same way you used to add the button control, same way you will find the Label control and add it. Or just copy this
Then from codebehind, enter this code on your submit button event.
Label1.Text = "You have successfully registered";
-
Web.config Encryption and DecryptionK. Thanks
-
Web.config Encryption and DecryptionOk thanks. Just as I stated on the original, I don't have access to command prompt on the server cos is a shared host. How about if I create it using code behind on the server, will this error persist? Once again, thanks for your help!
-
Web.config Encryption and DecryptionHi there, I want to encrypt my site web.config file for security purposes and why searching codeproject for this topic, I found this useful link https://www.codeproject.com/Tips/795135/Encrypt-ConnectionString-in-Web-Config I followed the steps and was able to encrypt the connection strings on my local system. Now, I copied the web.config file to my host server root directory. Then on loading the site, I got this error-: Parser Error Message: Failed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error message from the provider: Bad Data. Then I tried searching the net and codeproject for solution but none was found by me pointing to error why uploaded to server. Maybe am not using the right keywords! However, I came across a link that suggested I should change Or Which I did but no luck. But I believe someone here on codeproject has the solution. So my question is, how can I make this to work after uploading to server? Note: Am using shared hosting for now so I don't have admin rights to do anything on the server. Thanks in advance!
-
MS SQL Database BreachOk. Thanks
-
MS SQL Database BreachThanks for your help so far and sorry for disturbing you. Will it be possible for attacker to select all table names from my database without having idea of the database name or anything related using the browser address bar or any input field of my site? If yes, how can I prevent this? And, since some of the attacks might be triggered from the broswer address bar by manipulating my site url. My question is, can a routed url i.e www.mysite.com/user/0683 be manipulated? If yes, how do I prevent this?
-
MS SQL Database BreachThanks Sir! You have always been helpful. I have already changed the database password
-
MS SQL Database BreachWow, thanks! I know I can count on you guys from codeproject. I will take action right away
-
MS SQL Database BreachHi there, Please am currently having serious issue since my site database is at risk. Someone somehow or one way get access to my database and I don't know how he/she managed to do it. Of recent I discovered various comments on post and the clients now reported to me. When I really checked, I see that is true. The hacker have access to all registered users password and username. So what can I do please to avoid this?
-
Generating unique user IDOk thanks. But is the method am using a good technique?
-
Generating unique user IDGood evening everyone, I want to know the best way to generate unique user ID even when number of registered users are more than two million. The current way am using to achieve this is by initiating an ID i.e 2083928937 for instance, then checking Database if this ID exists. If it does, then I will increment it by 1 then make a search again for the incremented value until no match is found and the unfound ID will be used. But am having the feeling that this will cause database issue or even slow down the site as the code have to iterate several times when the site start to have more users. So, please what is the best way to achieve this?
-
Display image and textI have finally gotten the solution. Let me add this should in case anyone else needs it. The trick was to set the image src to the site domain name, the image folder, and the extension

That's it -
Display image and textGood evening everyone!!! Sorry, I don't know the right keywords to search neither do I have idea on how to go about this. Please, I designed a blogging site and everything is working fine when only text is been posted. Now, I want to add the functionality where someone can post both text and image. For instance, Making a table Step 1: Gather your woods and arrange as depicted with the following image >>>>>Image goes here>>>>> Step 2: Get the following tools as shown below >>>>>>Image goes here>>>>> Now, when I submit this post I want both image and text to be saved to database. And when I view this post, I want to see post text and images just as instructable.com does. What I have tried I tried saving text and using inline scripting as follows but didn't work Step 1: blabla Image path

But when I view this post, image never display... But I discovered that when I copied the image url, is showing the routed URL. So what is the best way to this please... Any ideas and guide will be welcome -
attendance entry in vb.net source code -
Communicating software with hardwareSorry, I don't want to use existing board. I want to build my own hardware from scratch. I can build the hardware cos I have knowledge but don't know how to communicate the hardware with software I have designed in any of the language
-
Software and hardware integrationThanks. This exactly what I want to. How can I connect the hardware to the PC for instance if am using USB port i.e how would I make the system know that the device is been plugged?
-
Software and hardware integrationTo be precise, I bought the electronics components and run the connection myself and is working fine when I switched it on. But I want to control this device via programming either in VB.net or c#. Thanks for your reply!
-
Software and hardware integrationGood day friends! I don't know the right words to use cos I have no idea of the name this could be called. Am trying to write a program in .Net language (VB or C# to be specific) that can I use to control a small car i.e when I click on start, the car should move so on and so forth. I know this is a broad question so what I want is to know the right keywords to use when searching on google, relevant links and videos if possible. In a short form, I want to build my own hardware device then control it from my own designed application. Thanks!