943,725 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 4735
  • ASP.NET RSS
Mar 4th, 2006
0

Deploying ASP.NET application

Expand Post »
I developed an ASP.NET web application using using Visual Studio .NET 2003. I developed it on a Windows XP Professional workstation. I need to deploy it on a Windows Server 2003. I installed the project on the Server by creating a Web Setup project. All the files are in the ...\Inetpub\wwwroot\MyApp folder on the Server. IIS 6 is running on the Server, and I added a new Virtual Directory under the Default Web Site. However when I try to access the web pages on the Windows 2003 Server, they can not be found/accessed using the link http://localhost/Gelatto/Default.aspx
Do you know what steps I missed or settings I need to configure in order to display the site on the Server?

Thanks,
Mike
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mikefitz is offline Offline
20 posts
since Mar 2006
Mar 5th, 2006
0

Re: Deploying ASP.NET application

where are you typing the url? on the win2k3 machine?
also have you checked that it is running as an asp.net app? Does it have an application pool on the IIS page? have you allowed asp.net to run under iis on the win2k3 machine?
Are there any other asp.net apps running on this server?
If you dont understand how to setup a Win2k3 machine for IIS and ASP.net let me know and i will give you the steps to take. It is quite simple
Reputation Points: 26
Solved Threads: 11
Posting Whiz in Training
f1 fan is offline Offline
275 posts
since Jan 2006
Mar 6th, 2006
0

Re: Deploying ASP.NET application

Thanks F1 Fan, I am entering the link from the Win2003 Server. I'm just trying to open the Default.aspx page from the link, and I'm not running the ASP.NET app, should I be? Can you please send me information on how to setup a Win2k3 machine for IIS and ASP.NET.

Thanks,
Mike
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mikefitz is offline Offline
20 posts
since Mar 2006
Mar 6th, 2006
0

Re: Deploying ASP.NET application

Did you enable IIS through the server management tool?
If you open IIS and expand the server, check that under web server extensions ASP.NET 1.1 is allowed.
Then on the properties for the virtual directory, make sure that on the Home Page tab the execute permissions are for Scripts only and the application pool is set to defaultapppool (you can change them later but lets get it going first)
My memory isnt too good with .net 1.1 but i think there is also a tab there saying asp.net (though it may have come along with .net 2) make sure you have your app set to use .net 1.1 on there
If these dont work then you should get some errors from the web browser and also should see some errors in the application event log and possibly the system event log too.

Let me know how you get on
Reputation Points: 26
Solved Threads: 11
Posting Whiz in Training
f1 fan is offline Offline
275 posts
since Jan 2006
Mar 6th, 2006
0

Re: Deploying ASP.NET application

F1 fan, Thanks for your help. I have the site up and running. There were two things I needed to do. 1.) Add the ASP.NET service, and configure the Virtual Directory as an application in IIS. After I did those things, the site was accessible. Thanks for your assistance.

Mike
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mikefitz is offline Offline
20 posts
since Mar 2006
Sep 13th, 2009
0

Re: Deploying ASP.NET application

Hi,

i have done the same steps & my application is also running well on the Windows 2003 server..

Except for the user who receives a hyperlink from the application in their mailbox to perform a set of operation the hyperlink received by them is pointing towards the old server from which i transferred the whole application...

Example::

Received by the user: http://old_server/application/filename.aspx/Dynamic...

Sent through the application & should be
http://new_server/application/filename.aspx/Dynamic...

Any help would be highly appreciated on this...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
aniklr is offline Offline
1 posts
since Sep 2009
Sep 13th, 2009
0

Re: Deploying ASP.NET application

Click to Expand / Collapse  Quote originally posted by aniklr ...
Hi,

i have done the same steps & my application is also running well on the Windows 2003 server..

Except for the user who receives a hyperlink from the application in their mailbox to perform a set of operation the hyperlink received by them is pointing towards the old server from which i transferred the whole application...

Example::

Received by the user: http://old_server/application/filename.aspx/Dynamic...

Sent through the application & should be
http://new_server/application/filename.aspx/Dynamic...

Any help would be highly appreciated on this...
The message in your email has the wrong base address in it. Without knowing how and where you send the email from I cannot help too much. But to send a link via an email you have to put in the full url for the user to click. Whereever you generate that url is what the problem is, you forgot to change the code to send the new server url.
Reputation Points: 26
Solved Threads: 11
Posting Whiz in Training
f1 fan is offline Offline
275 posts
since Jan 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: How do I upload code to image files in ASP.NET?
Next Thread in ASP.NET Forum Timeline: I’m facing problems with the site map please help me...





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC