|
| Subject |
Author |
Status |
Date |
Re: A better .Net tutorial
|
Shirly Selkirk |
|
6/8/2008 10:14:54 PM |
Thanks !
Great Man for us. Post Comments |
|
Re: A better .Net tutorial
|
Boney Fairholm |
|
6/8/2008 10:51:57 PM |
Hi
Wow I Like really this is a good news.
Regards, Post Comments |
|
Re: A better .Net tutorial
|
Yash Patel |
|
6/8/2008 10:15:55 PM |
Hi, i loaded your tutorial, but it tells me to set 1 of the files as the start page.
Can anyone give me any help?
Post Comments |
|
Re: A better .Net tutorial
|
Yash Patel |
|
6/8/2008 10:16:32 PM |
Nevermind.. i figured it out
Post Comments |
|
Re: A better .Net tutorial
|
Nischel Kdasan Zhu |
|
6/8/2008 10:17:07 PM |
Hi Samson, It is a great for us who starts asp now. but can you try for asp.net tutorial. thanks in advance
Post Comments |
|
Re: Link
|
Samson Reid |
|
6/8/2008 10:18:53 PM |
This is a link to the ASP.NET tutorial. Post Comments |
|
Re: A better .Net tutorial
|
Lehla M’meindram |
|
6/8/2008 10:23:01 PM |
Ive send my problem to this forum 'ASP 0177 : 800401f3'
if u dont mind please read it and give me a help
thanks Post Comments |
|
Re: No questions here
|
Samson Reid |
|
6/8/2008 10:24:25 PM |
Don't post questions in this thread, unless they are related to this tutorial. Post Comments |
|
Re: A better .Net tutorial
|
Clifford Haff |
|
6/8/2008 10:25:30 PM |
I've done the following but I think I'm missing some functionallity. In fact, I'm certain I'm missing something. This might be down to my configuration of IIS but as this is the first time I've had a go at ASP.NET then I'm completely in the dark as to what to do.
This is what I've done: 1. Extracted the zip file 2. Copied all the root files from ASPTesting to C:\Inetpub\wwwroot 3. Copied the bin and images directories to C:\Inetpub\wwwroot
In IIS (I'm using Windows XP) 1. I've right clicked Default Web Site and selected properties. 2. On the Documents tab I've added Default.aspx and moved it to the top of the list 3. I've opened my browser window by entering http://localhost/
The browser window opens the Human Resource Adminstrator page with the Departments, Positions and Employees links. I've clicked the Departments link (I've tried the following with all links), then I've clicked the Add New Department link. This opens a window that has a Main Administration link and two pieces of text, Departments: and Department Name:. I'm guessing there should be some text boxes on this page that are produced via asp.net.
Before I rebuilt my PC I had the whole Visual Basic.Net suite on my PC and I'd configured IIS as above. The same symptoms were given. I've recently rebuilt my PC and just installed .NET Framework 1.1 redistributable, .NET Framework 1.1 SDK and W2K SQL developer version. I've also attempted to run some very very basic asp.net scripts but these give me one of those triangle error icons in the bottom left hand corner. When I click it states a semi-colon is missing from the script. I'm guessing the PC thinks I'm using Java Script here within the <SCRIPT></SCRIPT> tabs.
I'm really at a loss on how to configure IIS with asp.net. I've been trying for days now and I'm really struggling. This is actually connected with trying to get the demo working so I hope it's OK to post here.
One thing I can say is that the .aspx extension does not appear in the list within IIS. ie IIS, right click Default Web Site and choose properties, Home Directory tab, click the Configuration button, Mappings tab and this is the list I refer to. Is this something to do with it?
Honestly I'm really really stuck with this and do not know what to do. It's a good job I haven't got a dog as there is a big risk that I could harm an animal if my frustration builds up any more.
Seriously, any help from anyone would be so so so appreciated.
Post Comments |
|
Re: Have you created the database?
|
Samson Reid |
|
6/8/2008 10:26:51 PM |
Have you created the database, the database objects and changed the connectionstring within the application? Post Comments |
|
Re: No!
|
Clifford Haff |
|
6/8/2008 10:27:40 PM |
I haven't created any database stuff. I was looking for a readme file to tell me what to do but there isn't one. What database and table names do I need to create and what fields?
I think I'm missing something very obvious and important here and I can only apologise if I am. Please guide me and I'll have a go.
Post Comments |
|
Re: Did you read the posting carefully?
|
Samson Reid |
|
6/8/2008 10:28:36 PM |
Did you read the posting carefully? Post Comments |
|
Re: Now I do
|
Clifford Haff |
|
6/8/2008 10:30:13 PM |
Now I do and I'll work out how to do this as I'm also new to SQL. Yeah I know I'm rubbish.
Thanks for replying.
The learning curve continues!!!!!
Post Comments |
|
Re: This is what i have done
|
Clifford Haff |
|
6/8/2008 10:31:21 PM |
This is what I've done:
1. Created a new SQL server registration in Enterprise Manager
This now shows the standard databases of: Master Model MSDB Northwind Pubs tempdb
2. Opened Query analyzer 3. Opened CreateDatabase.sql 4. Clicked execute
I received the message "The commands completed successfully"
It appears that there are new tables in the master database which are: Results States dtProperties Position Employee Department I've returned to Enterprise Manager and imported the states.xls spreadsheet data into the States table. The data was actually imported into the states$ table so I deleted the states table (Empty table) and renamed the states$ table to states. I guess something went wrong along the way.
Now I need to know how to change the connection string.
Please would you tell me Where this is? I've checked the global.asax file, global.asax.resx file, default.aspx file and others but to no avail. I guess I'm not looking in the correct place. Please help.
Post Comments |
|
Re: Create a new database
|
Samson Reid |
|
6/8/2008 10:34:00 PM |
DO NOT DO IT IN THE MASTER DATABASE!!! YOU MUST CREATE A NEW DATABASE!!! Then run the script within that database.
Create a new login (instructions can be found on google) Then change the connectionstring to match the new database you created and the new username and password.
The connectionstring is found within the clsDML.vb file. Post Comments |
|
Re: I've got the text box..Thanks!
|
Clifford Haff |
|
6/8/2008 10:36:34 PM |
After many trials and tribulations I've got the text box and the submit button to appear on the ListDepartments.aspx page.
I've received an error which states Login failed for user Steve. I'm sure I can find out why this is happening in time. For the record I've changed the connection string which now includes the new login details of the user I created and I have created a new SQL database. I'm not using the MASTER DATABASE now after being well and truly told off!!!! OK, and I think this is very important, the reason I couldn't get the submit button and the text button was due to the registration of the .NET framework.
This is what I did to correct it.
Open a command window Change directory to C:\Windows\Microsoft.NET\Framework\v1.1.4322 (I'm using WindowsXP) Execute aspnet_regiis.exe –i From the command prompt execute the following (Reset web services) net stop iisadmin /y net start w3svc net start smtpsvc
After this my asp.net page worked. Phew!!!
I'm now going to continue and attempt to sort out my login problem. I'm also going to start a new thread with this fix as someone else might be struggling too. I hope this is the right thing to do!!
Post Comments |
|
Re: Create a new Login in SQL Server
|
Samson Reid |
|
6/8/2008 10:46:42 PM |
Create a new Login (User) in SQL Server, give that login (dbowner) rights on your new database, then just change the connectionstring and replace the Username and password with the username and password of the newly created login. Post Comments |
|
Well Done !!!
|
Oniel Hanley |
|
6/8/2008 10:47:01 PM |
Well Done !!! Post Comments |
|
Re: A better .Net tutorial
|
Amrutha Vinay |
|
6/8/2008 10:51:12 PM |
| Awsome! thanks for the help! Post Comments |
|
Re: A better .Net tutorial
|
Nirmal Pandey |
|
6/8/2008 10:51:40 PM |
It is fine and simple i can understand easilyy so thanku ver much
Post Comments |
|