 |
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|

May 19th, 2008, 08:38 AM
|
Friend of Wrox
|
|
Join Date: Jan 2006
Posts: 180
Thanks: 1
Thanked 1 Time in 1 Post
|
|
Apache
Can anyone tell me pls how to configure Apache web server for dotnet applications.
Thanks !!
DPK..
__________________
DPK..
|

May 19th, 2008, 03:58 PM
|
 |
Friend of Wrox
|
|
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
Not knowing which server you are running I can think of two options.
Options A (Windows Server):
1) Disable the apache service (or change its listen port)
2) Enable IIS (or change its web site port(s))
3) Install .NET with ASP.NET
Option B (Non-Windows)
1) Install Apache
2) Install Mono
Beyond that I don't know. I'm not sure what the state is of the Mono project as far as what is supported. It's something I'd like to play with myself at some point.
-Peter
compiledthoughts.com
|

May 20th, 2008, 12:28 AM
|
Friend of Wrox
|
|
Join Date: Jan 2006
Posts: 180
Thanks: 1
Thanked 1 Time in 1 Post
|
|
thanks for your reply!
pls tell me in detail how can I change IIS port number and how can I disable the Apache.
waiting for your reply...thanks agian..
DPK..
|

May 20th, 2008, 04:10 PM
|
 |
Friend of Wrox
|
|
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
Open the properties dialog of your web site node (typically named "Default Web Site" in XP) in IIS manager. Under the "Web Site" tab, click the "Advanced..." button next to the "IP Address:" drop down list. There you can edit the IP address, port and optional host header that is bound to the site.
-Peter
compiledthoughts.com
|

May 20th, 2008, 11:18 PM
|
Friend of Wrox
|
|
Join Date: Jan 2006
Posts: 180
Thanks: 1
Thanked 1 Time in 1 Post
|
|
hello friend I have tried that but dont know what was the problem that it was not connecting however I have run it by stoping the OracleHttpService but I am having antoher problem that when I run my dotnet application it is giving me error like:
================================================== ========
Server Error in '/deploysql' Application.
SELECT permission denied on object 'ITEM_DET', database 'master', schema 'dbo'.
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: SELECT permission denied on object 'ITEM_DET', database 'master', schema 'dbo'.
Source Error:
Line 63: {
Line 64: SqlDataAdapter DA = new SqlDataAdapter("select * from item_det", CON);
Line 65: DA.Fill(DS);
Line 66: GRD_ITEMDET.DataSource = DS;
Line 67: GRD_ITEMDET.DataBind();
================================================== ========
help me please!!!
thanks!!!
DPK..
|

May 21st, 2008, 09:34 AM
|
 |
Friend of Wrox
|
|
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
It sounds like you are using a very non-standard setup. I don't know anything about Oracle HTTP Service. I have never heard of running ASP.NET on Apache on Windows. There isn't much point when you can just run IIS.
-Peter
compiledthoughts.com
|

May 21st, 2008, 09:58 AM
|
Friend of Wrox
|
|
Join Date: Jan 2006
Posts: 180
Thanks: 1
Thanked 1 Time in 1 Post
|
|
now there is no issue of apache here I am running it on IIS and when I run aspdotnet application which does not has any database connection my application is running fine on IIS but if I use any database connection it is giving me error as I put above .....
I hope u get me now!!
thanks!
DPK..
|

May 21st, 2008, 11:09 AM
|
 |
Friend of Wrox
|
|
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
It would appear to me that the error message tells you everything you need to know:
"SELECT permission denied on object 'ITEM_DET', database 'master', schema 'dbo'."
It would seem that the user you are connecting with doesn't have the necessary rights to execute the query.
-Peter
compiledthoughts.com
|

May 21st, 2008, 11:14 AM
|
Friend of Wrox
|
|
Join Date: Jan 2006
Posts: 180
Thanks: 1
Thanked 1 Time in 1 Post
|
|
ya I know that but how to give rights to the users?
DPK..
|

May 21st, 2008, 11:33 AM
|
 |
Friend of Wrox
|
|
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
|
Similar Threads
|
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
have problem with apache |
preetissharma |
Apache Tomcat |
1 |
November 9th, 2006 03:29 AM |
Apache Tomcat |
atul.kumar@drydentech.com |
Apache Tomcat |
3 |
April 19th, 2006 07:24 AM |
configuring apache |
Gaurab |
Classic ASP Databases |
0 |
September 28th, 2005 12:58 PM |
Apache |
javaApache |
BOOK: Professional Apache Tomcat |
0 |
September 22nd, 2004 03:53 AM |
Apache |
Chudz |
BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 |
4 |
July 10th, 2004 08:00 AM |
|
 |