ASP.NET Login controls

OH! I misunderstood it for a work project, and by the sounds of it this is a tertiary (secondary?) education project. Am I right in assuming that?

Yeah it's nothing major but IMO quite epic for a first time website, the reasone I asked for someone to review it was to learn the right way early. I won't say it's the worst website ever created but its not the best. Like if heard a few times here it's better to catch the mistakes early on to save you some trouble later.

I would completely understand if you don't want to review a first time website as I understand just about everyone is at a different level to the one I'm at. Just hoped someone would be able to point out the bad habits as I realize the are most probably lots. The reseason for the request is for other people to focus ont the coding side and improve my code there with their advise.

Thanks anyway, and I understand completely if you don't want to look at it as it might be some work and I'm wouldnt be interested in looking at a project that is really simple compared to what I do now
 
Yeah it's nothing major but IMO quite epic for a first time website, the reasone I asked for someone to review it was to learn the right way early. I won't say it's the worst website ever created but its not the best. Like if heard a few times here it's better to catch the mistakes early on to save you some trouble later.

I would completely understand if you don't want to review a first time website as I understand just about everyone is at a different level to the one I'm at. Just hoped someone would be able to point out the bad habits as I realize the are most probably lots. The reseason for the request is for other people to focus ont the coding side and improve my code there with their advise.

Thanks anyway, and I understand completely if you don't want to look at it as it might be some work and I'm wouldnt be interested in looking at a project that is really simple compared to what I do now

I say post it... you'll be surprised how many ppl (at least 1) will take a quick squiz and point out a few things. We might all point out different things.
 
I say post it... you'll be surprised how many ppl (at least 1) will take a quick squiz and point out a few things. We might all point out different things.

I second that. You should always be bold.

People will flame, but as I learnt, you need to take it constructively. As for the rest, it is always good to have peoples opinions.

I created http://www.pmelectrical.co.za - Also not the best, but I'm improving it even now.

If you need a quick webhost, I can create <whatever>.pmelectrical.co.za for you to have a test, ad-free host.

Supports all versions of asp.net etc.
 
I second that. You should always be bold.

People will flame, but as I learnt, you need to take it constructively. As for the rest, it is always good to have peoples opinions.

I created http://www.pmelectrical.co.za - Also not the best, but I'm improving it even now.

If you need a quick webhost, I can create <whatever>.pmelectrical.co.za for you to have a test, ad-free host.

Supports all versions of asp.net etc.

Sweet thank you very much Nemeses,I'll publish the project today and email it to you, if you can put it up for a day that would be awesome, just want to make sure all the bugs are out.


Sent from the MyBroadband iPhone App
 
Yeah it's nothing major but IMO quite epic for a first time website, the reasone I asked for someone to review it was to learn the right way early. I won't say it's the worst website ever created but its not the best. Like if heard a few times here it's better to catch the mistakes early on to save you some trouble later.

I would completely understand if you don't want to review a first time website as I understand just about everyone is at a different level to the one I'm at. Just hoped someone would be able to point out the bad habits as I realize the are most probably lots. The reseason for the request is for other people to focus ont the coding side and improve my code there with their advise.

Thanks anyway, and I understand completely if you don't want to look at it as it might be some work and I'm wouldnt be interested in looking at a project that is really simple compared to what I do now
I never said I'm not interested in reviewing it? :confused: I actually said I would have a look at it...
 
Sweet thank you very much Nemeses,I'll publish the project today and email it to you, if you can put it up for a day that would be awesome, just want to make sure all the bugs are out.


Sent from the MyBroadband iPhone App

No problem bud. I support all local freelance causes. Hopefully I can provide you with something that could bring you 1 step closer to success.
 
I never said I'm not interested in reviewing it? :confused: I actually said I would have a look at it...
No dude it's cool, the way I see it is that everyone who will have a look at it will be doing me a huge favor, that why I mentioned that this is my first website ever.

Nemeses will be hosting it for a lil bit so everyone can take a look at it, pop me a pm if anyone wants to go through the source code.

Thanks alot Nem for helping me out! +1000k to you
 
I've uploaded my site to Nem's domain but as soon as I try and do anything that involves the db I get a 404 file/directory not found error. I think this could have something to do with my db's. I have reconfigured all of the SQL connections to use the httpcontext.current.server.mappath(db.accdb) in their connection string.

When moving the project around my pc through different directories I get no errors but as soon as I publish it to the FTP server this error pops up?

Any suggestions? Additional info I can provide?


Sent from the MyBroadband iPhone App
 
That doesn't sound like db issue to me. Are you using virtual urls and redirects (routing), by any chance? It's entirely possible that either IIS doesn't have the required bits, or your site hasn't been configured correctly.

404 means page not found - a 500/501 would be more likely if it was a db error.
 
Last edited:
That doesn't sound like db issue to me. Are you using virtual urls and redirects (routing), by any chance? It's entirely possible that either IIS doesn't have the required bits, or your site hasn't been configured correctly.

404 means page not found - a 500/501 would be more likely if it was a db error.

it seem to redirect fine between the pages that have no connection to the db's, as soon as I try to log in it stops working. I have changed the connection strings inside of the web.config to absolute paths of the db's on the server.

It doesn't say page not found though, it says content not found?

EDIT : Now getting a 500 internal server error : There is a problem with the resource you are looking for, and it cannot be displayed
 
Last edited:
i tried using the suggested method they provide online when the error pops up, didn't help much. Then loaded a simple page with a connection to a sample db with all the code inside of a giant try/catch block surrounding all the code and wrote the error to a lable. That brought up the following error :

System.InvalidOperationException: The 'Microsoft.ACE.OleDb.12.0' provider
is not registered on the local machine.

going to try and sort that out now... Will keep you posted
 
Ah, yes. That would be a bit of a show-stopper. :)


Wait, what? You using an Access database for a web app? :erm: Or even worse... <gasp> Excel?! :p
 
Last edited:
Ah, yes. That would be a bit of a show-stopper. :)


Wait, what? You using an Access database for a web app? :erm: Or even worse... <gasp> Excel?! :p

Project specifies access db needs to be used #fail! Got over trying to get it to work, the easiest way will be to recode the whole thing to where I was... Just a tad busy with exams right now.

I'm assuming general practice would be to make use of SQL for this type of application? If not all?




Sent from the MyBroadband iPhone App
 
Some kind of SQL, yes - even SQLite would be acceptable. Access does not scale well for multi-user apps, such as web applications, etc.
 
Asp.net favours MsSQL, while I still prefer MySQL.

To get MySQL to work, you need to download the MySQL reference files.
 
Asp.net favours MsSQL, while I still prefer MySQL.

To get MySQL to work, you need to download the MySQL reference files.

Figured as much... Would have preferred to create the table and relationships myself


Sent from the MyBroadband iPhone App
 
Top
Sign up to the MyBroadband newsletter
X