I tried to install IIS and then changed the port to 8083. And then I copied all the asp files to the C:\Inetpub\wwwroot\ folder.
And then I tried http://192.168.1.3:8083/ in the brower and I get a windows password box, asking me user id and password, when I enter my windows id and password, it take me to a page saying under contruction.
I am really confused at this point. I was using the red book by wrox beginning ASP.NET 2.0
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
Thank you! for your solution, I figured it out yesterday somehow, the same thing u mentioned above. I created a virtual directory and then tested some html files,
and those files run smoothly.
But now I am stuck with the real problem, maybe I changed settings or something last night when I try to run the .aspx files I get a serious error in th browser:
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.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.
The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see
http://support.microsoft.com/?kbid=267904.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
What does the above error mean? Since I am new to ASP.NET, I migrated from JSP 2.0, so I am having trouble, I'd be glad if u can take a look at my error one more time and help me out.
Now when I created new virtual directories. And try to access them from my browser, I am getting a password dialog box.
This is something new I am seeing. And I tried entering my win-xp account user and password but it doesn't work, so I removed password from my account from the control panel and still the same thing.
Now when I created new virtual directories. And try to access them from my browser, I am getting a password dialog box.
This is something new I am seeing. And I tried entering my win-xp account user and password but it doesn't work, so I removed password from my account from the control panel and still the same thing.
If u know how to solve this then kindly reply.
thanx
Try this. Go to ISS, right click on your virtual directory and click properties. Than go to Director Security tab, click on edit I+in Anonymous Access... Enable Anonymous Access and Integrated Windows authentication.
__
Please mark post as answer if it helps, if not come back and ask again!
If you are new and are using Visual Studio 2005 the easiest way would be to create new project in IIS directly. Go to File > New > Web Site... Click on browse, than on Local IIS in the left, than Create new web application in upper right part of window.
Enter name, click open and test it.
__
Please mark post as answer if it helps, if not come back and ask again!
canadafast
None
0 Points
9 Posts
Deploying Issue
Feb 05, 2007 04:57 AM|LINK
Hi! Ranganh,
I am having trouble running the asp site. I am using VS2005. I had installed IIS on my win xp pro sp2.
I am able to run the website through VS2005 and when it opens on the browser, the address is http://localhost:2948/website/dafault.aspx
What I want is that my PC is connected to the router and the router assigns my pc an ip address:192.168.1.3
and When I try to run the same website by typing:
http://192.168.1.3:2948/website/dafault.aspx
The website does not open, it gives me error message that page cannot be displayed.
Kindly, help me out hear.
regards
canadafast
millet
Contributor
2308 Points
579 Posts
Re: Deploying Issue
Feb 05, 2007 07:51 AM|LINK
Hi,
Try without port number. E.g. http://192.168.1.3/website/dafault.aspx
Please mark post as answer if it helps, if not come back and ask again!
canadafast
None
0 Points
9 Posts
Re: Deploying Issue
Feb 05, 2007 05:06 PM|LINK
Thanks, but I had to change the prot to 8083, since 80, 8080 were already taken.
canadafast
None
0 Points
9 Posts
Re: Deploying Issue
Feb 05, 2007 05:13 PM|LINK
I tried to install IIS and then changed the port to 8083. And then I copied all the asp files to the C:\Inetpub\wwwroot\ folder.
And then I tried http://192.168.1.3:8083/ in the brower and I get a windows password box, asking me user id and password, when I enter my windows id and password, it take me to a page saying under contruction.
I am really confused at this point. I was using the red book by wrox beginning ASP.NET 2.0
Please help me put since I am a rookie.
canadafast
None
0 Points
9 Posts
Re: Deploying Issue
Feb 05, 2007 06:59 PM|LINK
I am running IIS to run my .aspx files
I have copied all the files to C:\Websites\Website2 folder.
my local ip is 192.168.1.3 IIS is running on port 1967
I am trying http://192.168.1.3:1967/Websites/Website2/Default.aspx
I get the error message in IE:
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
Please help me out
Thank s
millet
Contributor
2308 Points
579 Posts
Re: Deploying Issue
Feb 06, 2007 06:57 AM|LINK
I assume that you are using Windows XP Professional.
Please mark post as answer if it helps, if not come back and ask again!
canadafast
None
0 Points
9 Posts
Re: Deploying Issue
Feb 06, 2007 08:39 PM|LINK
Thank you! for your solution, I figured it out yesterday somehow, the same thing u mentioned above. I created a virtual directory and then tested some html files,
and those files run smoothly.
But now I am stuck with the real problem, maybe I changed settings or something last night when I try to run the .aspx files I get a serious error in th browser:
eg. if I run:
http://localhost/KHINAN/index1.aspx
I get the following error:
Server Error in '/KHINAN' Application.
Failed to access IIS metabase.
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.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.
The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.
Source Error:
Stack Trace:
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
What does the above error mean? Since I am new to ASP.NET, I migrated from JSP 2.0, so I am having trouble, I'd be glad if u can take a look at my error one more time and help me out.
canadafast
None
0 Points
9 Posts
Re: Deploying Issue
Feb 06, 2007 09:07 PM|LINK
Hi! again, one more question.
I am running win-xp pro sp2 .
Now when I created new virtual directories. And try to access them from my browser, I am getting a password dialog box.
This is something new I am seeing. And I tried entering my win-xp account user and password but it doesn't work, so I removed password from my account from the control panel and still the same thing.
If u know how to solve this then kindly reply.
thanx
millet
Contributor
2308 Points
579 Posts
Re: Deploying Issue
Feb 07, 2007 06:04 AM|LINK
Try this. Go to ISS, right click on your virtual directory and click properties. Than go to Director Security tab, click on edit I+in Anonymous Access... Enable Anonymous Access and Integrated Windows authentication.
Please mark post as answer if it helps, if not come back and ask again!
millet
Contributor
2308 Points
579 Posts
Re: Deploying Issue
Feb 07, 2007 06:14 AM|LINK
For server error.
If you are new and are using Visual Studio 2005 the easiest way would be to create new project in IIS directly. Go to File > New > Web Site... Click on browse, than on Local IIS in the left, than Create new web application in upper right part of window. Enter name, click open and test it.
Please mark post as answer if it helps, if not come back and ask again!