Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

ASP.NET 2.0 aspx Page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
deepak - 17 Mar 2008 13:41 GMT
Hi All,

I am working on asp.net 2. 0 Application using MS Visual Studio 2005.
When I am trying to debug the code on the server (my server name is
esealvm087), it's redirecting to http://localhost:2908/attachmenthandler
instead of http://esealvm087/attachmenthandler.

I don’t quite understand how this is a problem, since localhost is the same
as 087, but anyway....

Kindly let me know asap if i am wrong somewhere...

Thanks,
Deepak
+919886735837
Michael Nemtsev [MVP] - 17 Mar 2008 13:54 GMT
Hello deepak,

it's because you are using File System site (development server) - not IIS

But why this bother your?!
In Project options you can change the type of server and switch to IIS

---
WBR,
Michael  Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour 

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

d> Hi All,
d>
d> I am working on asp.net 2. 0 Application using MS Visual Studio 2005.
d> When I am trying to debug the code on the server (my server name is
d> esealvm087), it's redirecting to
d> http://localhost:2908/attachmenthandler instead of
d> http://esealvm087/attachmenthandler.
d>
d> I don’t quite understand how this is a problem, since localhost is
d> the same as 087, but anyway....
d>
d> Kindly let me know asap if i am wrong somewhere...
d>
d> Thanks,
d> Deepak
d> +919886735837
Eliyahu Goldin - 17 Mar 2008 13:59 GMT
http://localhost:2908/attachmenthandler is the development server that comes
out of box with VS. The other option is to run on your local IIS. You can
choose between the two in the project properties.

BTW, running on the development server is rarely a problem. In some cases
you have to use IIS, but not always at all.

Signature

Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net

> Hi All,
>
[quoted text clipped - 12 lines]
> Deepak
> +919886735837
deepak - 17 Mar 2008 14:33 GMT
Hi Micheal,

Mya you terll me how to change it from Development server to IIS as you
mentioned in your comment as i am new to VS 2005. Kinldy let me knwo step by
step.

Thanks,
Deepak

> http://localhost:2908/attachmenthandler is the development server that comes
> out of box with VS. The other option is to run on your local IIS. You can
[quoted text clipped - 19 lines]
> > Deepak
> > +919886735837
deepak - 17 Mar 2008 14:56 GMT
Hi Michael/Eliyahu,

I right clicked on the project in solctuon explorer and set prot attribute
from 2908 to 8080 and then again tried to debug it but now after pressign F5,
it is showing "Unable to launch Visual Studio's Localhost Web Server, port
'8080' is use".
Is there any way to know where this port is used and how to get it free if
it is really used.Basically, i want to run the application using

http://esealvm087/attachmenthandler
or
http://localhost/attachmenthandler

instead of

http://localhost:2908/attachmenthandler

Kinldy help me ....i m really stuck here currently

Thanks a lot in advance,
Deepak
+919886735837

> Hi Micheal,
>
[quoted text clipped - 28 lines]
> > > Deepak
> > > +919886735837
Eliyahu Goldin - 17 Mar 2008 15:30 GMT
Check Use IIS Web Serve. Do you have IIS running?

Signature

Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net

> Hi Michael/Eliyahu,
>
[quoted text clipped - 58 lines]
>> > > Deepak
>> > > +919886735837
deepak - 17 Mar 2008 16:54 GMT
where is this check.... Yes, IIS is running....but where is that
check...?Also i right click on project prperties and set default pott=8080
and now i got that can not debug the application as this port is busy ...
Kinldy let me know step by stpe if possible....

Thanks,
Deepak

> Check Use IIS Web Serve. Do you have IIS running?
>
[quoted text clipped - 60 lines]
> >> > > Deepak
> >> > > +919886735837

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.