Thanks Mr.Booyzen, i am on track :)
self confidence+hard work=SUCCESS
Thanks Mr.Booyzen, i am on track :)
self confidence+hard work=SUCCESS
Hello, i can write code and all, but i could not frame my application or coding as per the 3 tier architecture, i just do everything under the same form, how do i frame everything to make 3 tire architecture..?
self confidence+hard work=SUCCESS
get their user id(mail id) get their secret question and answer, based on this i/p parameters get the password from the database
self confidence+hard work=SUCCESS
wont you store it in DB?
self confidence+hard work=SUCCESS
hello, thanks for the people who gave me advice and help to solve my problems. i did my application well, its working now i need to deploy my web application, i follow File->Add Project->New Project from the main menu. From the Project-->Setup and Deployment Projects-->Web Setup Project and i gave name then a File System Editor window appears i Select Web Application Folder in the left pane in this window then From the Action menu i select Project then add project output then a Output Group dialog box appears with no data in it.. what will be the problem, when i search in net the Output Group dialog box appears with some data in it. could anyone help me?
self confidence+hard work=SUCCESS
when specifying the path i give server.mappath("filename") now my problem solved... :)
self confidence+hard work=SUCCESS
actually i create a folder in my application and create a text file in that, through the coding am showing content and updating the contents to the file. now when i run this page from IIS and try to show the contents it shows the cannot find the path it takes the path from C:\windows\system32\SweetHomes\Documents\SweetHomes.txt but mine in F:\SweetHomes\Documents\SweetHomes.txt i could not find solution to change the path !!
self confidence+hard work=SUCCESS
there is no user name and password.. and i execute exec sp_grantdbaccess N'SOFTWARE\ASPNET', N'ASPNET' exec sp_addrolemember N'db_owner', N'ASPNET' this commands and now its working,
self confidence+hard work=SUCCESS
i solve this problem i execute the following query and now its working exec sp_grantdbaccess N'SOFTWARE\ASPNET', N'ASPNET' exec sp_addrolemember N'db_owner', N'ASPNET' and .... !! after successfully login am showing a page and in that am updating a content of text in to text file, now when i try to update the text content am getting as Could not find a part of the path 'C:\windows\system32\SweetHomes\Documents\SweetHomes.txt'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\windows\system32\SweetHomes\Documents\SweetHomes.txt'. Source Error: Line 43: string fname = "SweetHomes\\Documents\\SweetHomes.txt"; Line 44: string readcontent; Line 45: StreamReader Srdr = new StreamReader(fname); Line 46: readcontent = Srdr.ReadToEnd(); Line 47: Srdr.Close(); Source File: F:\SweetHomes\SweetHomes\AdminInfo.aspx.cs Line: 45
self confidence+hard work=SUCCESS
do you want all lines from that,,? i coded only as appsettings add key="MyConnection" value="Data Source=SOFTWARE;Initial Catalog=test;Integrated Security=True;" /> add/appsettings authentication mode="Windows"
self confidence+hard work=SUCCESS
previously i went to IIS tree, right-click the Default Web Site item and choose New -> Virtual Directory gave alias name,then physical directory path,and gave virtual directory access path,and finished. then i delete the virtual directory and configure again with the same process, i dont know how the things went wrong previously, now my index page is working, here am getting user name and login, when i give signin button am getting error as Server Error in '/MySweethomes' Application. Cannot open database "test" requested by the login. The login failed. Login failed for user 'SOFTWARE\ASPNET'.--------------> here my database name is 'SOFTWARE\test' Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Cannot open database "test" requested by the login. The login failed. Login failed for user 'SOFTWARE\ASPNET'. Source Error: Line 23: { Line 24: SqlConnection conn = new SqlConnection(ConnStr); Line 25: conn.Open(); Line 26: string MyQuery = "SELECT USERNAME,PASSWORD FROM LoginDB " + "WHERE USERNAME = '" + UName + "' AND PASSWORD = '" + Pass + "'"; Line 27: SqlDataAdapter Sda = new SqlDataAdapter(MyQuery, conn); Source File: F:\SweetHomes\SweetHomes\Login.cs Line: 25
self confidence+hard work=SUCCESS
hi , when i run my asp.net page from IIS, it shows the following configuration error how could to resolve..? Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. Source Error: Line 43: ASP.NET to identify an incoming user. Line 44: --> Line 45:authentication mode="Windows" Line 46:
Hello friends, i am new to asp.net, i need to read ,write(update) a text file from the asp.net page with C#, i started with system.IO and stream reader, writer i know i have to do find the path and show the details in to page, and write the content from page and save it to the file.. but couldnot move further... could you please help
self confidence+hard work=SUCCESS
[Message Deleted]
Hi Abhijit, i found that, here with my application there are two web.config files,, when framework ask to take back up ,there is a web.config file in that folder too, so only this problem, i remove that and now my site is running .. thanks man...
self confidence+hard work=SUCCESS
yeah abhijit am trying to open from 2005 only, when i built the appliaction i throws the exception i mentioned.... :(
self confidence+hard work=SUCCESS
i have a project in asp.net 2003, when i open it in 2005 am getting following error message: " IT IS AN ERROR TO USE A SECTION REGISTERED AS ALLOWDEFINITION ='MACHINETOAPPLICATION BEYOND APPLICATION LEVEL. THIS ERROR CAN BE CAUSED BY AVIRTUAL DIRECTORYNOT BEING CONFIGURES AS AN APPLICATION IN IIS" am not much aware about this kind of errors. could any one clear my doubt...
self confidence+hard work=SUCCESS
Thanks Aragon :)
self confidence+hard work=SUCCESS
hello friends, i already posted my query but still need some more assistance to clear my doubt, am having a text box to get email address and a combo box to select its category for e.g category might be as IT Dept, Mech Dept and so, at the first form am inserting these to in to a table. in another form i have only the combo box which has loaded with the category data. when i select any category i need all the emails belongs to this category should come with a .csv file.. am stuck in " how to seperate emailid's as per the category and how to bundle it and make a .csv file at run time ... ?Confused
self confidence+hard work=SUCCESS
sorry sorry i just confused... am having a text box to get email address and a combo box to select its category for e.g category might be as IT Dept, Mech Dept and so, at the first form am inserting these to in to a table. in another form i have only the combo box which has loaded with the category data. when i select any category i need all the emails belongs to this category should come with a .csv file.. am stuck in " how to seperate emailid's as per the category and how to bundle it and make a .csv file at run time ... ?:confused:
self confidence+hard work=SUCCESS